Part Number Hot Search : 
MP1231A SG1501AL M15G1211 KAQW612A LE52CD F1100 2779L 62C256
Product Description
Full Text Search
 

To Download 82801GB Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  document number: 307013-003 intel ? i/o controller hub 7 (ich7) family datasheet ? for the intel ? 82801GB ich7, 82801gr ich7r, 82801gdh ich7dh, 82801GBm ich7-m, 82801ghm ich7-m dh, and 82801gu ich7-u i/o controller hubs april 2007 free datasheet http://www..net/
2 intel ? ich7 family datasheet information in this document is provided in connection with intel ? products. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by th is document. except as provided in intel's terms and conditions of sale for such products, intel assumes no liability whatsoever, and intel disclaims any express or implied warranty, relating to sale and/or use of intel products including liability or warranties relating to fitness for a par ticular purpose, merchantability, or infringement of any patent, copyright or ot her intellectual property right. intel products are not intended for use in medical, life saving, or life sustaining applications. intel may make changes to specifications and product descriptions at any time, without notice. designers must not rely on the absence or characteristics of any features or instructions marked ?reserved? or ?undefined.? int el reserves these for future definition and shall have no respon sibility whatsoever for conf licts or incompatibilities arising from future changes to them. the intel ? i/o controller hub 7 (ich7) family chipset component may contain design defects or errors known as errata which may cause the product to deviate from published specifications. current characterized errata are available on request. contact your local intel sales office or your distributor to obtain the latest specifications and be fore placing your product o rder. i 2 c is a two-wire communications bus/protocol developed by philips. smbus is a subset of the i 2 c bus/protocol and was developed by intel. implementations of the i 2 c bus/protocol may require licenses from various entities, in cluding philips electronics n.v. and north american philips corporation. alert on lan is a result of the intel-ibm advanc ed manageability alliance and a trademark of ibm. intel, intel speedstep, and the intel logo ar e trademarks or registered trademarks of intel corporation or its subsidiaries in the united states and other countries. *other names and brands may be claimed as the property of others. copyright ? 2005?2007, intel corporation free datasheet http://www..net/
intel ? ich7 family datasheet 3 contents 1 introduction .................................................................................................... ........ 39 1.1 overview ......................................................................................... ................ 42 1.2 intel ? ich7 family high-level component differences ........................................... 50 2 signal description ................................................................................................... 5 1 2.1 direct media interface (dmi) to host controller .................................................. ... 55 2.2 pci express* (desktop and mobile only) ........................................................... ... 55 2.3 platform lan connect interface (desktop and mobile only) ..................................... 56 2.4 eeprom interface (desktop and mobile only)....................................................... . 56 2.5 firmware hub interface (desktop and mobile only)................................................ 5 6 2.6 pci interface .................................................................................... ................ 57 2.7 serial ata interface (desktop and mobile only) ................................................... .. 59 2.8 ide interface .................................................................................... ................ 60 2.9 lpc interface .................................................................................... ................ 62 2.10 interrupt interface ............................................................................. ............... 62 2.11 usb interface ................................................................................... ................ 63 2.12 power management interface ...................................................................... ........ 64 2.13 processor interface............................................................................. ............... 66 2.14 smbus interface................................................................................. ............... 68 2.15 system management interface ..................................................................... ....... 68 2.16 real time clock interface ....................................................................... ............ 69 2.17 other clocks .................................................................................... ................. 69 2.18 miscellaneous signals ........................................................................... ............. 70 2.19 ac ?97/intel ? high definition audio link ............................................................... 71 2.20 serial peripheral interface (spi) (desktop an d mobile only) .................................... 72 2.21 intel ? quick resume technology (intel ? ich7dh only) ......................................... 72 2.22 general purpose i/o signals ..................................................................... .......... 72 2.23 power and ground ................................................................................ ............. 74 2.24 pin straps ...................................................................................... .................. 76 2.24.1 functional straps ............................................................................. ...... 76 2.24.2 external rtc circuitry ........................................................................ ..... 78 3 intel ? ich7 pin states ............................................................................................. 79 3.1 integrated pull-ups and pull-downs ............................................................... ...... 79 3.2 ide integrated series termination resistors...... .................................................... 80 3.3 output and i/o signals planes and states......................................................... .... 81 3.4 power planes for input signals ................................................................... ......... 90 4 intel ? ich7 and system clock domains ................................................................... 95 5 functional description ............................................................................................. 99 5.1 pci-to-pci bridge (d30:f0) ....................................................................... ......... 99 5.1.1 pci bus interface .............................................................................. ..... 99 5.1.2 pci bridge as an initiator ..................................................................... ... 99 5.1.2.1 memory reads and writes .......................................................... 99 5.1.2.2 i/o reads and writes .............................................................. 100 5.1.2.3 configuration reads and writes ................................................ 100 5.1.2.4 locked cycles......................................................................... 100 5.1.2.5 target / master aborts ............................................................. 100 5.1.2.6 secondary master latency timer............................................... 100 5.1.2.7 dual address cycle (dac) ........................................................ 100 5.1.2.8 memory and i/o decode to pci................................................. 101 5.1.3 parity error detection and generation ..................................................... 101 5.1.4 pcirst# ........................................................................................ ..... 101 free datasheet http://www..net/
4 intel ? ich7 family datasheet 5.1.5 peer cycles .................................................................................... ...... 102 5.1.6 pci-to-pci bridge model ........................................................................ 102 5.1.7 idsel to device number mapping ........................................................... 103 5.1.8 standard pci bus configuration mechanism.............................................. 103 5.2 pci express* root ports (d28:f0,f1,f2,f3,f4,f5) (desktop and mobile only) .......... 103 5.2.1 interrupt generation ........................................................................... .. 103 5.2.2 power management............................................................................... 104 5.2.2.1 s3/s4/s5 support ................................................................... 104 5.2.2.2 resuming from suspended state ............................................... 104 5.2.2.3 device initiated pm_pme message ............................................. 104 5.2.2.4 smi/sci generation................................................................. 105 5.2.3 serr# generation ............................................................................... . 105 5.2.4 hot-plug ....................................................................................... ....... 106 5.2.4.1 presence detection .................................................................. 106 5.2.4.2 message generation ................................................................ 106 5.2.4.3 attention button detection ....................................................... 107 5.2.4.4 smi/sci generation................................................................. 107 5.3 lan controller (b1:d8:f0) (desktop and mobile only) .......................................... 108 5.3.1 lan controller pci bus interface............................................................. 10 8 5.3.1.1 bus slave operation ................................................................ 109 5.3.1.2 clkrun# signal (mobile only) .................................................. 110 5.3.1.3 pci power management ........................................................... 110 5.3.1.4 pci reset signal...................................................................... 110 5.3.1.5 wake-up events...................................................................... 111 5.3.1.6 wake on lan* (preboot wake-up) ............................................. 112 5.3.2 serial eeprom interface ........................................................................ 112 5.3.3 csma/cd unit ................................................................................... ... 113 5.3.3.1 full duplex ............................................................................. 113 5.3.3.2 flow control ........................................................................... 113 5.3.3.3 vlan support ......................................................................... 113 5.3.4 media management interface ................................................................. 113 5.3.5 tco functionality .............................................................................. ... 114 5.3.5.1 advanced tco mode ................................................................ 114 5.4 alert standard format (asf) (desktop and mobile only) ....................................... 115 5.4.1 asf management solution features/capab ilities ............ .......... ........... ...... 116 5.4.2 asf hardware support .......................................................................... 1 17 5.4.2.1 intel ? 82562em/ex ................................................................. 117 5.4.2.2 eeprom (256x16, 1 mhz) ........................................................ 117 5.4.2.3 legacy sensor smbus devices .................................................. 117 5.4.2.4 remote control smbus devices ................................................. 117 5.4.2.5 asf sensor smbus devices....................................................... 117 5.4.3 asf software support ........................................................................... 118 5.5 lpc bridge (w/ system and management functions) (d31:f0) ............................... 118 5.5.1 lpc interface .................................................................................. ..... 118 5.5.1.1 lpc cycle types ...................................................................... 119 5.5.1.2 start field definition .................. .............................................. 119 5.5.1.3 cycle type / direction (cyctype + dir) ..................................... 120 5.5.1.4 size...................................................................................... 120 5.5.1.5 sync ..................................................................................... 121 5.5.1.6 sync time-out ....................................................................... 121 5.5.1.7 sync error indication .............................................................. 121 5.5.1.8 lframe# usage...................................................................... 122 5.5.1.9 i/o cycles .............................................................................. 122 5.5.1.10 bus master cycles ................................................................... 122 5.5.1.11 lpc power management ........................................................... 122 5.5.1.12 configuration and intel ? ich7 implications................................. 123 5.5.2 serr# generation ............................................................................... . 123 free datasheet http://www..net/
intel ? ich7 family datasheet 5 5.6 dma operation (d31:f0) ........................................................................... ....... 124 5.6.1 channel priority ............................................................................... .... 124 5.6.1.1 fixed priority.......................................................................... 125 5.6.1.2 rotating priority ..................................................................... 125 5.6.2 address compatibility mode .... .......... ........... ........... ............ ......... .......... 125 5.6.3 summary of dma transfer sizes ............................................................. 125 5.6.3.1 address shifting when programmed for 16-bit i/o count by words ................................................................................... 126 5.6.4 autoinitialize................................................................................. ....... 126 5.6.5 software commands............................................................................. 1 26 5.7 lpc dma (desktop and mobile only) ................................................................ .. 127 5.7.1 asserting dma requests ........................................................................ 1 27 5.7.2 abandoning dma requests .................................................................... 127 5.7.3 general flow of dma transfers ............................................................... 128 5.7.4 terminal count ................................................................................. ... 128 5.7.5 verify mode .................................................................................... ..... 128 5.7.6 dma request deassertion...................................................................... 12 9 5.7.7 sync field / ldrq# rules ..................................................................... 12 9 5.8 8254 timers (d31:f0) ............................................................................. ........ 130 5.8.1 timer programming .............................................................................. 131 5.8.2 reading from the interval timer............................................................. 132 5.8.2.1 simple read........................................................................... 132 5.8.2.2 counter latch command.......................................................... 132 5.8.2.3 read back command .............................................................. 132 5.9 8259 interrupt controllers (pic) (d31:f0) ........................................................ .. 133 5.9.1 interrupt handling ............................................................................. ... 134 5.9.1.1 generating interrupts .............................................................. 134 5.9.1.2 acknowledging interrupts ........................................................ 134 5.9.1.3 hardware/software interrupt sequence ..................................... 135 5.9.2 initialization command words (icwx) ......... ............................................ 135 5.9.2.1 icw1 .................................................................................... 135 5.9.2.2 icw2 .................................................................................... 136 5.9.2.3 icw3 .................................................................................... 136 5.9.2.4 icw4 .................................................................................... 136 5.9.3 operation command words (ocw) ......................................................... 136 5.9.4 modes of operation ............................................................................. . 136 5.9.4.1 fully nested mode................................................................... 136 5.9.4.2 special fully-nested mode........................................................ 137 5.9.4.3 automatic rotation mode (equal priority devices)........................ 137 5.9.4.4 specific rotation mode (specific priority).................................... 137 5.9.4.5 poll mode ............................................................................... 137 5.9.4.6 cascade mode ........................................................................ 138 5.9.4.7 edge and level triggered mode................................................. 138 5.9.4.8 end of interrupt (eoi) operations ............................................. 138 5.9.4.9 normal end of interrupt........................................................... 138 5.9.4.10 automatic end of interrupt mode .............................................. 138 5.9.5 masking interrupts ............................................................................. .. 139 5.9.5.1 masking on an individual interrupt request ................................ 139 5.9.5.2 special mask mode .................................................................. 139 5.9.6 steering pci interrupts ........................................................................ . 139 5.10 advanced programmable interrupt controller (apic) (d31:f0) .............................. 140 5.10.1 interrupt handling ............................................................................ .... 140 5.10.2 interrupt mapping ............................................................................. ... 140 5.10.3 pci / pci express* message-based interrupts .......................................... 141 5.10.4 front side bus interrupt delivery ........................................................... 14 1 5.10.4.1 edge-triggered operation......................................................... 142 free datasheet http://www..net/
6 intel ? ich7 family datasheet 5.10.4.2 level-triggered operation......................................................... 142 5.10.4.3 registers associated with front side bus interrupt delivery .......... 142 5.10.4.4 interrupt message format ........................................................ 142 5.11 serial interrupt (d31:f0) ....................................................................... ........... 143 5.11.1 start frame ................................................................................... ...... 143 5.11.2 data frames ................................................................................... ..... 144 5.11.3 stop frame .................................................................................... ...... 144 5.11.4 specific interrupts not supported via serirq........................................... 144 5.11.5 data frame format ............................................................................. .. 145 5.12 real time clock (d31:f0) ........................................................................ ......... 146 5.12.1 update cycles ................................................................................. ..... 146 5.12.2 interrupts .................................................................................... ........ 147 5.12.3 lockable ram ranges........................................................................... . 147 5.12.4 century rollover .............................................................................. ..... 147 5.12.5 clearing battery-backed rtc ram ........................................................... 147 5.13 processor interface (d31:f0) .................................................................... ........ 149 5.13.1 processor interface signals ................................................................... . 149 5.13.1.1 a20m# (mask a20).................................................................. 149 5.13.1.2 init# (initialization)................................................................ 150 5.13.1.3 ferr#/ignne# (numeric copr ocessor error/ ignore numeric error) .................................................................................... 150 5.13.1.4 nmi (non-maskable interrupt) .................................................. 151 5.13.1.5 stop clock request and cpu sleep (stpclk# and cpuslp#) ........ 151 5.13.1.6 cpu power good (cpupwrgood) ............................................. 151 5.13.1.7 deeper sleep (dpslp#) (mobile/ultra mobile only) ...................... 151 5.13.2 dual-processor issues (desktop only) ..................................................... 152 5.13.2.1 signal differences ................................................................... 152 5.13.2.2 power management ................................................................. 152 5.14 power management (d31:f0) ....................................................................... ..... 153 5.14.1 features ...................................................................................... ........ 153 5.14.2 intel ? ich7 and system power states ..................................................... 153 5.14.3 system power planes ........................................................................... . 156 5.14.4 smi#/sci generation ........................................................................... . 156 5.14.4.1 pci express* sci (desktop and mobile only) .............................. 159 5.14.4.2 pci express* hot-plug (desktop and mobile only) ....................... 159 5.14.5 dynamic processor clock control .............. .............................................. 159 5.14.5.1 transition rules among s0/cx and throttling states..................... 160 5.14.5.2 deferred c3/c4 (mobile/ultra mobile only) ................................. 161 5.14.5.3 popup (auto c3/c4 to c2) (mobile/ultra mobile only) .................. 161 5.14.5.4 popdown (auto c2 to c3/c4) (mobile/ultra mobile only) ............. 161 5.14.6 dynamic pci clock control (mobile/ultra mobile only)................................ 161 5.14.6.1 conditions for checking the pci clock ........................................ 162 5.14.6.2 conditions for maintaining the pci clock..................................... 162 5.14.6.3 conditions for stopping the pci cloc k ........................................ 162 5.14.6.4 conditions for re-starting the pci clock ..................................... 162 5.14.6.5 lpc devices and clkrun# (mobile and ultra mobile only) ............ 162 5.14.7 sleep states .................................................................................. ...... 163 5.14.7.1 sleep state overview............................................................... 163 5.14.7.2 initiating sleep state ............................................................... 163 5.14.7.3 exiting sleep states................................................................. 163 5.14.7.4 pci express* wake# signal and pme event message ( desktop and mobile only) ......................................................... 165 5.14.7.5 sx-g3-sx, handling power failures ............................................ 165 5.14.8 thermal management............................................................................ 166 5.14.8.1 thrm# signal......................................................................... 166 5.14.8.2 processor initiated passive cooling ............................................ 166 5.14.8.3 thrm# override software bit ................................................... 167 free datasheet http://www..net/
intel ? ich7 family datasheet 7 5.14.8.4 active cooling ........................................................................ 167 5.14.9 event input signals and their usage ....................................................... 167 5.14.9.1 pwrbtn# (power button) ........................................................ 167 5.14.9.2 ri# (ring indicator)................................................................ 168 5.14.9.3 pme# (pci power management event) ....................................... 169 5.14.9.4 sys_reset# signal ................................................................ 169 5.14.9.5 thrmtrip# signal .................................................................. 169 5.14.9.6 bm_busy# (mobile/ultra mobile only) ....................................... 170 5.14.10alt access mode .............................................................................. .... 170 5.14.10.1write only registers with read paths in alt access mode ............. 171 5.14.10.2pic reserved bits ................................................................... 173 5.14.10.3read only registers with write paths in alt access mode ............. 173 5.14.11system power supplies, planes, and signals ............................................ 173 5.14.11.1power plane control with slp_s3#, slp_s4# and slp_s5# ......... 173 5.14.11.2slp_s4# and suspend-to-ram sequencing ................................ 174 5.14.11.3pwrok signal ........................................................................ 174 5.14.11.4cpupwrgd signal .................................................................. 175 5.14.11.5vrmpwrgd signal .................................................................. 175 5.14.11.6batlow# (battery low) (mobile/ultra mobile only)..................... 175 5.14.11.7controlling leak age and power consumption during low-power states ................................................................................... 175 5.14.12clock generators............................................................................. ..... 176 5.14.12.1clock control signals from intel ? ich7 to clock synthesizer (mobile/ultra mobile only)....................................... 176 5.14.13legacy power management theory of operation ....................................... 177 5.14.13.1apm power management (desktop only) .................................... 177 5.14.13.2mobile apm power management (mob ile/ultra mobile only) ........... 177 5.15 system management (d31:f0)...................................................................... .... 178 5.15.1 theory of operation........................................................................... ... 178 5.15.1.1 detecting a system lockup ...................................................... 178 5.15.1.2 handling an intruder ............................................................... 178 5.15.1.3 detecting improper firmware hub programming ......................... 179 5.15.2 heartbeat and event reporting via smbus (desktop and mobile only) ......... 179 5.16 ide controller (d31:f1) ......................................................................... .......... 183 5.16.1 pio transfers ................................................................................. ...... 183 5.16.1.1 pio ide timing modes ............................................................. 184 5.16.1.2 iordy masking....................................................................... 184 5.16.1.3 pio 32-bit ide data port accesses ............................................ 184 5.16.1.4 pio ide data port prefetching and posting ................................. 185 5.16.2 bus master function ........................................................................... .. 185 5.16.2.1 physical region descriptor format............................................. 185 5.16.2.2 bus master ide timings ........................................................... 186 5.16.2.3 interrupts .............................................................................. 186 5.16.2.4 bus master ide operation ........................................................ 187 5.16.2.5 error conditions...................................................................... 188 5.16.3 ultra ata/100/66/33 protocol................................................................. 1 88 5.16.3.1 operation .............................................................................. 189 5.16.4 ultra ata/33/66/100 timing .................................................................. 19 0 5.16.5 ata swap bay.................................................................................. .... 190 5.16.6 smi trapping .................................................................................. ..... 190 5.17 sata host controller (d31:f2) (desktop and mobile only) .................................... 191 5.17.1 theory of operation........................................................................... ... 192 5.17.1.1 standard ata emulation .......................................................... 192 5.17.1.2 48-bit lba operation............................................................... 192 5.17.2 sata swap bay support ........................................................................ 1 93 5.17.3 intel ? matrix storage technology configuration (intel ? ich7r, ich7dh, and ich7-m dh only) ........................................................................... 193 free datasheet http://www..net/
8 intel ? ich7 family datasheet 5.17.3.1 intel ? matrix storage manager raid option rom ........................ 194 5.17.4 power management operation ................................................................ 194 5.17.4.1 power state mappings.............................................................. 194 5.17.4.2 power state transitions ............................................................ 195 5.17.4.3 smi trapping (apm) ................................................................. 196 5.17.5 sata led ...................................................................................... ...... 196 5.17.6 ahci operation (intel ? ich7r, ich7dh, and mobile only) ......................... 196 5.17.7 serial ata reference clock low power request (sataclkreq#) ................. 197 5.18 high precision event timers ..................................................................... ......... 197 5.18.1 timer accuracy................................................................................ ..... 197 5.18.2 interrupt mapping............................................................................. .... 198 5.18.3 periodic vs. non-periodic modes .............................................................. 1 98 5.18.4 enabling the timers ........................................................................... ... 199 5.18.5 interrupt levels.............................................................................. ...... 199 5.18.6 handling interrupts ........................................................................... .... 199 5.18.7 issues related to 64-bit timers with 32- bit processors .............................. 200 5.19 usb uhci host controllers (d29:f0, f1, f2, and f3) ............................................ 20 0 5.19.1 data structures in main memory ............................................................. 200 5.19.2 data transfers to/from main memory ....................................................... 200 5.19.3 data encoding and bit stuffing ............................................................... 2 00 5.19.4 bus protocol.................................................................................. ....... 200 5.19.4.1 bit ordering............................................................................ 200 5.19.4.2 sync field ............................................................................. 201 5.19.4.3 packet field formats ................................................................ 201 5.19.4.4 address fields......................................................................... 201 5.19.4.5 frame number field ................................................................ 201 5.19.4.6 data field .............................................................................. 201 5.19.4.7 cyclic redundancy check (crc) ................................................ 201 5.19.5 packet formats................................................................................ ..... 201 5.19.6 usb interrupts ................................................................................ ..... 201 5.19.6.1 transaction-based interrupts .................................................... 202 5.19.6.2 non-transaction based interrupts .............................................. 203 5.19.7 usb power management ........................................................................ 20 4 5.19.8 usb legacy keyboard operation ............................................................. 204 5.20 usb ehci host controller (d29:f7) ............................................................... ..... 207 5.20.1 ehc initialization ............................................................................ ...... 207 5.20.1.1 bios initialization ................................................................... 207 5.20.1.2 driver initialization .................................................................. 207 5.20.1.3 ehc resets............................................................................. 208 5.20.2 data structures in main memory ............................................................. 208 5.20.3 usb 2.0 enhanced host controller dma ................................................... 208 5.20.4 data encoding and bit stuffing ............................................................... 2 08 5.20.5 packet formats................................................................................ ..... 208 5.20.6 usb 2.0 interrupts and error conditions .................................................. 209 5.20.6.1 aborts on usb 2.0-initiated memory reads................................. 209 5.20.7 usb 2.0 power management .................................................................. 210 5.20.7.1 pause feature ......................................................................... 210 5.20.7.2 suspend feature ..................................................................... 210 5.20.7.3 acpi device states .................................................................. 210 5.20.7.4 acpi system states................................................................. 211 5.20.7.5 mobile/ultra mobile only considerations ..................................... 211 5.20.8 interaction with uhci host controllers..................................................... 211 5.20.8.1 port-routing logic ................................................................... 211 5.20.8.2 device connects ..................................................................... 213 5.20.8.3 device disconnects.................................................................. 213 5.20.8.4 effect of resets on port-routing logic ........................................ 214 free datasheet http://www..net/
intel ? ich7 family datasheet 9 5.20.9 usb 2.0 legacy keyboard operation ....................................................... 214 5.20.10usb 2.0 based debug port .................................................................... 2 14 5.20.10.1 theory of operation ............................................................... 215 5.21 smbus controller (d31:f3) ....................................................................... ........ 219 5.21.1 host controller............................................................................... ...... 220 5.21.1.1 command protocols ................................................................ 220 5.21.2 bus arbitration............................................................................... ...... 224 5.21.3 bus timing .................................................................................... ...... 224 5.21.3.1 clock stretching ..................................................................... 224 5.21.3.2 bus time out (intel ? ich7 as smbus master)............................. 224 5.21.4 interrupts / smi#............................................................................. .... 225 5.21.5 smbalert# ..................................................................................... ... 226 5.21.6 smbus crc generation and checking...................................................... 226 5.21.7 smbus slave interface ......................................................................... . 226 5.21.7.1 format of slave write cycle ..................................................... 227 5.21.7.2 format of read command........................................................ 229 5.21.7.3 format of host notify command ............................................... 231 5.22 ac ?97 controller (audio d30:f2, modem d30:f3) (desktop and mobile only) ......... 232 5.22.1 pci power management ........................................................................ 23 4 5.22.2 ac-link overview .............................................................................. ... 234 5.22.2.1 register access ...................................................................... 236 5.22.3 ac-link low power mode....................................................................... 2 37 5.22.3.1 external wake event ............................................................... 238 5.22.4 ac ?97 cold reset............................................................................. .... 239 5.22.5 ac ?97 warm reset............................................................................. .. 239 5.22.6 hardware assist to determine acz_sdin used per codec .......................... 239 5.23 intel ? high definition audio overview ................................................................ 240 5.23.1 intel ? high definition audio docking (mobile only) ................................... 240 5.23.1.1 dock sequence....................................................................... 240 5.23.1.2 exiting d3/crst# when docked ............................................... 241 5.23.1.3 cold boot/resume from s3 when docked .................................. 242 5.23.1.4 undock sequence ................................................................... 242 5.23.1.5 interaction between dock/undock and power management states ................................................................................... 243 5.23.1.6 relationship between az_dock_rst# and az_rst# .................. 243 5.24 intel ? active management technology (intel ? amt) (desktop and mobile only)....... 244 5.24.1 intel ? amt features ............................................................................. 244 5.24.2 intel ? amt requirements ...................................................................... 244 5.25 serial peripheral interface (spi) (desktop an d mobile only) .................................. 245 5.25.1 spi arbitration between intel ? ich7 and intel pro 82573e ....................... 245 5.25.2 flash device configurations ................................................................... 245 5.25.3 spi device compatibility re quirements ...... ................ ............ ........... ...... 246 5.25.3.1 intel ? ich7 spi based bios only configuration requirements (non-shared flash configuration) ............................................. 246 5.25.3.2 intel ? ich7 with intel ? pro 82573e with intel amt firmware configuration requirements (shared flash configuration) ............ 246 5.25.4 intel ? ich7 compatible command set .................................................... 247 5.25.4.1 required command set for inter oper ability......... .............. ........ 247 5.25.4.2 recommended standard commands.......................................... 247 5.25.4.3 multiple page write usage model ............................................... 248 5.25.5 flash protection .............................................................................. ..... 248 5.25.5.1 bios range write protection .................................................... 248 5.25.5.2 smi# based global write protection .. ........................................ 249 5.25.5.3 shared flash address range protection...................................... 249 5.26 intel ? quick resume technology (digital home only) .......................................... 249 5.26.1 visual off .................................................................................... ........ 249 free datasheet http://www..net/
10 intel ? ich7 family datasheet 5.26.2 ce-like on/off ................................................................................ ...... 249 5.26.3 intel ? quick resume technology signals (ich7dh only)............................ 250 5.26.4 power button sequence (ich7dh only) ................................................... 250 5.27 feature capability mechanism ...................... ..................................................... 251 6 register and memory mapping ............................................................................... 253 6.1 pci devices and functions ........................................................................ ........ 254 6.2 pci configuration map ............................................................................ .......... 255 6.3 i/o map.......................................................................................... ................ 255 6.3.1 fixed i/o address ranges ...................................................................... 2 55 6.3.2 variable i/o decode ranges ................................................................... 25 8 6.4 memory map ....................................................................................... ............ 259 6.4.1 boot-block update scheme .................................................................... 261 7 chipset configuration registers ............................................................................. 263 7.1 chipset configuration registers (memory space).. ................................................ 263 7.1.1 vch?virtual channel capability header re gister ........... .......... ........... ...... 265 7.1.2 vcap1?virtual channel capability #1 regist er .............. .......... ........... ...... 265 7.1.3 vcap2?virtual channel capability #2 regist er .............. .......... ........... ...... 266 7.1.4 pvc?port virtual channel control register ............................................... 266 7.1.5 pvs?port virtual channel status register ................................................ 266 7.1.6 v0cap?virtual channel 0 resource capab ility register ............ ............ ...... 267 7.1.7 v0ctl?virtual channel 0 resource control register .................................. 267 7.1.8 v0sts?virtual channel 0 resource status register................................... 268 7.1.9 v1cap?virtual channel 1 resource capab ility register ............ ............ ...... 268 7.1.10 v1ctl?virtual channel 1 resource control register .................................. 269 7.1.11 v1sts?virtual channel 1 resource status register................................... 269 7.1.12 rctcl?root complex topology capabilities list register ........................... 270 7.1.13 esd?element self description register ................................................... 270 7.1.14 uld?upstream link descriptor register .................................................. 270 7.1.15 ulba?upstream link base address register ............................................ 271 7.1.16 rp1d?root port 1 descriptor register..................................................... 271 7.1.17 rp1ba?root port 1 base address register ............................................... 271 7.1.18 rp2d?root port 2 descriptor register..................................................... 272 7.1.19 rp2ba?root port 2 base address register ............................................... 272 7.1.20 rp3d?root port 3 descriptor register..................................................... 272 7.1.21 rp3ba?root port 3 base address register ............................................... 273 7.1.22 rp4d?root port 4 descriptor register..................................................... 273 7.1.23 rp4ba?root port 4 base address register ............................................... 273 7.1.24 hdd?intel ? high definition audio descriptor regi ster............................... 274 7.1.25 hdba?intel ? high definition audio base address register ......................... 274 7.1.26 rp5d?root port 5 descriptor register..................................................... 274 7.1.27 rp5ba?root port 5 base address register ............................................... 275 7.1.28 rp6d?root port 6 descriptor register..................................................... 275 7.1.29 rp6ba?root port 6 base address register ............................................... 275 7.1.30 ilcl?internal link capabilities list regist er ........................ ........ ............. 276 7.1.31 lcap?link capabilities regist er ............. .......... ........... .......... ........... ...... 276 7.1.32 lctl?link control register .................................................................... 277 7.1.33 lsts?link status register .................................................................... 2 77 7.1.34 rpc?root port configuration register ..................................................... 278 7.1.35 rpfn?root port function number for pci express root ports (desktop and mobile only) ..................................................................... 279 7.1.36 trsr?trap status register .................................................................... 2 80 7.1.37 trcr?trapped cycle register ................................................................ 280 7.1.38 twdr?trapped write data register ........................................................ 280 7.1.39 iotrn ? i/o trap register (0-3)............................................................. 28 1 free datasheet http://www..net/
intel ? ich7 family datasheet 11 7.1.40 tctl?tco configuration register........................................................... 282 7.1.41 d31ip?device 31 interrupt pin register.................................................. 283 7.1.42 d30ip?device 30 interrupt pin register.................................................. 284 7.1.43 d29ip?device 29 interrupt pin register.................................................. 285 7.1.44 d28ip?device 28 interrupt pin register (desktop and mobile only) ............ 286 7.1.45 d27ip?device 27 interrupt pin register.................................................. 287 7.1.46 d31ir?device 31 interrupt route register.............................................. 287 7.1.47 d30ir?device 30 interrupt route register.............................................. 289 7.1.48 d29ir?device 29 interrupt route register.............................................. 290 7.1.49 d28ir?device 28 interrupt route register.............................................. 292 7.1.50 d27ir?device 27 interrupt route register.............................................. 293 7.1.51 oic?other interrupt contro l register ..................................................... 294 7.1.52 rc?rtc configuration register.............................................................. 295 7.1.53 hptc?high precision timer configuration register ................................... 295 7.1.54 gcs?general control and status register ............................................... 296 7.1.55 buc?backed up control register ........................................................... 298 7.1.56 fd?function disable register ................ ................................................ 299 7.1.57 cg?clock gating (mobile/ultra mobile only) ............................................ 301 8 lan controller registers (b1:d8:f0) (desktop and mobile only) ........................... 303 8.1 pci configuration registers (lan controller?b1 :d8:f0) ....................................... 303 8.1.1 vid?vendor identification register (lan controller?b1:d8:f0) ................. 304 8.1.2 did?device identification register (lan controller?b1:d8:f0) ................. 304 8.1.3 pcicmd?pci command register (lan controller?b1:d8:f0) .................... 305 8.1.4 pcists?pci status register (lan controller?b1:d8:f0) .......................... 306 8.1.5 rid?revision identification register (lan controller?b1:d8:f0) ............... 307 8.1.6 scc?sub class code register (lan controller?b1:d8:f0) ........................ 307 8.1.7 bcc?base-class code register (lan controller?b1:d8:f0) ...................... 307 8.1.8 cls?cache line size register (lan controller?b1:d8:f0) ........................ 308 8.1.9 pmlt?primary master latency timer register (lan controller?b1:d8:f0)... 308 8.1.10 headtyp?header type register (lan controller?b1:d8:f0) ..................... 308 8.1.11 csr_mem_base ? csr memory-mapped base address register (lan controller?b1:d8:f0)........................................... 309 8.1.12 csr_io_base ? csr i/o-mapped base address register (lan controller?b1:d8:f0) ................................................................... 309 8.1.13 svid ? subsystem vendor identification (lan controller?b1:d8:f0) ......... 309 8.1.14 sid ? subsystem identification (lan controller?b1:d8:f0)...................... 310 8.1.15 cap_ptr ? capabilities pointer (lan co ntroller?b1:d8:f0) ..... ........... ...... 310 8.1.16 int_ln ? interrupt line register (lan controller?b1:d8:f0).................... 310 8.1.17 int_pn ? interrupt pin register (lan controller?b1:d8:f0) ..................... 311 8.1.18 min_gnt ? minimum grant register (lan controller?b1:d8:f0) .............. 311 8.1.19 max_lat ? maximum latency register (lan controller?b1:d8:f0) ........... 311 8.1.20 cap_id ? capability identification re gister (lan controller?b1:d8:f0)...... 311 8.1.21 nxt_ptr ? next item pointer (lan controller?b1:d8:f0) ........................ 312 8.1.22 pm_cap ? power management capabilities (lan controller?b1:d8:f0) ...... 312 8.1.23 pmcsr ? power management control/ status register (lan controller?b1:d8:f0)............................................. 313 8.1.24 pcidata ? pci power management data register (lan controller?b1:d8:f0) ................................................................... 314 8.2 lan control / status registers (csr) (lan controller?b1:d8:f0).......................... 315 8.2.1 scb_sta?system control block status word register (lan controller?b1:d8:f0) ................................................................... 316 8.2.2 scb_cmd?system control block command word register (lan controller?b1:d8:f0)....................................................... 317 8.2.3 scb_genpnt?system control block general pointer register (lan controller?b1:d8:f0)....................................................... 319 free datasheet http://www..net/
12 intel ? ich7 family datasheet 8.2.4 port?port interface register (lan controller?b1:d8:f0) ....................... 319 8.2.5 eeprom_cntl?eeprom control register (lan controller?b1:d8:f0)......... 321 8.2.6 mdi_cntl?management data interface (mdi) control register (lan controller?b1:d8:f0) ....................................................... 322 8.2.7 rec_dma_bc?receive dma byte count register (lan controller?b1:d8:f0) ................................................................... 322 8.2.8 erec_intr?early receive interrupt register (lan controller?b1:d8:f0) ................................................................... 323 8.2.9 flow_cntl?flow control register (lan controller?b1:d8:f0) ................. 323 8.2.10 pmdr?power management driver register (lan controller?b1:d8:f0) ....... 324 8.2.11 gencntl?general control register (lan controller?b1:d8:f0)................. 325 8.2.12 gensta?general status register (lan controller?b1:d8:f0).................... 326 8.2.13 smb_pci?smb via pci register (lan controller?b1:d8:f0) ...................... 326 8.2.14 statistical counters (lan controller?b1:d8:f0) ....................................... 327 8.3 asf configuration registers (lan controller?b1:d8:f0) ....................................... 329 8.3.1 asf_rid?asf revision identification register (lan controller?b1:d8:f0) .. 330 8.3.2 smb_cntl?smbus control register (lan controller?b1:d8:f0) ................ 330 8.3.3 asf_cntl?asf control register (lan controller?b1:d8:f0) ..................... 331 8.3.4 asf_cntl_en?asf control enable register (asf controller?b1:d8:f0) ..... 332 8.3.5 enable?enable register (asf controller?b1:d8:f0) ............................... 333 8.3.6 apm?apm register (asf controller?b1:d8:f0) ........................................ 334 8.3.7 wtim_conf?watchdog timer configuration register (asf controller?b1:d8:f0) ................................................................... 334 8.3.8 heart_tim?heartbeat timer register (asf controller?b1:d8:f0)............. 335 8.3.9 retran_int?retransmission interval register (asf controller?b1:d8:f0) ................................................................... 335 8.3.10 retran_pcl?retransmission packet count limit register (asf controller?b1:d8:f0) ....................................................... 336 8.3.11 asf_wtim1?asf watchdog timer 1 register (asf controller?b1:d8:f0) ................................................................... 336 8.3.12 asf_wtim2?asf watchdog timer 2 register (asf controller?b1:d8:f0) ................................................................... 336 8.3.13 pet_seq1?pet sequence 1 register (asf controller?b1:d8:f0) ............... 337 8.3.14 pet_seq2?pet sequence 2 register (asf controller?b1:d8:f0) ............... 337 8.3.15 sta?status register (asf controller?b1:d8:f0) ..................................... 338 8.3.16 for_act?forced actions register (asf controller?b1:d8:f0)................... 339 8.3.17 rmcp_snum?rmcp sequence number register (asf controller?b1:d8:f0) ................................................................... 340 8.3.18 sp_mode?special modes register (asf controller?b1:d8:f0) .................. 340 8.3.19 inpoll_tconf?inter-poll timer configuration register (asf controller?b1:d8:f0) ................................................................... 340 8.3.20 phist_clr?poll history clear register (asf controller?b1:d8:f0) ............ 341 8.3.21 pmsk1?polling mask 1 register (asf co ntroller?b1:d8:f0) ..... ........... ...... 341 8.3.22 pmsk2?polling mask 2 register (asf co ntroller?b1:d8:f0) ..... ........... ...... 342 8.3.23 pmsk3?polling mask 3 register (asf co ntroller?b1:d8:f0) ..... ........... ...... 342 8.3.24 pmsk4?polling mask 4 register (asf co ntroller?b1:d8:f0) ..... ........... ...... 342 8.3.25 pmsk5?polling mask 5 register (asf co ntroller?b1:d8:f0) ..... ........... ...... 343 8.3.26 pmsk6?polling mask 6 register (asf co ntroller?b1:d8:f0) ..... ........... ...... 343 8.3.27 pmsk7?polling mask 7 register (asf co ntroller?b1:d8:f0) ..... ........... ...... 343 8.3.28 pmsk8?polling mask 8 register (asf co ntroller?b1:d8:f0) ..... ........... ...... 344 9 pci-to-pci bridge registers (d30:f0) .................................................................... 345 9.1 pci configuration registers (d30:f0) ............................................................. .... 345 9.1.1 vid? vendor identification register (pci-pci?d30:f0) ............................. 346 9.1.2 did? device identification register (p ci-pci?d30:f0) ............................. 346 9.1.3 pcicmd?pci command (pci-pci?d30:f0) ............................................. 346 free datasheet http://www..net/
intel ? ich7 family datasheet 13 9.1.4 psts?pci status register (pci-pci?d30:f0).......................................... 347 9.1.5 rid?revision identification register (pci-pci?d30:f0)............................ 349 9.1.6 cc?class code register (pci-pci?d30:f0) ............................................ 349 9.1.7 pmlt?primary master latency timer register (pci-pci?d30:f0) ............... 350 9.1.8 headtyp?header type register (pci-pci?d30:f0) ................................. 350 9.1.9 bnum?bus number register (pci-pci?d30:f0) ...................................... 350 9.1.10 smlt?secondary master latency timer register (pci-pci?d30:f0) ........... 351 9.1.11 iobase_limit?i/o base and limit register (pci-pci?d30:f0) ................. 351 9.1.12 secsts?secondary status register (pci-pci?d30:f0) ............................ 352 9.1.13 membase_limit?memory base and limit register (pci-pci?d30:f0)........ 353 9.1.14 pref_mem_base_limit?prefetchable memory base and limit register (pci-pci?d30:f0) ..................................................... 353 9.1.15 pmbu32?prefetchable memory base upper 32 bits register (pci-pci?d30:f0) ................................................................... 354 9.1.16 pmlu32?prefetchable memory limit upper 32 bits register (pci-pci?d30:f0) ................................................................... 354 9.1.17 capp?capability list pointer register (p ci-pci?d30:f0) ........ ............ ...... 354 9.1.18 intr?interrupt information register (pci-pci?d30:f0) ........................... 354 9.1.19 bctrl?bridge control register (pci-pci?d30:f0) ................................... 355 9.1.20 spdh?secondary pci device hiding register (pci-pci?d30:f0)................ 356 9.1.21 dtc?delayed transaction control register (pci-pci?d30:f0) ................... 357 9.1.22 bps?bridge proprietary status register (pci-pci?d30:f0) ....................... 359 9.1.23 bpc?bridge policy configuration register (pci-pci?d30:f0)..................... 360 9.1.24 svcap?subsystem vendor capability re gister (pci-pci?d30: f0)....... ....... 361 9.1.25 svid?subsystem vendor ids register (pci-pci?d30:f0) ......................... 361 10 lpc interface bridge registers (d31:f0) ............................................................... 363 10.1 pci configuration registers (lpc i/f?d31:f0) .................................................... 363 10.1.1 vid?vendor identification register (lpc i/f?d31:f0) .............................. 364 10.1.2 did?device identification register (lpc i/f?d31:f0) .............................. 364 10.1.3 pcicmd?pci command register (lpc i/f?d31:f0) ................................ 365 10.1.4 pcists?pci status register (lpc i/f?d31:f0) ....................................... 365 10.1.5 rid?revision identification register (l pc i/f?d31:f0) ............................ 366 10.1.6 pi?programming interface register (lpc i/f?d31:f0) ............................. 366 10.1.7 scc?sub class code register (lpc i/f?d31:f0) ..................................... 367 10.1.8 bcc?base class code register (lpc i/f?d31:f0).................................... 367 10.1.9 plt?primary latency timer register (lpc i/f?d31:f0) ............................ 367 10.1.10headtyp?header type register (lpc i/f?d31:f0) .................................. 367 10.1.11ss?sub system identifiers register (lpc i/f?d31:f0)............................. 368 10.1.12capp?capability list pointe r (lpc i/f?d31:f0) ............ .......... ........... ...... 368 10.1.13pmbase?acpi base address register (lpc i/f?d31:f0) .......................... 368 10.1.14acpi_cntl?acpi control register (lpc i/f ? d31:f0) ............................. 369 10.1.15gpiobase?gpio base address register (lpc i/f ? d31:f0) ..................... 369 10.1.16gc?gpio control register (lpc i/f ? d31:f0) ........................................ 370 10.1.17pirq[n]_rout?pirq[a,b,c,d] routing control register (lpc i/f?d31:f0) (desktop and mobile only) .......................................... 370 10.1.18sirq_cntl?serial irq control register (lpc i/f?d31:f0) ....................... 371 10.1.19pirq[n]_rout?pirq[e,f,g,h] routing control register (lpc i/f?d31:f0) ................................................................................ 372 10.1.20lpc_i/o_dec?i/o decode ranges register (lpc i/f?d31:f0) .................. 373 10.1.21lpc_en?lpc i/f enables register (lpc i/f?d31:f0)................................ 374 10.1.22gen1_dec?lpc i/f generic decode range 1 register (lpc i/f?d31:f0) .... 375 10.1.23gen2_dec?lpc i/f generic decode range 2register (lpc i/f?d31:f0)..... 375 10.1.24gen3_dec?lpc i/f generic decode range 3register (lpc i/f?d31:f0)..... 376 10.1.25gen4_dec?lpc i/f generic decode range 4register (lpc i/f?d31:f0)..... 376 10.1.26fwh_sel1?firmware hub select 1 register (lpc i/f?d31:f0) ................. 377 free datasheet http://www..net/
14 intel ? ich7 family datasheet 10.1.27 fwh_sel2?firmware hub select 2 register (lpc i/f?d31:f0) .................. 378 10.1.28fwh_dec_en1?firmware hub decode enable register (lpc i/f?d31:f0) .. 378 10.1.29 bios_cntl?bios control register (lpc i/f?d31:f0) .............................. 381 10.1.30fdcap?feature detection capability id (lpc i/f?d31:f0) ..... ......... .......... 382 10.1.31fdlen?feature detection capability leng th (lpc i/f?d31:f0) . ........... ...... 382 10.1.32 fdver?feature detection version (lpc i/f?d31:f0) ................................ 382 10.1.33 fdvct?feature vector register (lpc i/f?d31:f0) ................................... 383 10.1.34 rcba?root complex base address register (lpc i/f?d31:f0) .................. 384 10.2 dma i/o registers (lpc i/f?d31:f0) .............................................................. ... 385 10.2.1 dmabase_ca?dma base and current address registers (lpc i/f?d31:f0)................................................................... 386 10.2.2 dmabase_cc?dma base and current count registers (lpc i/f?d31:f0) ... 387 10.2.3 dmamem_lp?dma memory low page registers (lpc i/f?d31:f0) ............. 387 10.2.4 dmacmd?dma command register (lpc i/f?d31:f0) .............................. 388 10.2.5 dmasta?dma status register (lpc i/f?d31:f0)..................................... 388 10.2.6 dma_wrsmsk?dma write single mask register (lpc i/f?d31:f0) ............ 389 10.2.7 dmach_mode?dma channel mode register (lpc i/f?d31:f0) ................. 390 10.2.8 dma clear byte pointer register (lpc i/f?d31:f0) ................................... 391 10.2.9 dma master clear register (lpc i/f?d31:f0) .......................................... 391 10.2.10 dma_clmsk?dma clear mask register (lpc i/f?d31:f0) ........................ 391 10.2.11 dma_wrmsk?dma write all mask register (lpc i/f?d31:f0)................... 392 10.3 timer i/o registers (lpc i/f?d31:f0) ............................................................ ... 392 10.3.1 tcw?timer control word register (lpc i/f?d31:f0) ............................... 393 10.3.2 sbyte_fmt?interval timer status byte format register (lpc i/f?d31:f0) ................................................................................ 395 10.3.3 counter access ports register (lpc i/f?d31:f0) ...................................... 396 10.4 8259 interrupt controller (pic) registers (lpc i/f?d31:f0) ................................. 396 10.4.1 interrupt controller i/o map (lpc i/f?d31:f0) ........................................ 396 10.4.2 icw1?initialization command word 1 register (lpc i/f?d31:f0) .............. 397 10.4.3 icw2?initialization command word 2 register (lpc i/f?d31:f0) .............. 398 10.4.4 icw3?master controller initialization command word 3 register (lpc i/f?d31:f0) ......................................................... 398 10.4.5 icw3?slave controlle r initialization command word 3 register (lpc i/f?d31:f0) ......................................................... 399 10.4.6 icw4?initialization command word 4 register (lpc i/f?d31:f0) .............. 399 10.4.7 ocw1?operational control word 1 (interrupt mask) register (lpc i/f?d31:f0) .................................................................... 400 10.4.8 ocw2?operational control word 2 register (lpc i/f?d31:f0) .................. 400 10.4.9 ocw3?operational control word 3 register (lpc i/f?d31:f0) .................. 401 10.4.10elcr1?master controller edge/level triggered register (lpc i/f?d31:f0).. 402 10.4.11elcr2?slave controller edge/level triggered register (lpc i/f?d31:f0) ... 403 10.5 advanced programmable interrupt controller (apic)(d31:f0)................................ 404 10.5.1 apic register map (lpc i/f?d31:f0) ...................................................... 404 10.5.2 ind?index register (lpc i/f?d31:f0) ................................................... 404 10.5.3 dat?data register (lpc i/f?d31:f0) .................................................... 405 10.5.4 eoir?eoi register (lpc i/f?d31:f0) .................................................... 405 10.5.5 id?identification register (lpc i/f?d31: f0) ........................................... 406 10.5.6 ver?version register (lpc i/f?d31:f0) ................................................. 406 10.5.7 redir_tbl?redirection table (lpc i/f?d31:f0)...................................... 407 10.6 real time clock registers (lpc i/f?d31:f0)...................................................... . 409 10.6.1 i/o register address map (lpc i/f?d31:f0) ............................................ 409 10.6.2 indexed registers (lpc i/f?d31:f0) ...................................................... 410 10.6.2.1 rtc_rega?register a (lpc i/f?d31:f0) .................................. 411 10.6.2.2 rtc_regb?register b (general configuration) (lpc i/f?d31:f0). 412 10.6.2.3 rtc_regc?register c (flag regist er) (lpc i/f?d31:f0) ............. 413 free datasheet http://www..net/
intel ? ich7 family datasheet 15 10.6.2.4 rtc_regd?register d (flag register) (lpc i/f?d31:f0) ............ 414 10.7 processor interface registers (lpc i/f?d31:f0) ................................................. 4 15 10.7.1 nmi_sc?nmi status and control register (lpc i/f?d31:f0) .................... 415 10.7.2 nmi_en?nmi enable (and real time clock index) register (lpc i/f?d31:f0).................................................................... 416 10.7.3 port92?fast a20 and init register (lpc i/f?d31:f0) ............................. 416 10.7.4 coproc_err?coprocessor error register (lpc i/f?d31:f0) .................... 417 10.7.5 rst_cnt?reset control register (lpc i/f?d31:f0)................................. 417 10.8 power management registers (pm?d31:f0) ....................................................... 418 10.8.1 power management pci configuration registers (pm?d31:f0) ................... 418 10.8.1.1 gen_pmcon_1?general pm configuration 1 register (pm?d31:f0) ........................................................................ 419 10.8.1.2 gen_pmcon_2?general pm configuration 2 register (pm?d31:f0) ........................................................................ 420 10.8.1.3 gen_pmcon_3?general pm configuration 3 register (pm?d31:f0) ........................................................................ 422 10.8.1.4 cx-state_cnf?cx state configuration register (pm?d31:f0) (mobile/ultra mobile only) ................................... 424 10.8.1.5 c4-timing_cnt?c4 timing control register (pm?d31:f0) (mobile/ultra mobile only) ................................... 425 10.8.1.6 bm_break_en register (pm?d31: f0) (mobile/ultra mobile only) . 426 10.8.1.7 msc_fun?miscellaneous functionality register (pm?d31:f0)...... 427 10.8.1.8 el_sts?intel ? quick resume technology status register (pm?d31:f0) (ich7dh only)................................................... 427 10.8.1.9 el_cnt1?intel ? quick resume technology control 1 register (pm?d31:f0) (ich7dh only)................................................... 428 10.8.1.10el_cnt2?intel ? quick resume technology control 2 register (pm?d31:f0) (ich7dh only)................................................... 429 10.8.1.11gpio_rout?gpio routing control register (pm?d31:f0) .......... 429 10.8.2 apm i/o decode ................................................................................ ... 430 10.8.2.1 apm_cnt?advanced power management control port register ..... 430 10.8.2.2 apm_sts?advanced power management status port register ...... 430 10.8.3 power management i/o registers ........................................................... 431 10.8.3.1 pm1_sts?power management 1 status register ........................ 432 10.8.3.2 pm1_en?power management 1 enable register.......................... 435 10.8.3.3 pm1_cnt?power management 1 control ................................... 436 10.8.3.4 pm1_tmr?power management 1 timer register ......................... 437 10.8.3.5 proc_cnt?processor control register ...................................... 437 10.8.3.6 lv2 ? level 2 register (mobile/ultra mobile only) ....................... 439 10.8.3.7 lv3?level 3 register (mobile/ultra mobile only) ......................... 439 10.8.3.8 lv4?level 4 register (mobile/ultra mobile only) ......................... 439 10.8.3.9 pm2_cnt?power management 2 control register (mobile/ultra mobile only)........................................................ 440 10.8.3.10gpe0_sts?general purpose event 0 status register .................. 440 10.8.3.11gpe0_en?general purpose event 0 enables register .................. 444 10.8.3.12smi_en?smi control and enable register ................................. 447 10.8.3.13smi_sts?smi status register ................................................. 449 10.8.3.14alt_gp_smi_en?alternate gpi smi enable register ................... 452 10.8.3.15alt_gp_smi_sts?alternate gpi smi status register.................. 452 10.8.3.16gpe_cntl? general purpose control register ............................ 453 10.8.3.17devact_sts ? device activity status register .......................... 454 10.8.3.18ss_cnt? intel speedstep ? technology control register (mobile/ultra mobile only) ................................ 455 10.8.3.19c3_res? c3 residency register (mobile/ultra mobile only) ......... 455 10.9 system management tco registers (d31:f0) ..................................................... 456 10.9.1 tco_rld?tco timer reload and current value register........................... 456 10.9.2 tco_dat_in?tco data in register........................................................ 457 10.9.3 tco_dat_out?tco data out register ................................................... 457 free datasheet http://www..net/
16 intel ? ich7 family datasheet 10.9.4 tco1_sts?tco1 status register ........................................................... 457 10.9.5 tco2_sts?tco2 status register ........................................................... 459 10.9.6 tco1_cnt?tco1 control register .......................................................... 460 10.9.7 tco2_cnt?tco2 control register .......................................................... 461 10.9.8 tco_message1 and tco_message2 registers........................................ 461 10.9.9 tco_wdcnt?tco watchdog control register .......................................... 462 10.9.10 sw_irq_gen?software irq generation register ..................................... 462 10.9.11 tco_tmr?tco timer initial value register.............................................. 462 10.10 general purpose i/o registers (d31:f0) ......................................................... .... 463 10.10.1gpio_use_sel?gpio use select register ............................................... 464 10.10.2gp_io_sel?gpio input/output select regi ster........................................ 464 10.10.3gp_lvl?gpio level for input or output register ...................................... 465 10.10.4gpo_blink?gpo blink enable register ................................................... 465 10.10.5gpi_inv?gpio signal invert register ..................................................... 466 10.10.6gpio_use_sel2?gpio use select 2 register[63:32]................................ 466 10.10.7gp_io_sel2?gpio input/output select 2 register[63:32] ........................ 467 10.10.8gp_lvl2?gpio level for input or output 2 register[63:32]....................... 467 11 uhci controlle rs registers .................................................................................... 469 11.1 pci configuration registers (usb?d29:f0/f1/f2/f3) ........................................... 469 11.1.1 vid?vendor identification register (usb?d29:f0/f1/f2/f3) ..................... 470 11.1.2 did?device identification register (usb?d29:f0/f1/f2/f3) ..................... 470 11.1.3 pcicmd?pci command register (usb?d29:f0/f1/f2/f3) ........................ 470 11.1.4 pcists?pci status register (usb?d29:f 0/f1/f2/f3) .............................. 471 11.1.5 rid?revision identification register (usb?d29:f0/f1/f2/f3) ................... 471 11.1.6 pi?programming interface register (usb?d29:f0/f1/f2/f3) .................... 472 11.1.7 scc?sub class code register (usb?d29:f0/f1/f2/f3) ............................ 472 11.1.8 bcc?base class code register (usb?d29: f0/f1/f2/f3)........................... 472 11.1.9 mlt?master latency timer register (usb?d29:f0/f1/f2/f3) .................... 473 11.1.10headtyp?header type register (usb?d29:f0/f1/f2/f3) ......................... 473 11.1.11base?base address register (usb?d29:f 0/f1/f2/f3) ............................. 474 11.1.12svid ? subsystem vendor identification register (usb?d29:f0/f1/f2/f3) . 474 11.1.13sid ? subsystem identification register (usb?d29:f0/f1/f2/f3) ............. 474 11.1.14int_ln?interrupt line register (usb?d29:f0/f1/f2/f3).......................... 475 11.1.15int_pn?interrupt pin register (usb?d29:f0/f1/f2/f3) ........................... 475 11.1.16usb_relnum?serial bus release number register (usb?d29:f0/f1/f2/f3) ....................................................................... 475 11.1.17usb_legkey?usb legacy keyboard/mouse control register (usb?d29:f0/f1/f2/f3)........................................................... 476 11.1.18usb_res?usb resume enable register (usb?d29:f0/f1/f2/f3) .............. 478 11.1.19cwp?core well policy register (usb?d29:f0/f1/f2/f3)........................... 478 11.2 usb i/o registers ............................................................................... ............. 479 11.2.1 usbcmd?usb command register .......................................................... 480 11.2.2 usbsts?usb status register ................................................................ 483 11.2.3 usbintr?usb interrupt enable register ................................................. 484 11.2.4 frnum?frame number register ............................................................ 484 11.2.5 frbaseadd?frame list base address register ........................................ 485 11.2.6 sofmod?start of frame modify register ................................................ 486 11.2.7 portsc[0,1]?port status and control register ........................................ 487 12 sata controller registers (d31 :f2) (desktop an d mobile only) ............................. 489 12.1 pci configuration registers (sata?d31:f2)....................................................... .. 489 12.1.1 vid?vendor identification register (sata?d31:f2).................................. 491 12.1.2 did?device identification register (sata?d31:f2).................................. 491 12.1.3 pcicmd?pci command register (sata?d31:f2)...................................... 491 12.1.4 pcists ? pci status register (sata?d31:f2) .......................................... 492 free datasheet http://www..net/
intel ? ich7 family datasheet 17 12.1.5 rid?revision identification register (sata?d31:f2) ............................... 493 12.1.6 pi?programming interface register (sata?d31:f2) ................................. 493 12.1.6.1 when sub class code register (d31:f2:offset 0ah) = 01h........... 493 12.1.6.2 when sub class code register (d31:f2:offset 0ah) = 04h........... 494 12.1.6.3 when sub class code register (d31:f2:offset 0ah) = 06h........... 494 12.1.7 scc?sub class code register (sata?d31:f2) ......................................... 495 12.1.8 bcc?base class code register (sata?d31:f2sata?d31:f2) ..................... 495 12.1.9 pmlt?primary master latency timer register (sata?d31:f2).................... 495 12.1.10pcmd_bar?primary command block base address register (sata?d31:f2) ........................................................................ 496 12.1.11pcnl_bar?primary control block base address register (sata?d31:f2) .................................................................................... 496 12.1.12scmd_bar?secondary command block base address register (ide d31:f1) .......................................................................... 496 12.1.13scnl_bar?secondary control block base address register (ide d31:f1) .......................................................................... 497 12.1.14bar ? legacy bus master base address register (sata?d31:f2) ............... 497 12.1.15abar ? ahci base address register (sata?d31:f2) ................................ 497 12.1.15.1non ahci capable (intel ? ich7 feature supported components only) .................................................................. 497 12.1.15.2ahci capable (intel ? ich7r, ich7dh, and mobile only) .............. 498 12.1.16svid?subsystem vendor identification register (sata?d31:f2) ................ 498 12.1.17sid?subsystem identification register (sata?d31:f2)............................. 498 12.1.18 cap?capabilities pointer register (sata? d31:f2) ......... .......... ........... ...... 499 12.1.19int_ln?interrupt line register (sata?d31:f2)....................................... 499 12.1.20int_pn?interrupt pin register (sata?d31:f2) ........................................ 499 12.1.21ide_timp ? primary ide timing register (sata?d31:f2).......................... 499 12.1.22ide_tims ? slave ide timing register (sata?d31:f2)............................. 501 12.1.23sdma_cnt?synchronous dma control register (sata?d31:f2)................. 502 12.1.24sdma_tim?synchronous dma timing register (sata?d31:f2).................. 503 12.1.25ide_config?ide i/o configuration register (sata?d31:f2) .................... 504 12.1.26 pid?pci power management capability identification register (sata?d31:f2) ........................................................................ 506 12.1.27pc?pci power management capabilities register (sata?d31:f2) ............... 506 12.1.28pmcs?pci power management control and status register (sata?d31:f2) ........................................................................ 507 12.1.29 msici?message signaled interrupt ca pability identification (sata?d31:f2) 507 12.1.30msimc?message signaled interrupt message control (sata?d31:f2) ......... 507 12.1.31msima? message signaled interrupt message address (sata?d31:f2) ....... 508 12.1.32msimd?message signaled interrupt message data (sata?d31:f2) ............ 509 12.1.33map?address map register (sata?d31:f2)............................................. 509 12.1.34pcs?port control and status register (sata?d31:f2) .............................. 510 12.1.35sir?sata initialization register............................................................. 511 12.1.36siri?sata indexed registers index ....................................................... 512 12.1.37strd?sata indexed register data ........................................................ 512 12.1.37.1sttt1?sata indexed registers index 00h (sata tx termination test register 1) ....................................... 513 12.1.37.2stme?sata indexed registers index c1h (sata test mode enable register) ............................................. 513 12.1.37.3sttt2 ? sata indexed registers index 74h (sata tx termination test register 2) ....................................... 514 12.1.38scap0?sata capability register 0 (sata? d31:f2).......... .......... ........... .... 514 12.1.39scap1?sata capability register 1 (sata? d31:f2).......... .......... ........... .... 515 12.1.40 atc?apm trapping control register (sata?d31:f2) ................................. 516 12.1.41ats?apm trapping status register (sata?d31:f2) .................................. 516 12.1.42sp ? scratch pad register (sata?d31:f2) .............................................. 516 free datasheet http://www..net/
18 intel ? ich7 family datasheet 12.1.43bfcs?bist fis control/status register (sata?d31:f2) ............................ 517 12.1.44 bftd1?bist fis transmit data1 register (sata?d31:f2) ......................... 518 12.1.45 bftd2?bist fis transmit data2 register (sata?d31:f2) ......................... 519 12.2 bus master ide i/o registers (d31:f2)........................................................... .... 519 12.2.1 bmic[p,s]?bus master ide command regi ster (d31:f2) ........................... 520 12.2.2 bmis[p,s]?bus master ide status register (d31:f2) ................................ 521 12.2.3 bmid[p,s]?bus master ide descriptor table pointer register (d31:f2) ........ 522 12.2.4 air?ahci index register (d31:f2)......................................................... 522 12.2.5 aidr?ahci index data register (d31:f2) ............................................... 522 12.3 ahci registers (d31:f2) (intel ? ich7r, ich7dh, ich7-m, an d ich7-m dh only) .... 523 12.3.1 ahci generic host control registers (d31:f2).......................................... 524 12.3.1.1 cap?host capabilities register (d31 :f2) .......... .......... ........... .... 524 12.3.1.2 ghc?global ich7 control register (d31:f2) .............................. 526 12.3.1.3 is?interrupt status register (d31:f2) ...................................... 527 12.3.1.4 pi?ports implemented register (d31:f2)................................... 528 12.3.1.5 vs?ahci version (d31:f2) ...................................................... 528 12.3.2 port registers (d31:f2) ....................................................................... .. 529 12.3.2.1 pxclb?port [3:0] command list base address register (d31:f2) . 531 12.3.2.2 pxclbu?port [3:0] command list base address upper 32-bits register (d31:f2)......................................................... 531 12.3.2.3 pxfb?port [3:0] fis base address register (d31:f2) .................. 531 12.3.2.4 pxfbu?port [3:0] fis base address upper 32-bits register (d31:f2) ................................................................... 532 12.3.2.5 pxis?port [3:0] interrupt status register (d31:f2) .................... 532 12.3.2.6 pxie?port [3:0] interrupt enable register (d31:f2) .................... 533 12.3.2.7 pxcmd?port [3:0] command register (d31:f2) ......................... 535 12.3.2.8 pxtfd?port [3:0] task file data register (d31:f2) ..................... 538 12.3.2.9 pxsig?port [3:0] signature register (d31:f2) ........................... 538 12.3.2.10pxssts?port [3:0] serial ata status register (d31:f2)............... 539 12.3.2.11pxsctl ? port [3:0] serial ata control register (d31:f2) ............ 540 12.3.2.12pxserr?port [3:0] serial ata error register (d31:f2)................. 541 12.3.2.13pxsact?port [3:0] serial ata active (d31:f2) ........................... 542 12.3.2.14pxci?port [3:0] command issue register (d31:f2) .................... 543 13 ehci controller registers (d29:f7) ....................................................................... 545 13.1 usb ehci configuration registers (usb ehci?d29:f7) ................................................................................... ..... 545 13.1.1 vid?vendor identification register (usb ehci?d29:f7) ........................... 546 13.1.2 did?device identification register (usb ehci?d29:f7) ........................... 546 13.1.3 pcicmd?pci command register (usb ehci?d29:f7) .............................. 547 13.1.4 pcists?pci status register (usb ehci?d29:f7) .................................... 548 13.1.5 rid?revision identification register (usb ehci?d29:f7) ......................... 549 13.1.6 pi?programming interface register (usb ehci?d29:f7) .......................... 549 13.1.7 scc?sub class code register (usb ehci?d29:f7) .................................. 549 13.1.8 bcc?base class code register (usb ehci?d29:f7) ................................ 549 13.1.9 pmlt?primary master latency timer register (usb ehci?d29:f7)............. 550 13.1.10 mem_base?memory base address register (usb ehci?d29:f7)............... 550 13.1.11svid?usb ehci subsystem vendor id register (usb ehci?d29:f7) ......... 550 13.1.12 sid?usb ehci subsystem id register (usb ehci?d29:f7)...................... 551 13.1.13cap_ptr?capabilities pointer register (usb ehci?d29:f7) .... ............ ...... 551 13.1.14int_ln?interrupt line register (usb ehci?d29:f7) ............................... 551 13.1.15 int_pn?interrupt pin register (usb ehci?d29:f7) ................................. 551 13.1.16pwr_capid?pci power management capability id register (usb ehci?d29:f7)................................................................. 552 13.1.17 nxt_ptr1?next item pointer #1 register (usb ehci?d29:f7) ................. 552 13.1.18pwr_cap?power management capabilities register (usb ehci?d29:f7)............................................................................. 552 free datasheet http://www..net/
intel ? ich7 family datasheet 19 13.1.19pwr_cntl_sts?power management control/ status register (usb ehci?d29:f7) ...................................................... 553 13.1.20 debug_capid?debug port capability id register (usb ehci?d29:f7) ...... 554 13.1.21nxt_ptr2?next item pointer #2 register (usb ehci?d29:f7) ................ 554 13.1.22debug_base?debug port base offset register (usb ehci?d29:f7) ......... 554 13.1.23usb_relnum?usb release number regi ster (usb ehci?d29:f7) ............ 555 13.1.24fl_adj?frame length adjustment register (usb ehci?d29:f7) .............. 555 13.1.25pwake_cap?port wake capability regi ster (usb ehci?d29:f 7) ......... ...... 556 13.1.26leg_ext_cap?usb ehci legacy support extended capability register (usb ehci ?d29:f7)......... ................ .......... ........... .... 556 13.1.27leg_ext_cs?usb ehci legacy support extended control / status register (usb ehci?d29:f7) ......................................... 557 13.1.28special_smi?intel specific usb 2.0 smi register (usb ehci?d29:f7) ..... 559 13.1.29access_cntl?access control register (usb ehci?d29:f7) .................... 560 13.2 memory-mapped i/o registers ..................................................................... ..... 561 13.2.1 host controller capability registers .......... ............ ........... ........... ............ 561 13.2.1.1 caplength?cap ability registers length regist er........ ........... .... 561 13.2.1.2 hciversion?host controller interface version number register................................................................................. 562 13.2.1.3 hcsparams?host controller structural parameters .................... 562 13.2.1.4 hccparams?host controller capab ility parameters register........ 563 13.2.2 host controller operational registers ...................................................... 564 13.2.2.1 usb2.0_cmd?usb 2.0 command register ................................ 565 13.2.2.2 usb2.0_sts?usb 2.0 status register ...................................... 568 13.2.2.3 usb2.0_intr?usb 2.0 interrupt enable register ....................... 570 13.2.2.4 frindex?frame index register ............................................... 571 13.2.2.5 ctrldssegment?control data structure segment register ........ 572 13.2.2.6 periodiclistbase?periodic frame list base address register .... 572 13.2.2.7 asynclistaddr?current asynchronous list address register ..... 573 13.2.2.8 configflag?configure flag register ....................................... 573 13.2.2.9 portsc?port n status and control register .............................. 573 13.2.3 usb 2.0-based debug port register ........................................................ 577 13.2.3.1 cntl_sts?control/status register .. ........................................ 577 13.2.3.2 usbpid?usb pids register ..................................................... 580 13.2.3.3 databuf[7:0]?data buffer bytes[7: 0] register ......................... 581 13.2.3.4 config?configuration register ............................................... 581 14 smbus controller registers (d31:f3) .................................................................... 583 14.1 pci configuration registers (smbus?d31:f3) .................................................... 58 3 14.1.1 vid?vendor identification register (smbus?d31:f3) .............................. 583 14.1.2 did?device identification register (smbus?d31:f3) .............................. 584 14.1.3 pcicmd?pci command register (smbus?d31:f3) ................................. 584 14.1.4 pcists?pci status register (smbus?d31:f3) ....................................... 585 14.1.5 rid?revision identification register (smbus?d31:f3) ............................ 585 14.1.6 pi?programming interface register (smbus?d31:f3) ............................. 586 14.1.7 scc?sub class code register (smbus?d31:f3) ..................................... 586 14.1.8 bcc?base class code register (smbus?d31:f3).................................... 586 14.1.9 smb_base?smbus base address register (smbus?d31:f3) ................... 586 14.1.10svid ? subsystem vendor identification register (smbus?d31:f2/f4) ..... 587 14.1.11sid ? subsystem identification register (smbus?d31:f2/f4) .................. 587 14.1.12int_ln?interrupt line register (smbus?d31:f3)................................... 587 14.1.13int_pn?interrupt pin register (smbus?d31:f3) .................................... 587 14.1.14hostc?host configuration register (smbus?d31:f3)............................. 588 14.2 smbus i/o registers ............................................................................. ........... 588 14.2.1 hst_sts?host status register (smbus?d31:f3) ................................... 589 14.2.2 hst_cnt?host control register (smbus?d31:f3) .................................. 591 14.2.3 hst_cmd?host command register (smbus?d31:f3) ............................. 593 free datasheet http://www..net/
20 intel ? ich7 family datasheet 14.2.4 xmit_slva?transmit slave address register (smbus?d31:f3)................. 593 14.2.5 hst_d0?host data 0 register (smbus?d31:f3)..................................... 593 14.2.6 hst_d1?host data 1 register (smbus?d31:f3)..................................... 593 14.2.7 host_block_db?host block data byte register (smbus?d31:f3) ............ 594 14.2.8 pec?packet error check (pec) register (smbus?d31:f3) ........................ 594 14.2.9 rcv_slva?receive slave address register (smbus?d31:f3) ................... 595 14.2.10 slv_data?receive slave data register (smbus?d31:f3) ........................ 595 14.2.11aux_sts?auxiliary status register (smbus?d31:f3) .............................. 595 14.2.12aux_ctl?auxiliary control register (s mbus?d31:f3) .......... ......... .......... 596 14.2.13smlink_pin_ctl?smlink pin control register (smbus?d31:f3) .............. 596 14.2.14 smbus_pin_ctl?smbus pin control register (smbus?d31:f3) ............... 597 14.2.15 slv_sts?slave status register (smbus?d31:f3)................................... 597 14.2.16 slv_cmd?slave command register (smbus?d31:f3)............................. 598 14.2.17 notify_daddr?notify device address register (smbus?d31:f3) ............ 598 14.2.18 notify_dlow?notify data low byte register (smbus?d31:f3)............... 599 14.2.19 notify_dhigh?notify data high byte register (smbus?d31:f3) ............. 599 15 ide controller registers (d31:f1) .......................................................................... 601 15.1 pci configuration registers (ide?d31:f1) ........................................................ . 601 15.1.1 vid?vendor identification register (ide?d31:f1).................................... 602 15.1.2 did?device identification register (ide?d31:f1).................................... 602 15.1.3 pcicmd?pci command register (ide?d31:f1)....................................... 602 15.1.4 pcists ? pci status register (ide?d31:f1)........................................... 603 15.1.5 rid?revision identification register (ide?d31:f1).................................. 603 15.1.6 pi?programming interface register (ide?d31:f1)................................... 604 15.1.7 scc?sub class code register (ide?d31:f1) .......................................... 604 15.1.8 bcc?base class code register (ide?d31:f 1) ......................................... 604 15.1.9 cls?cache line size register (ide?d31:f1) .......................................... 604 15.1.10 pmlt?primary master latency timer register (ide?d31:f1) ..................... 605 15.1.11pcmd_bar?primary command block base address register (ide?d31:f1) ......................................................................... 605 15.1.12pcnl_bar?primary control block base address register (ide?d31:f1) ..... 605 15.1.13scmd_bar?secondary command block base address register (ide d31:f1) ........................................................................... 606 15.1.14scnl_bar?secondary control block base address register (ide d31:f1) ........................................................................... 606 15.1.15 bm_base ? bus master base address register (ide?d31:f1) ................... 607 15.1.16 ide_svid ? subsystem vendor identification (ide?d31:f1) ..................... 607 15.1.17ide_sid ? subsystem identification re gister (ide?d31:f1) ..................... 607 15.1.18 intr_ln?interrupt line register (ide?d31:f1) ...................................... 608 15.1.19 intr_pn?interrupt pin register (ide?d31:f1)........................................ 608 15.1.20 ide_timp ? ide primary timing register (ide?d31:f1) ........................... 608 15.1.21 ide_tims ? ide secondary timing register (ide?d31:f1) ....................... 610 15.1.22slv_idetim?slave (drive 1) ide timing register (ide?d31:f1) (desktop and mobile only) ............................................... 610 15.1.23sdma_cnt?synchronous dma control re gister (ide?d31:f1) .................. 611 15.1.24 sdma_tim?synchronous dma timing register (ide?d31:f1) ................... 611 15.1.25 ide_config?ide i/o configuration register (ide?d31:f1)...................... 612 15.1.26 atc?apm trapping control register (ide?d31:f1)................................... 614 15.1.27ats?apm trapping status register (ide ?d31:f1).................................... 614 15.2 bus master ide i/o registers (ide?d31:f1) ....................................................... 615 15.2.1 bmicp?bus master ide command register (ide?d31:f1) ........................ 615 15.2.2 bmisp?bus master ide status register (ide?d31:f1) ............................. 616 15.2.3 bmidp?bus master ide descriptor table pointer register (ide?d31:f1) ..... 617 free datasheet http://www..net/
intel ? ich7 family datasheet 21 16 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) ................. 619 16.1 ac ?97 audio pci configuration space (audio?d30:f2) ........................................ 619 16.1.1 vid?vendor identification register (audio?d30:f2) ................................ 620 16.1.2 did?device identification register (audio?d30:f2)................................. 620 16.1.3 pcicmd?pci command register (audio?d30:f2) ................................... 621 16.1.4 pcists?pci status register (audio?d30:f2) ......................................... 622 16.1.5 rid?revision identification register (audio?d30:f2) .............................. 622 16.1.6 pi?programming interface register (audio?d30:f2) ............................... 623 16.1.7 scc?sub class code register (audio?d30:f2) ....................................... 623 16.1.8 bcc?base class code register (audio?d30 :f2) ...................................... 623 16.1.9 headtyp?header type register (audio?d30:f2) .................................... 623 16.1.10nambar?native audio mixer base address register (audio?d30:f2) ......... 624 16.1.11nabmbar?native audio bus mastering base address register (audio?d30:f2) ...................................................................... 625 16.1.12mmbar?mixer base address register (audio?d30:f2) ............................. 625 16.1.13mbbar?bus master base address register (audio?d30:f2)...................... 626 16.1.14svid?subsystem vendor identification register (audio?d30:f2) .............. 626 16.1.15sid?subsystem identification register (audio?d30:f2) ........................... 627 16.1.16cap_ptr?capabilities pointer register (audio?d30:f2) ........ ......... .......... 627 16.1.17int_ln?interrupt line register (audio?d30:f2) ..................................... 627 16.1.18int_pn?interrupt pin register (audio?d30:f2) ...................................... 628 16.1.19pcid?programmable codec identificati on register (audio?d30:f2) ........... 628 16.1.20cfg?configuration register (audio?d30:f2) .......................................... 628 16.1.21 pid?pci power management capability identification register (audio?d30:f2) ...................................................................... 629 16.1.22 pc?power management capabilities regi ster (audio?d30:f2) .. ........... ...... 629 16.1.23pcs?power management control and status register (audio?d30:f2)....... 630 16.2 ac ?97 audio i/o space (d30:f2) ................................................................. ..... 631 16.2.1 x_bdbar?buffer descriptor base address register (audio?d30:f2) .......... 635 16.2.2 x_civ?current index value register (audio?d30:f2) .............................. 635 16.2.3 x_lvi?last valid index register (audio?d30:f2) .................................... 636 16.2.4 x_sr?status register (audio?d30:f2) .................................................. 636 16.2.5 x_picb?position in current buffer register (audio?d30:f2) ..................... 638 16.2.6 x_piv?prefetched index value register (audio?d30:f2) .......................... 638 16.2.7 x_cr?control register (audio?d30:f2) ................................................. 639 16.2.8 glob_cnt?global control register (audio?d30:f2)................................ 640 16.2.9 glob_sta?global status register (audio?d30:f2) ................................. 642 16.2.10cas?codec access semaphore register (audio?d30:f2) ......................... 644 16.2.11sdm?sdata_in map register (audio?d30:f2) ....................................... 645 17 ac ?97 modem controller registers (d30:f3) (des ktop and mobile only) ............... 647 17.1 ac ?97 modem pci configuration space (d30:f3) ................................................ 647 17.1.1 vid?vendor identification register (modem?d30:f3) .............................. 648 17.1.2 did?device identification register (modem?d30:f3) .............................. 648 17.1.3 pcicmd?pci command register (modem?d30:f3) ................................. 648 17.1.4 pcists?pci status register (modem?d30:f3) ....................................... 649 17.1.5 rid?revision identification register (m odem?d30:f3) ............................ 650 17.1.6 pi?programming interface register (modem?d30:f3) ............................. 650 17.1.7 scc?sub class code register (modem?d30:f3) ..................................... 650 17.1.8 bcc?base class code register (modem?d30:f3).................................... 650 17.1.9 headtyp?header type register (modem?d30:f3) .................................. 650 17.1.10mmbar?modem mixer base address register (modem?d30:f3) ................ 651 17.1.11mbar?modem base address register (modem?d30:f3)........................... 651 17.1.12svid?subsystem vendor identificati on register (modem?d30:f3) ............ 652 17.1.13sid?subsystem identification register (modem?d30:f3) ........................ 652 free datasheet http://www..net/
22 intel ? ich7 family datasheet 17.1.14cap_ptr?capabilities pointer register (modem?d30:f3)........ ............ ...... 652 17.1.15 int_ln?interrupt line register (modem?d30:f3) ................................... 653 17.1.16 int_pin?interrupt pin register (modem?d30:f3) ................................... 653 17.1.17pid?pci power management capability identification register (modem?d30:f3) .................................................................... 653 17.1.18pc?power management capabilities register (modem?d30:f3) ................. 654 17.1.19pcs?power management control and status register (modem?d30:f3) ..... 654 17.2 ac ?97 modem i/o space (d30:f3) ................................................................. ... 655 17.2.1 x_bdbar?buffer descriptor list base address register (modem?d30:f3)... 657 17.2.2 x_civ?current index value register (modem?d30:f3) ............................ 657 17.2.3 x_lvi?last valid index register (modem?d30:f3)................................... 657 17.2.4 x_sr?status register (modem?d30:f3)................................................. 658 17.2.5 x_picb?position in current buffer register (modem?d30:f3) ................... 659 17.2.6 x_piv?prefetch index value register (modem?d30:f3)............................ 659 17.2.7 x_cr?control register (modem?d30:f3) ............................................... 660 17.2.8 glob_cnt?global control register (modem?d30:f3) .............................. 661 17.2.9 glob_sta?global status register (modem?d30:f3) ............................... 662 17.2.10 cas?codec access semaphore register (modem?d30:f3) ....................... 664 18 pci express* configuration regi sters (desktop and mobile only) .......................... 665 18.1 pci express* configuration registers (pci express?d28:f0/f1/f2/f3/f4/f5) .............................................................. 665 18.1.1 vid?vendor identification register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 667 18.1.2 did?device identification register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 667 18.1.3 pcicmd?pci command register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 667 18.1.4 pcists?pci status register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 668 18.1.5 rid?revision identification register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 669 18.1.6 pi?programming interface register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 669 18.1.7 scc?sub class code register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 669 18.1.8 bcc?base class code register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 670 18.1.9 cls?cache line size register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 670 18.1.10plt?primary latency timer register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 670 18.1.11headtyp?header type register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 670 18.1.12bnum?bus number register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 671 18.1.13iobl?i/o base and limit register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 671 18.1.14ssts?secondary status register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 672 18.1.15mbl?memory base and limit register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 673 18.1.16pmbl?prefetchable memory base and limit register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 673 18.1.17pmbu32?prefetchable memory base upper 32 bits register (pci express?d28:f0/f1/f2/f3/f4/f5) ....................................... 674 free datasheet http://www..net/
intel ? ich7 family datasheet 23 18.1.18pmlu32?prefetchable memory limit upper 32 bits register (pci express?d28:f0/f1/f2/f3/f4/f 5) ...................................... 674 18.1.19capp?capab ilities list pointer register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 674 18.1.20intr?interrupt information register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 675 18.1.21bctrl?bridge control register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 676 18.1.22 clist?capabilit ies list register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 677 18.1.23 xcap?pci express* capabilities register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 677 18.1.24 dcap?device capabilities register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 678 18.1.25dctl?device control register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 679 18.1.26dsts?device status register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 680 18.1.27 lcap?link capabilities register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 681 18.1.28lctl?link control register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 682 18.1.29lsts?link status register (pci express?d28:f0/f1/f2/f3/f4/f5) ............ 683 18.1.30slcap?slot capabilities register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 684 18.1.31slctl?slot control register (pci express?d28:f0/f1/f2/f3/f4/f5) .......... 685 18.1.32slsts?slot status register (pci express?d28:f0/f1/f2/f3/f4/f5)........... 686 18.1.33rctl?root control register (pci ex press?d28:f0/f1/f2/f3/f4/f5)........... 687 18.1.34rsts?root status register (pci express?d28:f0/f1/f2/f3/f4/f5) ........... 687 18.1.35mid?message signaled interrupt identifiers register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 688 18.1.36mc?message signaled interrupt message control register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 688 18.1.37ma?message signaled interrupt message address register (pci express?d28:f0/f1/f2/f3/f4/f 5) ...................................... 688 18.1.38md?message signaled interrupt message data register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 689 18.1.39svcap?subsystem vendor capability register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 689 18.1.40svid?subsystem vendor identification register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 689 18.1.41pmcap?power management capability register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 689 18.1.42 pmc?pci power management capabilities register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 690 18.1.43pmcs?pci power management control and status register (pci express?d28:f0/f1/f2/f3/f4/f 5) ...................................... 690 18.1.44mpc?miscellaneous port configuration register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 691 18.1.45smscs?smi/sci status register (pci express?d28:f0/f1/f2/f3/f4/f5) ... 693 18.1.46rpdcgen - root port dynamic clock gating enable (pci express-d28:f0/f1/f2/f3/f4/f5) (mobile only)................................. 694 18.1.47ipws?intel ? pro/wireless 3945abg status (pci express?d28:f0/f1/f2/f3/f4/f5) (mobile only) ............................... 694 18.1.48 vch?virtual channel capability header register (pci express?d28:f0/f1/f2/f3/f4/f5)................................................... 695 free datasheet http://www..net/
24 intel ? ich7 family datasheet 18.1.49vcap2?virtual channel capability 2 register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 695 18.1.50pvc?port virtual channel control register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 695 18.1.51pvs ? port virtual channel status register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 696 18.1.52v0cap ? virtual channel 0 resource capability register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 696 18.1.53v0ctl ? virtual channel 0 resource control register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 697 18.1.54v0sts ? virtual channel 0 resource status register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 697 18.1.55ues ? uncorrectable error status register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 698 18.1.56uem ? uncorrectable error mask (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 699 18.1.57uev ? uncorrectable error severity q(pci express?d28:f0/f1/f2/f3/f4/f5) ................................................. 700 18.1.58ces ? correctable error status register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 701 18.1.59cem ? correctable error mask register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 701 18.1.60aecc ? advanced error capabilities and control register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 702 18.1.61res ? root error status register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 702 18.1.62rctcl ? root complex topology capability list register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 703 18.1.63esd ? element self description register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 703 18.1.64uld ? upstream link description register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 704 18.1.65ulba ? upstream link base address register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 704 18.1.66peetm ? pci express extended test mode register (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................... 704 19 intel ? high definition audio co ntroller registers (d27:f0) .................................... 705 19.1 intel ? high definition audio pci configuration space (intel ? high definition audio? d27:f0) ...................................................................................... ........ 705 19.1.1 vid?vendor identification register (intel ? high definition audio controller?d27:f0 ) ..................................... 707 19.1.2 did?device identification register (intel ? high definition audio controller?d27:f0 ) ..................................... 707 19.1.3 pcicmd?pci command register (intel ? high definition audio controller?d27:f0 ) ..................................... 708 19.1.4 pcists?pci status register (intel ? high definition audio controller?d27:f0 ) ..................................... 709 19.1.5 rid?revision identification register (intel ? high definition audio controller?d27:f0 ) ..................................... 709 19.1.6 pi?programming interface register (intel ? high definition audio controller?d27:f0 ) ..................................... 710 19.1.7 scc?sub class code register (intel ? high definition audio controller?d27:f0 ) ..................................... 710 19.1.8 bcc?base class code register (intel ? high definition audio controller?d27:f0 ) ..................................... 710 19.1.9 cls?cache line size register (intel ? high definition audio controller?d27:f0 ) ..................................... 710 free datasheet http://www..net/
intel ? ich7 family datasheet 25 19.1.10lt?latency timer register (intel ? high definition audio controller?d27:f0)..................................... 710 19.1.11headtyp?header type register (intel ? high definition audio controller?d27:f0)..................................... 711 19.1.12hdbarl?intel ? high definition audio lower base address register (intel ? high definition audio?d27:f0) ................................................... 711 19.1.13hdbaru?intel ? high definition audio upper base address register (intel ? high definition audio controller?d27:f0)..................................... 711 19.1.14svid?subsystem vendor identification register (intel ? high definition audio controller?d27:f0)..................................... 712 19.1.15sid?subsystem identification register (intel ? high definition audio controller?d27:f0)..................................... 712 19.1.16 capptr?capab ilities pointer register (audio?d30:f2 ) ................. ............ 713 19.1.17intln?interrupt line register (intel ? high definition audio controller?d27:f0)..................................... 713 19.1.18intpn?interrupt pin register (intel ? high definition audio controller?d27:f0)..................................... 713 19.1.19hdctl?intel ? high definition audio control register (intel ? high definition audio controller?d27:f0)..................................... 714 19.1.20 tcsel?traffic class select register (intel ? high definition audio controller?d27:f0)..................................... 715 19.1.21dckctl?docking control register (mobile only) (intel ? high definition audio controller?d27:f0)..................................... 715 19.1.22dcksts?docking status register (intel ? high definition audio controller?d27:f0) (mobile only) ................. 716 19.1.23 pid?pci power management capability id register (intel ? high definition audio controller?d27:f0)..................................... 716 19.1.24 pc?power management capabilities register (intel ? high definition audio controller?d27:f0)..................................... 716 19.1.25pcs?power management control and status register (intel ? high definition audio controller?d27:f0)..................................... 717 19.1.26 mid?msi capability id register (intel ? high definition audio controller?d27:f0)..................................... 718 19.1.27mmc?msi message control register (intel ? high definition audio controller?d27:f0)..................................... 718 19.1.28mmla?msi message lower address register (intel ? high definition audio controller?d27:f0)..................................... 718 19.1.29mmua?msi message upper address register (intel ? high definition audio controller?d27:f0)..................................... 718 19.1.30mmd?msi message data register (intel ? high definition audio controller?d27:f0)..................................... 719 19.1.31 pxid?pci express* capability id register (intel ? high definition audio controller?d 27:f0) (desktop and mobile only)719 19.1.32 pxc?pci express* capabilities re gister (desktop and mobile only) (intel ? high definition audio controller?d27:f0)..................................... 719 19.1.33devcap?device capabilities register (intel ? high definition audio controller?d27:f0)..................................... 720 19.1.34devc?device control register (intel ? high definition audio controller?d27:f0)..................................... 721 19.1.35devs?device status register (intel ? high definition audio controller?d27:f0)..................................... 721 19.1.36vccap?virtual channel enhanced capability header (intel ? high definition audio controller?d27:f0) (desktop and mobile only) .................................................................... 722 19.1.37pvccap1?port vc capability register 1 (intel ? high definition audio controller?d27:f0) (desktop and mobile only) .................................................................... 722 free datasheet http://www..net/
26 intel ? ich7 family datasheet 19.1.38pvccap2 ? port vc capability register 2 (intel ? high definition audio controller?d27:f0 ) ..................................... 722 19.1.39pvcctl ? port vc control register (intel ? high definition audio controller?d27:f0 ) ..................................... 723 19.1.40pvcsts?port vc status register (intel ? high definition audio controller?d27:f0 ) ..................................... 723 19.1.41vc0cap?vc0 resource capability register (intel ? high definition audio controller?d27:f0 ) ..................................... 723 19.1.42vc0ctl?vc0 resource control register (intel ? high definition audio controller?d27:f0 ) ..................................... 724 19.1.43vc0sts?vc0 resource status register (intel ? high definition audio controller?d27:f0 ) ..................................... 724 19.1.44vcicap?vci resource capability register (intel ? high definition audio controller?d27:f0 ) ..................................... 725 19.1.45vcictl?vci resource control register (intel ? high definition audio controller?d27:f0 ) ..................................... 725 19.1.46vcists?vci resource status register (intel ? high definition audio controller?d27:f0 ) ..................................... 726 19.1.47 rccap?root complex link declaration enhanced capability header register (intel ? high definition audio controller?d27:f0) (desktop and mobile only) ........................................ 726 19.1.48esd?element self description register (intel ? high definition audio controller?d27:f0 ) ..................................... 726 19.1.49 l1desc?link 1 description register (intel ? high definition audio controller?d27:f0 ) ..................................... 727 19.1.50l1addl?link 1 lower address register (intel ? high definition audio controller?d27:f0 ) ..................................... 727 19.1.51l1addu?link 1 upper address register (intel ? high definition audio controller?d27:f0 ) ..................................... 727 19.2 intel ? high definition audio memory-mapped configuration registers (intel ? high definition audio? d27:f0).............................................................. 728 19.2.1 gcap?global capabilities register (intel ? high definition audio controller?d27:f0 ) ..................................... 732 19.2.2 vmin?minor version register (intel ? high definition audio controller?d27:f0 ) ..................................... 732 19.2.3 vmaj?major version register (intel ? high definition audio controller?d27:f0 ) ..................................... 732 19.2.4 outpay?output payload capability register (intel ? high definition audio controller?d27:f0 ) ..................................... 733 19.2.5 inpay?input payload capability register (intel ? high definition audio controller?d27:f0 ) ..................................... 733 19.2.6 gctl?global control register (intel ? high definition audio controller?d27:f0 ) ..................................... 734 19.2.7 wakeen?wake enable register (intel ? high definition audio controller?d27:f0 ) ..................................... 735 19.2.8 statests?state change status register (intel ? high definition audio controller?d27:f0 ) ..................................... 735 19.2.9 gsts?global status register (intel ? high definition audio controller?d27:f0 ) ..................................... 736 19.2.10ecap?extended capabilities (intel ? high definition audio controller?d27:f0 ) ..................................... 737 19.2.11outstrmpay?output stream payload capability (intel ? high definition audio controller?d27:f0 ) ..................................... 737 19.2.12instrmpay?input stream payload capability (intel ? high definition audio controller?d27:f0 ) ..................................... 738 19.2.13intctl?interrupt control register (intel ? high definition audio controller?d27:f0 ) ..................................... 739 free datasheet http://www..net/
intel ? ich7 family datasheet 27 19.2.14intsts?interrupt status register (intel ? high definition audio controller?d27:f0)..................................... 740 19.2.15walclk?wall clock counter register (intel ? high definition audio controller?d27:f0)..................................... 741 19.2.16ssync?stream synchronization register (intel ? high definition audio controller?d27:f0)..................................... 741 19.2.17corblbase?corb lower base address register (intel ? high definition audio controller?d27:f0)..................................... 742 19.2.18corbubase?corb upper base address register (intel ? high definition audio controller?d27:f0)..................................... 742 19.2.19corbwp?corb write pointer register (intel ? high definition audio controller?d27:f0)..................................... 742 19.2.20corbrp?corb read pointer register (intel ? high definition audio controller?d27:f0)..................................... 743 19.2.21corbctl?corb control register (intel ? high definition audio controller?d27:f0)..................................... 743 19.2.22corbst?corb status register (intel ? high definition audio controller?d27:f0)..................................... 744 19.2.23corbsize?corb size register intel ? high definition audio controller?d27:f0) ...................................... 744 19.2.24rirblbase?rirb lower base address register (intel ? high definition audio controller?d27:f0)..................................... 744 19.2.25rirbubase?rirb upper base address register (intel ? high definition audio controller?d27:f0)..................................... 745 19.2.26rirbwp?rirb write pointer register (intel ? high definition audio controller?d27:f0)..................................... 745 19.2.27rintcnt?response interrupt count register (intel ? high definition audio controller?d27:f0)..................................... 746 19.2.28rirbctl?rirb control register (intel ? high definition audio controller?d27:f0)..................................... 746 19.2.29rirbsts?rirb status register (intel ? high definition audio controller?d27:f0)..................................... 747 19.2.30rirbsize?rirb size register (intel ? high definition audio controller?d27:f0)..................................... 747 19.2.31ic?immediate command register (intel ? high definition audio controller?d27:f0)..................................... 747 19.2.32ir?immediate response register (intel ? high definition audio controller?d27:f0)..................................... 748 19.2.33irs?immediate command status register (intel ? high definition audio controller?d27:f0)..................................... 748 19.2.34dplbase?dma position lower base address register (intel ? high definition audio controller?d27:f0)..................................... 749 19.2.35dpubase?dma position upper base address register (intel ? high definition audio controller?d27:f0)..................................... 749 19.2.36sdctl?stream descriptor control register (intel ? high definition audio controller?d27:f0)..................................... 750 19.2.37sdsts?stream descriptor status register (intel ? high definition audio controller?d27:f0)..................................... 752 19.2.38sdlpib?stream descriptor link position in buffer register (intel ? high definition audio controller?d27:f0) ........................ 753 19.2.39sdcbl?stream descriptor cyclic buffer length register (intel ? high definition audio controller?d27:f0)..................................... 753 19.2.40sdlvi?stream descriptor last valid index register (intel ? high definition audio controller?d27:f0)..................................... 754 19.2.41 sdfifow?stream descriptor fifo watermark register (intel ? high definition audio controller?d27:f0)..................................... 754 free datasheet http://www..net/
28 intel ? ich7 family datasheet 19.2.42sdfifos?stream descriptor fifo size register (intel ? high definition audio controller?d27:f0 ) ..................................... 755 19.2.43sdfmt?stream descriptor format register (intel ? high definition audio controller?d27:f0 ) ..................................... 756 19.2.44sdbdpl?stream descriptor buffer descriptor list pointer lower base address register (intel ? high definition audio controller?d27:f0) ............. 757 19.2.45sdbdpu?stream descriptor buffer descriptor list pointerupper base address register (intel ? high definition audio controller?d27:f0) ............. 757 20 high precision event timer registers ..................................................................... 759 20.1 memory mapped registers ......................................................................... ....... 759 20.1.1 gcap_id?general capabilities and identification register.......................... 760 20.1.2 gen_conf?general configuration register ............................................. 761 20.1.3 gintr_sta?general interrupt status regist er ......................................... 761 20.1.4 main_cnt?main counter value register ................................................. 762 20.1.5 timn_conf?timer n configuration and capa bilities register...... .......... ...... 762 20.1.6 timn_comp?timer n comparator value register ...................................... 764 21 serial peripheral interface (s pi) (desktop and mobile only) ................................. 765 21.1 serial peripheral interface memory mapped configuration registers ........................ 765 21.1.1 spis?spi status register (spi memory mapped configuration registers) .......................................................................................... .. 767 21.1.2 spic?spi control register (spi memory mapped configuration registers) .......................................................................................... .. 768 21.1.3 spia?spi address register (spi memory mapped configuration registers) .......................................................................................... .. 769 21.1.4 spid[n] ?spi data n register (spi memory mapped configuration registers) .......................................................................................... .. 769 21.1.5 bbar?bios base address register (spi memory mapped configuration registers).......................................... 770 21.1.6 preop?prefix opcode configuration register (spi memory mapped configuration registers).......................................... 770 21.1.7 optype?opcode type configuration register (spi memory mapped configuration registers).......................................... 771 21.1.8 opmenu?opcode menu configuration register (spi memory mapped configuration registers).......................................... 772 21.1.9 pbr[n]?protected bios range [n] (spi memory mapped configuration registers).......................................... 772 22 ballout definition ................................................................................................... 7 73 22.1 desktop, mobile, and digital home component ballout.......................................... 773 22.2 ultra mobile component ballout .................................................................. ....... 782 23 electrical characteristics ........................................................................................ 789 23.1 thermal specifications.......................................................................... ............ 789 23.2 absolute maximum ratings ........................................................................ ....... 789 23.3 dc characteristics .............................................................................. ............. 790 23.4 ac characteristics .............................................................................. .............. 801 23.5 timing diagrams ................................................................................. ............ 817 24 package information ............................................................................................. 835 24.1 desktop and mobile package information .......................................................... .. 835 24.2 ultra mobile package information ................................................................ ....... 837 25 testability (desktop and mobile only) .................................................................... 839 25.1 xor chain tables................................................................................ ............. 841 free datasheet http://www..net/
intel ? ich7 family datasheet 29 figures 2-1 interface signals block diagram (desktop only)................................................... ........ 52 2-2 interface signals block diagram (mobile only) ................................................... ......... 53 2-3 interface signals block diagram (ultra mobile only ) ..................................................... 54 2-4 example external rtc circuit..................................................................... ................ 78 4-1 desktop only conceptual system clock diagram ... ....................................................... 96 4-2 mobile only conceptual clock diagram............................................................. ........... 96 4-3 ultra mobile only conceptual clock diagram ....... ......................................................... 97 5-1 generation of serr# to platform .................................................................. ........... 105 5-2 64-word eeprom read instruction waveform....... ..................................................... 112 5-3 lpc interface diagram ............................................................................ ................ 118 5-4 lpc bridge serr# generation ...................................................................... ........... 123 5-5 intel ? ich7 dma controller ................................................................................ ..... 124 5-6 dma request assertion through ldrq# .............................................................. ...... 127 5-7 coprocessor error timing diagram ................................................................. .......... 151 5-8 physical region descriptor table entry........................................................... ........... 186 5-9 sata power states................................................................................ ................. 195 5-10usb legacy keyboard flow diagram................................................................ ......... 205 5-11 intel ? ich7-usb port connections .......................................................................... 212 5-12intel ? ich7-based audio codec ?97 specification, version 2.3...................................... 233 5-13ac ?97 2.3 controller-codec connection .......................................................... .......... 235 5-14ac-link protocol ................................................................................ .................... 236 5-15ac-link powerdown timing ........................................................................ ............. 237 5-16sdin wake signaling............................................................................. ................. 238 22-1 desktop and mobile component ballout (topview?left side) ....................................... 774 22-2desktop and mobile component ballout (topview?right side) ...................................... 7 75 22-3intel ? ich7-u ballout (top view, left side)............................................................... .. 782 22-4intel ? ich7-u ballout (top view, right side)............. .................................................. 783 23-1clock timing .................................................................................... ..................... 817 23-2valid delay from rising clock edge.................. ......................................................... 817 23-3setup and hold times............................................................................ ................. 817 23-4float delay ..................................................................................... ...................... 818 23-5pulse width ..................................................................................... ...................... 818 23-6output enable delay............................................................................. .................. 818 23-7ide pio mode.................................................................................... .................... 819 23-8ide multiword dma ............................................................................... ................. 819 23-9ultra ata mode (drive initiating a burst read)..... ...................................................... 820 23-10ultra ata mode (sustained burst) ............................................................... ........... 820 23-11ultra ata mode (pausing a dma burst)........................................................... ......... 821 23-12ultra ata mode (terminating a dma burst)........ ...................................................... 821 23-13usb rise and fall times ........................................................................ ................ 822 23-14usb jitter..................................................................................... ....................... 822 23-15usb eop width .................................................................................. .................. 822 23-16smbus transaction .............................................................................. ................. 823 23-17smbus timeout.................................................................................. .................. 823 23-18power sequencing and reset signal timings (desktop only) ...................................... 8 24 23-19power sequencing and reset signal timings (mobile/ultra mobile only)....................... 825 23-20g3 (mechanical off) to s0 timings (desktop only ).................................................... 826 23-21g3 (mechanical off) to s0 timings (mobile/ultra mobile only) .................................... 827 23-22s0 to s1 to s0 timing (desktop only)........................................................... .......... 827 23-23s0 to s5 to s0 timings, s3 cold (desktop only)........................................................ 828 23-24s0 to s5 to s0 timings, s3 hot (desktop only) ......................................................... 829 23-25s0 to s5 to s0 timings, s3 cold (mobile/ultra mobile only) ........................................ 830 23-26s0 to s5 to s0 timings, s3 hot (mobile/ultra mobile only).......................................... 831 free datasheet http://www..net/
30 intel ? ich7 family datasheet 23-27c0 to c2 to c0 timings (mobile/ultra mobile only) .............................................. ...... 831 23-28c0 to c3 to c0 timings (mobile/ultra mobile only) .............................................. ...... 832 23-29c0 to c4 to c0 timings (mobile/ultra mobile only) .............................................. ...... 832 23-30ac ?97 data input and output timings (desktop and mobile only)............................... 83 3 23-31intel ? high definition audio input and output timings .............................................. 833 23-32spi timings (desktop and mobile only) .......................................................... ......... 834 24-1intel ? ich7 package (top view)............................................................................ ... 835 24-2intel ? ich7 package (bottom view)......................................................................... . 836 24-3intel ? ich7 package (side view)........................................................................... ... 836 24-4intel ich7-u package drawing .................................................................... ............. 837 25-1xor chain test mode selection, entry and testing. ..................................................... 839 25-2example xor chain circuitry ............................ ....................................................... 840 tables 1-1 industry specifications .......................................................................... ....................39 1-2 pci devices and functions .............................. ...........................................................43 1-3 intel ? ich7 desktop/server family ......................................................................... ...50 1-4 intel ? ich7-m mobile and ich7-u ultra mobile components ...........................................50 2-1 direct media interface signals ................................................................... .................55 2-2 pci express* signals ............................................................................. ...................55 2-3 platform lan connect interface signals ........................................................... ............56 2-4 eeprom interface signals......................................................................... .................56 2-5 firmware hub interface signals ................................................................... ...............56 2-6 pci interface signals ............................................................................ ....................57 2-7 serial ata interface signals ..................................................................... ..................59 2-8 ide interface signals ............................................................................ ....................60 2-9 lpc interface signals ............................................................................ ....................62 2-10interrupt signals ............................................................................... .......................62 2-11usb interface signals ........................................................................... ....................63 2-12power management interface signals .............................................................. ............64 2-13processor interface signals ..................................................................... ...................66 2-14sm bus interface signals ........................................................................ ...................68 2-15system management interface signals ............................................................. ...........68 2-16real time clock interface ....................................................................... ...................69 2-17other clocks .................................................................................... ........................69 2-18miscellaneous signals........................................................................... .....................70 2-19ac ?97/intel ? high definition audio link signals ........... ................................................71 2-20serial peripheral interface (spi) signals ........... ...........................................................72 2-21general purpose i/o signals ..................................................................... .................72 2-22power and ground signals ........................................................................ .................74 2-23functional strap definitions ............................ ...........................................................76 3-1 integrated pull-up and pull-down resistors........... .......................................................79 3-2 ide series termination resistors ................................................................. ...............80 3-3 power plane and states for output and i/o si gnals for desktop only configurations ..........81 3-4 power plane and states for output and i/o signals for mobile/ultra mobile only configurations ...................................................................................... ...................86 3-5 power plane for input signals for desktop only configurations .................................... ...90 3-6 power plane for input signals for mobile/ultra mobile only configurations ........................ 92 4-1 intel ? ich7 and system clock domains ...................................................................... 95 5-1 pci bridge initiator cycle types ................................................................. ................99 5-2 type 1 address format ............................................................................ ............... 102 5-3 msi vs. pci irq actions .......................................................................... ................ 104 5-4 advanced tco functionality ....................................................................... .............. 114 5-5 lpc cycle types supported........................................................................ .............. 119 free datasheet http://www..net/
intel ? ich7 family datasheet 31 5-6 start field bit definitions ............................. ........................................................... 119 5-7 cycle type bit definitions ....................................................................... ................. 120 5-8 transfer size bit definition ............................. ......................................................... 120 5-9 sync bit definition.............................................................................. ................... 121 5-10dma transfer size............................................................................... ................... 126 5-11address shifting in 16-bit i/o dma transfers .................................................... ......... 126 5-12counter operating modes......................................................................... ............... 131 5-13interrupt controller core connections ........................................................... ............ 133 5-14interrupt status registers ...................................................................... ................. 134 5-15content of interrupt vector byte ................................................................ .............. 134 5-16apic interrupt mapping .......................................................................... ................ 140 5-17interrupt message address format ................................................................ ........... 142 5-18interrupt message data format ................................................................... ............ 143 5-19stop frame explanation .......................................................................... ................ 144 5-20data frame format ............................................................................... ................. 145 5-21configuration bits reset by rtcrst# assertion ................................................... ...... 148 5-22init# going active .............................................................................. .................. 150 5-23nmi sources..................................................................................... ..................... 151 5-24dp signal differences ........................................................................... .................. 152 5-25general power states for systems using intel ? ich7.................................................. 153 5-26state transition rules for intel ? ich7 ...................................................................... 155 5-27system power plane .............................................................................. ................. 156 5-28causes of smi# and sci .......................................................................... ............... 157 5-29break events (mobile/ultra mobile only)......................................................... ........... 160 5-30sleep types ..................................................................................... ..................... 163 5-31causes of wake events ........................................................................... ................ 164 5-32gpi wake events ................................................................................. .................. 165 5-33transitions due to power failure ................................................................ .............. 166 5-34transitions due to power button ................................................................. ............. 167 5-35transitions due to ri# signal ......................... ......................................................... 168 5-36write only registers with read paths in alt access mode ......................................... .. 171 5-37pic reserved bits return values ................................................................. ............. 173 5-38register write accesses in alt access mode ...................................................... ........ 173 5-39intel ? ich7 clock inputs .................................................................................. ...... 176 5-40heartbeat message data .......................................................................... ............... 182 5-41 ide transaction timings (pci clocks) ........................................................... ........... 184 5-42interrupt/active bit interaction definition ..................................................... ............. 188 5-43sata features support in intel ? ich7 ...................................................................... 191 5-44sata feature description........................................................................ ................ 192 5-45legacy replacement routing ...................................................................... ............. 198 5-46bits maintained in low power states ............................................................. ............ 204 5-47usb legacy keyboard state transitions ............. ....................................................... 205 5-48uhci vs. ehci ................................................................................... .................... 207 5-49debug port behavior ............................................................................. ................. 215 5-50i 2 c block read ........................................................................................ .............. 223 5-51enable for smbalert# ............................................................................ ............... 225 5-52enables for smbus slave write and smbus host events ............................................. .. 225 5-53enables for the host notify command ............................................................. .......... 226 5-54slave write registers ........................................................................... .................. 227 5-55command types ................................................................................... ................. 228 5-56read cycle format ............................................................................... .................. 229 5-57data values for slave read registers............................................................ ............ 229 5-58host notify format .............................................................................. ................... 231 5-59features supported by intel ? ich7 .......................................................................... 232 5-60output tag slot 0 ............................................................................... ................... 237 free datasheet http://www..net/
32 intel ? ich7 family datasheet 5-61spi implementation options ...................................................................... .............. 245 5-62required commands and opcodes ................................................................... ......... 247 5-63intel ? ich7 standard spi commands ....................................................................... 24 7 5-64flash protection mechanism summary................. ...................................................... 248 6-1 pci devices and functions .............................. ......................................................... 254 6-2 fixed i/o ranges decoded by intel ? ich7 ................................................................. 256 6-3 variable i/o decode ranges....................................................................... .............. 258 6-4 memory decode ranges from processor perspective.................................................. .. 259 7-1 chipset configuration register memory map (memory space) ....................................... 26 3 8-1 lan controller pci register address map (lan controller?b1:d8:f0) ........................... 303 8-2 configuration of subsystem id and subsystem ve ndor id via eeprom .......................... 310 8-3 data register structure .......................................................................... ................. 314 8-4 intel ? ich7 integrated lan controller csr space register address map ........................ 315 8-5 self-test results format ......................................................................... ................ 320 8-6 statistical counters............................................................................. .................... 327 8-7 asf register address map ......................................................................... .............. 329 9-1 pci bridge register address map (pci-pci?d30:f0) ................................................. .. 345 10-1lpc interface pci register address map (lpc i/f?d31:f0) ......................................... . 363 10-2dma registers ................................................................................... .................... 385 10-3pic registers (lpc i/f?d31:f0).................................................................. ............. 396 10-4apic direct registers (lpc i/f?d31:f0) .......................................................... ......... 404 10-5apic indirect registers (lpc i/f?d31:f0) ........................................................ ......... 404 10-6rtc i/o registers (lpc i/f?d31:f0) .............................................................. .......... 409 10-7rtc (standard) ram bank (lpc i/f?d31:f0) ........................................................ .... 410 10-8processor interface pci register address map (lpc i/f?d31:f0).................................. 4 15 10-9power management pci register address map (pm?d31:f0) ....................................... 418 10-10apm register map ............................................................................... .................. 430 10-11acpi and legacy i/o register map ............................................................... ........... 431 10-12tco i/o register address map ................................................................... ............ 456 10-13registers to control gpio address map............. ....................................................... 463 11-1uhci controller pci register address map (usb?d29:f0/f1/f2/f3) ............................. 469 11-2usb i/o registers ............................................................................... ................... 479 11-3run/stop, debug bit interaction swdbg (bit 5), run/stop (bit 0) operation .................. 482 12-1sata controller pci register address map (sata?d31:f2) .......................................... 489 12-2bus master ide i/o register address map......................................................... ......... 519 12-3ahci register address map....................................................................... ............... 523 12-4generic host controller register address map ....... ..................................................... 524 12-5port [3:0] dma register address map ............................................................. .......... 529 13-1usb ehci pci register address map (usb ehci?d29:f7) ........................................... 54 5 13-2enhanced host controller capability registers ....... ........... .......... ........... ........ ............. 561 13-3enhanced host controller operational register ad dress map ........................................ 564 13-4debug port register address map ................................................................. ............ 577 14-1smbus controller pci register address map (smbus?d31:f3)..................................... 583 14-2smbus i/o register address map.................................................................. ............ 588 15-1ide controller pci register address map (ide-d31:f1) ............................................ ... 601 15-2bus master ide i/o registers .................................................................... ............... 615 16-1ac ?97 audio pci register address map (audio?d30:f2) ............................................ . 619 16-2intel ? ich7 audio mixer register configuration .......................................................... 63 1 16-3native audio bus master control registers ........... ...................................................... 633 17-1ac ?97 modem pci register address map (modem?d30:f3) ........................................ 647 17-2intel ? ich7 modem mixer register configuration........................................................ 655 17-3modem registers................................................................................. ................... 656 18-1pci express* configuration registers address map (pci express?d28:f0/f1/f2/f3/f4/f5) ................................................................. .... 665 free datasheet http://www..net/
intel ? ich7 family datasheet 33 19-1intel ? high definition audio pci register address map (intel ? high definition audio d27:f0)...................................................................... . 705 19-2intel ? high definition audio pci register address map (intel ? high definition audio d27:f0)...................................................................... . 728 20-1memory-mapped registers ......................................................................... ............. 759 21-1serial peripheral interface (spi) register address map (spi memory mapped configuration registers) ......................................................... .. 765 22-1 desktop and mobile component ballout by signal name ............................................ . 776 22-2intel ? ich7-u ballout by signal name ...................................................................... 784 23-1intel ? ich7 absolute maximum ratings .................................................................... 78 9 23-2dc current characteristics ...................................................................... ................ 790 23-3dc current characteristics (mobile/ultra mobile only) ........................................... ...... 791 23-4dc characteristic input signal association......... ........................................................ 792 23-5dc input characteristics ........................................................................ ................. 794 23-6dc characteristic output signal association............................................................... 796 23-7dc output characteristics .............................. ......................................................... 798 23-8other dc characteristics ................................ ......................................................... 799 23-9clock timings ................................................................................... ..................... 801 23-10pci interface timing ........................................................................... .................. 803 23-11ide pio mode timings ........................................................................... ............... 804 23-12ide multiword dma timings ...................................................................... ............. 804 23-13ultra ata timing (mode 0, mode 1, mode 2) ...................................................... ...... 805 23-14ultra ata timing (mode 3, mode 4, mode 5) ...................................................... ...... 807 23-15universal serial bus timing .......................... ......................................................... 809 23-16sata interface timings (desktop and mobile only) ............................................... .... 810 23-17smbus timing................................................................................... ................... 810 23-19lpc timing ..................................................................................... ..................... 811 23-20miscellaneous timings.......................................................................... ................. 811 23-18ac ?97 / intel ? high definition audio timing ................ ............................................ 811 23-21spi timings (desktop and mobile only) .......................................................... ......... 812 23-22(power sequencing and reset signal timings ..................................................... ...... 812 23-23power management timings ....................................................................... ........... 814 25-1xor test pattern example ........................................................................ .............. 840 25-2xor chain 1 (req[4:1]# = 0000).................................................................. .......... 841 25-3xor chain 2 (req[4:1]# = 0001).................................................................. .......... 842 25-4xor chain 3 (req[4:1]# = 0010).................................................................. .......... 843 25-5xor chain 4-1 (req[4:1]# = 0011)................................................................ ......... 844 25-6xor chain 4-2 (req[4:1]# = 0011)................................................................ ......... 845 25-7xor chain 5 (req[4:1]# = 0100).................................................................. .......... 846 free datasheet http://www..net/
34 intel ? ich7 family datasheet revision history revision description date -001 ? initial release april 2005 -002 ? added specificaitons for ich7dh , ich7-m, and ich7-m dh january 2006 -003 ? added specifications for the ich7-u ? added documentation changes/specification changes from spec update revision -020. april 2007 free datasheet http://www..net/
intel ? ich7 family datasheet 35 intel ? ich7 family features direct media interface ? 10 gb/s each direction, full duplex ? transparent to software pci express* (desktop and mobile only) ? 4 pci express root ports ? new: 2 additional pci express root ports (ich7r/ digital home only) conf igurable as x1 only ? supports pci express 1.0a ? ports 1-4 can be statically configured as 4x1, or 1x4. ? support for full 2.5 gb/s bandwidth in each direction per x1 lane ? module based hot-plug supported (e.g., expresscard*) (desktop and mobile only) pci bus interface ? supports pci rev 2.3 specification at 33 mhz ? new: six available pci req/gnt pairs (3 pairs on ultra mobile) ? support for 64-bit addressing on pci using dac protocol integrated serial ata host co ntroller (desktop and mobile only) ? four ports (desktop only) or two ports (mobile only) ? new: data transfer rates up to 3.0 gb/s (300 mb/s) (desktop only) ? integrated ahci controller (raid, digital home and mobile only) intel ? matrix storage technology (raid and digital home only) ? configures the ich7 sata controller as a raid controller supporting raid 0/1/10 (raid and ich7 dh only) ? configures the ich7 sata controller as a raid controller supporting raid 0/1 (ich7-m dh) ? new: support for raid 5 (raid and ich7 dh only) integrated ide controller ? independent timing of up to two drives (one drive on ultra mobile) ? ultra ata/100/66/33, bmide and pio modes ? tri-state modes to enable swap bay ? supports ata/atapi-7 intel ? high definition audio interface ? pci express endpoint ? independent bus master logic for eight general purpose streams: four input and four output ? support three external codecs ? supports variable length stream slots ? supports multichannel, 32-bit sample depth and 192 khz sample rate output ? provides mic array support ? allows for non-48 khz sampling output ? support for acpi device states ? new: docking support (mobile only) ? new: low voltage mode (mobile/ultra mobile only) ac-link for audio and telephony codecs (desktop and mobile only) ? support for three ac ?97 2.3 codecs. ? independent bus master logi c for 8 channels (pcm in/ out, pcm 2 in, mic 1 input, mic 2 input, modem in/ out, s/pdif out) ? support for up to six channels of pcm audio output (full ac3 decode) ? supports wake-up events usb 2.0 ? includes four uhci host controllers, supporting eight external ports ? includes one ehci host c ontroller that supports all eight ports ? includes one usb 2.0 high-speed debug port ? supports wake-up from sleeping states s1?s5 ? supports legacy keyboard/mouse software integrated lan controller (desktop and mobile only) ? integrated asf management controller ? supports ieee 802.3 ? lan connect interface (lci) ? 10/100 mb/s ethernet support new: intel active management technology (desktop and mobile only) new: intel ? quick resume technology support (digital home only) power management logic ? supports acpi 3.0 ? acpi-defined power states (c1, s1, s3?s5 for desktop and c1?c4, s1, s3?s5 for mobile/ultra mobile) ? acpi power management timer ? (mobile/ultra mobile on ly) support for ?intel speedstep ? technology? processor power control and ?deeper sleep? power state ? pci clkrun# and pme# support ? smi# generation ? all registers readable/restorable for proper resume from 0 v suspend states ? support for apm-based legacy power management for non-acpi desktop and mobile implementations external glue integration ? integrated pull-up, pull-down and series termination resistors on ide, processor interface ? integrated pull-down and series resistors on usb enhanced dma controller ? two cascaded 8237 dma controllers ? supports lpc dma (desktop and mobile only) free datasheet http://www..net/
36 intel ? ich7 family datasheet smbus ? flexible smbus/smlink ar chitecture to optimize for asf ? provides independent manageability bus through smlink interface ? supports smbus 2.0 specification ? host interface allows processor to communicate via smbus ? slave interface allows an internal or external microcontroller to acce ss system resources ? compatible with most tw o-wire components that are also i 2 c compatible high precision event timers ? advanced operating system interrupt scheduling timers based on 82c54 ? system timer, refresh request, speaker tone output real-time clock ? 256-byte battery-backed cmos ram ? integrated oscillator components ? lower power dc/dc converter implementation system tco reduction circuits ? timers to generate smi# and reset upon detection of system hang ? timers to detect improper processor reset ? integrated processor frequency strap logic ? supports ability to di sable external devices interrupt controller ? supports up to eight pci interrupt pins ? supports pci 2.3 message signaled interrupts ? two cascaded 82c59 with 15 interrupts ? integrated i/o apic capa bility with 24 interrupts ? supports processor sy stem bus interrupt delivery 1.05 v operation with 1.5 v and 3.3 v i/o ? 5 v tolerant buffers on ide, pci, usb and legacy signals new: 1.05 v core voltage integrated 1.05 v voltag e regulator (intvr) for the suspend and lan wells (desktop and mobile only) firmware hub i/f supports bios memory size up to 8 mbytes (desktop and mobile only) new: serial peripheral in terface (spi) for serial and shared flash (desktop and mobile only) low pin count (lpc) i/f ? supports two master/dma devices. ? support for security devi ce (trusted platform module) connected to lpc. gpio ? ttl, open-drain, inversion new: package 31 mm x 31 mm 652 mbga (desktop and mobile only) new: package 15 mm x 15 mm, 452 balls (ultra mobile only) desktop configuration intel ? pci express gigabit ethernet intel ? ich7 usb 2.0 (supports 8 usb ports) system management (tco) ide gpio smbus 2.0/i 2 c power management pci bus ... clock generators s l o t s l o t lan connect ac ?97/intel? high definition audio codec(s) firmware hub other asics (optional) lpc i/f super i/o sata (4 ports) pci express* x1 dmi (to (g)mch) tpm (optional) spi bios free datasheet http://www..net/
intel ? ich7 family datasheet 37 mobile configuration ultra mobile configuration intel ? ich7-m usb 2.0 (supports 8 usb ports) system management (tco) ide gpio smbus 2.0/i 2 c power management pci bus clock generators cardbus controller (& attached slots) dmi (to (g)mch) lan connect ac?97/intel? high definition audio codec(s) flash bios other asics (optional) lpc i/f super i/o sata (2 ports) docking bridge pci express x1 tpm (optional) spi bios intel ? ich7-u usb 2.0 (supports 8 usb ports) system management (tco) ide gpio smbus 2.0/i 2 c power management pci bus clock generators 3 pci dmi (to gmch) flash bios other asics (optional) lpc i/f super i/o intel ? high definition audio codec(s) tpm (optional) free datasheet http://www..net/
38 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 39 introduction 1 introduction this document is intended for original equipment manufacturers and bios vendors creating intel ? i/o controller hub 7 (ich7) family based products. this document is the datasheet for the following: ? intel ? 82801GB ich7 (ich7) ? intel ? 82801gr ich7 raid (ich7r) ? intel ? 82801gdh ich7 digital home (ich7dh) ? intel ? 82801GBm ich7 mobile (ich7-m) ? intel ? 82801ghm ich7 mobile digital home (ich7-m dh) ? intel ? 82801gu ich7-u ultra mobile (ich7-u) section 1.2 provides high-level feature differen ces for the ich7 family components. note: throughout this datasheet, ich7 is used as a general ich7 term and refers to the 82801GB ich7, 82801gr ich7r, 82801gdh ich7dh, 82801GBm ich7-m, 82801ghm ich7-m dh, and 82801gu ich7-u components , unless specifically noted otherwise. note: throughout this datasheet, the term ?desktop? refers to any implementation, be it in a desktop, server, workstation, etc., unless specifically noted otherwise. note: throughout this datasheet, the terms ?deskt op?, ?digital home? ?mobile?, and ?ultra mobile? refer to the following components , unless specifically noted otherwise: ? desktop refers to the 82801GB ich7, 82801gr ich7r, and 82801gdh ich7dh. ? digital home refers to the 82801gdh ich7dh and 82801ghm ich7-m dh. ? mobile refers to the 82801GBm ich7-m, and 82801ghm ich7-m dh. ? ultra mobile refers to the 82801gu ich7-u. note: ?desktop and mobile only? refers to all components in this document except the 82801gu ich7-u ultra mobile component. this datasheet assumes a working knowledge of the vocabulary and principles of pci express*, usb, ide, ahci, sata, intel ? high definition audio (intel ? hd audio), ac ?97, smbus, pci, acpi and lpc. although some details of these features are described within this manual, refer to the in dividual industry specifications listed in table 1-1 for the complete details. table 1-1. industry specifications specification location intel ? i/o controller hub ich7 family specification update http://developer.intel.com//design/ chipsets/specupdt/307014.htm intel ? i/o controller hub ich7 family thermal mechanical guidelines http://developer.intel.com//design/ chipsets/designex/307015.htm pci express* base specification, revision 1.0a http://www.pcisig.com/specifications low pin count interface spec ification, revision 1.1 (lpc) http://developer.intel.com/design/ chipsets/industry/lpc.htm audio codec ?97 component specification, version 2.3 (ac ?97) http://www.intel.com/design/ chipsets/audio/ free datasheet http://www..net/
introduction 40 intel ? ich7 family datasheet chapter 1. introduction chapter 1 introduces the ich7 and provides information on manual organization and gives a general overview of the ich7. chapter 2. signal description chapter 2 provides a block diagram of the ic h7 interface signals and a detailed description of each signal. signals are arra nged according to interface and details are provided as to the drive characteristics (input /output, open drain, etc.) of all signals. chapter 3. intel ? ich7 pin states chapter 3 provides a complete list of signals, their associated power well, their logic level in each suspend state, and thei r logic level before and after reset. chapter 4. intel ? ich7 and system clock domains chapter 4 provides a list of each clock domain associated with the ich7 in an ich7 based system. chapter 5. functional description chapter 5 provides a detailed description of the functions in the ich7. all pci buses, devices and functions in this manual are abbreviated using the following nomenclature; bus:device:function. this manual abbreviates buses as b0 and b1, devices as d8, d27, d28, d29, d30 and d31 and functions as f0, f1, f2, f3, f4, f5, f6 and f7. for example device 31 function 0 is abbreviated as d31:f0, bus 1 device 8 function 0 is abbreviated as b1:d8:f0. generally, the bus number will not be used, and can be considered to be bus 0. note that the ich7 ?s external pci bus is typically bus 1, but may be assigned a different number depending upon system configuration. system management bus specification, version 2.0 (smbus) http://www.smbus.org/specs/ pci local bus specification, revision 2.3 (pci) http://www.pcisig.com/specifications pci mobile design guide, revision 1.1 http://www.pcisig.com/specifications pci power management specification, revision 1.1 http://www.pcisig.com/specifications universal serial bus specification (usb), revision 2.0 http://www.usb.org/developers/docs advanced configuration an d power interface, version 2.0 (acpi) http://www.acpi.info/spec.htm universal host controller in terface, revision 1.1 (uhci) http://developer.intel.com/design/ usb/uhci11d.htm enhanced host controller interface specification for universal serial bus, revision 1.0 (ehci) http://developer.intel.com/ technology/usb/ehcispec.htm serial ata specification, revision 1.0a http://www.serialata.org/ specifications.asp serial ata ii: extensions to serial ata 1.0, revision 1.0 http://www.serialata.org/ specifications.asp alert standard format sp ecification, version 1.03 http://www.dmtf.org/standards/asf ieee 802.3 fast ethernet http://standards.ieee.org/ getieee802/ at attachment - 6 with pack et interface (ata/atapi - 6) http://t13.org (t13 1410d) ia-pc hpet (high precision event timers) specification, revision 1.0 http://www.intel.com/ hardwaredesign/hpetspec.htm table 1-1. industry specifications specification location free datasheet http://www..net/
intel ? ich7 family datasheet 41 introduction chapter 6. register and memory mappings chapter 6 provides an overview of the registers, fixed i/o ranges, variable i/o ranges and memory ranges decoded by the ich7. chapter 7. chipset configuration registers chapter 7 provides a detailed description of all registers and base functionality that is related to chipset configuration and not a spec ific interface (such as lpc, pci, or pci express). it contains the root complex register block, which describes the behavior of the upstream internal link. chapter 8. lan controller registers chapter 8 provides a detailed description of all registers that reside in the ich7?s integrated lan controller. the integrated la n controller resides on the ich7?s external pci bus (typically bus 1) at de vice 8, function 0 (b1:d8:f0). chapter 9. pci-to-pci bridge registers chapter 9 provides a detailed description of all registers that reside in the pci-to-pci bridge. this bridge resides at device 30, function 0 (d30:f0). chapter 10. lpc br idge registers chapter 10 provides a detailed description of all registers that reside in the lpc bridge. this bridge resides at device 31, function 0 (d31:f0). this function contains registers for many different units within the ich7 in cluding dma, timers, interrupts, processor interface, gpio, power manageme nt, system management and rtc. chapter 11. sata controller registers chapter 12 provides a detailed description of all registers that reside in the sata controller. this controller resides at device 31, function 2 (d31:f2). chapter 12. uhci controller registers chapter 11 provides a detailed description of all re gisters that reside in the four uhci host controllers. these controllers reside at device 29, functions 0, 1, 2, and 3 (d29:f0/f1/f2/f3). chapter 13. ehci controller registers chapter 13 provides a detailed description of all registers that reside in the ehci host controller. this controller resides at device 29, function 7 (d29:f7). chapter 14. smbus controller registers chapter 14 provides a detailed description of all registers that reside in the smbus controller. this controller resides at device 31, function 3 (d31:f3). chapter 15. ide controller registers chapter 15 provides a detailed description of all registers that reside in the ide controller. this controller resides at device 31, function 1 (d31:f1). chapter 16. ac ?97 audi o controller registers chapter 16 provides a detailed description of all registers that reside in the audio controller. this controller resides at device 30, function 2 (d30:f2). note that this section of the datasheet does not include the native audio mixer registers. accesses to the mixer registers are forwarded over the ac-link to the codec where the registers reside. chapter 17. ac ?97 modem controller registers chapter 17 provides a detailed description of all registers that reside in the modem controller. this controller resides at device 30, function 3 (d30:f3). note that this section of the datasheet does not include the modem mixer registers. accesses to the mixer registers are forwarded over the ac-lin k to the codec where the registers reside. chapter 18. intel ? high definition audio controller registers chapter 18 provides a detailed description of a ll registers that reside in the intel ? high definition audio controller. this controller resides at device 27, function 0 (d27:f0). chapter 19. pci express* po rt controller registers chapter 19 provides a detailed description of all registers that reside in the pci express controller. this controller resides at device 28, functions 0 to 5 (d30:f0-f5). free datasheet http://www..net/
introduction 42 intel ? ich7 family datasheet chapter 20. high precisio n event timers registers chapter 20 provides a detailed description of all re gisters that reside in the multimedia timer memory mapped register space. chapter 21. serial periph eral interface registers chapter 21 provides a detailed description of a ll registers that reside in the spi memory mapped register space. chapter 22. ballout definition chapter 22 provides a table of each signal and its ball assignment in the 652-mbga package. chapter 23. electrical characteristics chapter 23 provides all ac and dc characteristics including detailed timing diagrams. chapter 24. package information chapter 24 provides drawings of the physical dimensions and characteristics of the 652-mbga package. chapter 25. testability chapter 25 provides detail about the implementation of test modes provided in the ich7. 1.1 overview the ich7 provides extensive i/o suppo rt. functions and capabilities include: ? pci express* base specification, revision 1.0a support (desktop and mobile only) ? pci local bus specification , revision 2.3 support for 33 mhz pci operations ( supports up to six req/gnt pairs; three pairs on ultra mobile). ? acpi power management logic support ? enhanced dma controller, interrupt controller, and timer functions (desktop and mobile only) ? integrated serial ata host controller with independent dma operation on four ports (desktop only) or two ports (mobile only ) and ahci (ich7r, ich7dh, ich7-m, and ich7-m dh only) support. (sata not supported on ultra mobile) ? integrated ide controller supports ultra ata100/66/33 ? usb host interface with support for eight usb ports; four uhci host controllers; one ehci high-speed usb 2.0 host controller ? integrated lan controller (desktop and mobile only) ? system management bus (smbus) specification , version 2.0 with additional support for i 2 c devices (desktop and mobile only) ? supports audio codec ?97, revision 2.3 specification (a.k.a., ac ?97 component specification , revision 2.3) which provides a link for audio and telephony codecs (up to 7 channels) (desktop and mobile only) ? supports intel high definition audio ? supports intel ? matrix storage technology (ich7r, ich7dh, and mobile only) ? supports intel ? active management technology (desktop and mobile only) ? low pin count (lpc) interface ? firmware hub (fwh) interface support ? serial peripheral interface (spi) support (desktop and mobile only) free datasheet http://www..net/
intel ? ich7 family datasheet 43 introduction the ich7 incorporates a variety of pci functions that are divided into six logical devices (b0:d27, b0:d28, b0:d29, b0:d30, b0:d31 and b1:d8) as listed in table 1-2 . d30 is the dmi-to-pci bridge and the ac ?97 audio and modem controller functions, d31 contains the pci-to-lpc bridge, ide controller, sata controller, and smbus controller, d29 contains the four usb uhci controllers and one usb ehci controller, and d27 contains the pci express root ports. b1:d8 is the integrated lan controller. notes: 1. the pci-to-lpc bridge contains registers that control lpc, powe r management, system management, gpio, processor interface , rtc, interrupts, timers, and dma. the following sub-sections provide an overview of the ich7 capabilities. direct media interface (dmi) direct media interface (dmi) is the chip-to-chip connection between the memory controller hub / graphics memory controller hub ((g)mch) and i/o controller hub 7 (ich7). this high-speed interface integrates advanced priority-based servicing allowing for concurrent traffic and true isochronous transfer capabilities. base functionality is completely software-transparent, permitting current and legacy software to operate normally. table 1-2. pci devices and functions bus:device:function function description bus 0:device 30:functi on 0 pci-to-pci bridge bus 0:device 30:function 2 a c ?97 audio controller (desktop and mobile only) bus 0:device 30:function 3 ac ?97 modem controller (desktop and mobile only) bus 0:device 31:function 0 lpc controller 1 bus 0:device 31:functi on 1 ide controller bus 0:device 31:function 2 sata cont roller (desktop and mobile only) bus 0:device 31:functi on 3 smbus controller bus 0:device 29:function 0 usb uhci controller #1 bus 0:device 29:function 1 usb uhci controller #2 bus 0:device 29:function 2 usb uhci controller #3 bus 0:device 29:function 3 usb uhci controller #4 bus 0:device 29:function 7 usb 2.0 ehci controller bus 0:device 28:function 0 pci express* port 1 (desktop and mobile only) bus 0:device 28:function 1 pci expres s port 2 (desktop and mobile only) bus 0:device 28:function 2 pci expres s port 3 (desktop and mobile only) bus 0:device 28:function 3 pci expres s port 4 (desktop and mobile only) bus 0:device 28:function 4 pci express port 5 (intel ? ich7r, ich7dh, and ich7-m dh only) bus 0:device 28:function 5 pci express port 6 (intel ich7r, ich7dh, and ich7-m dh only) bus 0:device 27:function 0 intel ? high definition audio controller bus n:device 8:function 0 lan cont roller (desktop and mobile only) free datasheet http://www..net/
introduction 44 intel ? ich7 family datasheet pci express* interface (d esktop and mobile only) the ich7r, ich7dh, ich7-m dh have six pci express root ports and the ich7 and ich7-m have four pci express root ports (ports 1-4), supporting the pci express base specification, revision 1.0a. pci express root ports 1?4 can be statically configured as four x1 ports or ganged together to form one x4 port. ports 5 and 6 on the ich7r, ich7dh, and ich7-m dh can only be used as two x1 ports. each root port supports 2.5 gb/s bandwidth in each direction (5 gb/s concurrent). serial ata (sata) controller (desktop and mobile only) the ich7 has an integrated sata host controller that supports independent dma operation on four ports (desktop only) or two ports (mobile only) and supports data transfer rates of up to 3.0 gb/s (300 mb/s). the sata controller contains two modes of operation ? a legacy mode using i/o space, and an ahci mode using memory space. sata and pata can also be used in a combined function mode (where the sata function is used with pata). in this combined func tion mode, ahci mode is not used. software that uses legacy mode will not have ahci capabilities. the ich7 supports the serial ata specification , revision 1.0a. the ich7 also supports several optional sections of the serial ata ii: extensions to serial ata 1.0 specification , revision 1.0 (ahci support is required for some elements). ahci (intel ? ich7r, ich7dh, and mobile only) the ich7 provides hardware support for advanced host controller interface (ahci), a new programming interface for sata host controllers. platforms supporting ahci may take advantage of performance features such as no master/slave designation for sata devices?each device is treated as a master?and hardware-assisted native command queuing. ahci also provides usability enhancements such as hot-plug (desktop and mobile only). ahci requires appropriate soft ware support (e.g., an ahci driver) and for some features, hardware support in the sata device or additional platform hardware. intel ? matrix storage technology (intel ? ich7r, ich7dh, and ich7-m dh only) the ich7 provides support for intel matrix storage technology, providing both ahci (see above for details on ahci) and integrated raid functionality. the industry-leading raid capability provides high-performance raid 0, 1, 5, and 10 functionality (raid 0/1 functionality for ich7-m dh) on up to 4 sata ports of ich7. matrix raid support is provided to allow multiple raid leve ls to be combined on a single set of hard drives, such as raid 0 and raid 1 on two di sks. other raid features include hot spare support, smart alerting, and raid 0 auto replace. software components include an option rom for pre-boot configuration and bo ot functionality, a microsoft* windows* compatible driver, and a user interface for configuration and management of the raid capability of ich7. pci interface the ich7 pci interface provides a 33 mhz, revision 2.3 implementation. the ich7 integrates a pci arbiter that supports up to six external pci bus masters (three on ultra mobile) in addition to the internal ich7 requ ests. this allows for combinations of up to six pci down devices (three on ultra mobile) and pci slots. free datasheet http://www..net/
intel ? ich7 family datasheet 45 introduction ide interface (bus master capa bility and synchronous dma mode) the fast ide interface supports up to two ide devices (one device on ultra mobile) providing an interface for ide hard disks and atapi devices. each ide device can have independent timings. the ide interface supports pio ide transfers up to 16 mb/sec and ultra ata transfers up 100 mb/sec. it does not consume any legacy dma resources. the ide interface integrates 16x32-bit buffers for optimal transfers. the ich7?s ide system contains a single, independent ide signal channel that can be electrically isolated. there are integrated se ries resistors on the data and control lines (see section 5.16 for details). low pin count (lpc) interface the ich7 implements an lpc interface as described in the lpc 1.1 specification . the low pin count (lpc) bridge function of the ic h7 resides in pci device 31:function 0. in addition to the lpc bridge interface functi on, d31:f0 contains other functional units including dma, interrupt co ntrollers, timers, power management, system management, gpio, and rtc. serial peripheral interface (s pi) (desktop and mobile only) the ich7 implements an spi interface as an alternative interface for the bios flash device. an spi flash device can be used as a replacement for the fwh. compatibility modules (dma contro ller, timer/coun ters, interrupt controller) the dma controller incorporates the logic of two 82c37 dma controllers, with seven independently programmable channels. channels 0?3 are hardwired to 8-bit, count-by- byte transfers, and channels 5?7 are hardwired to 16-bit, count-by-word transfers. any two of the seven dma channels can be prog rammed to support fast type-f transfers. the ich7 supports lpc dma (des ktop and mobile only), which is similar to isa dma, through the ich7?s dma controller. lpc dma is handled through the use of the ldrq# lines from peripherals and special encodi ng on lad[3:0] from the host. single, demand, verify, and increment modes are suppo rted on the lpc interface. channels 0? 3 are 8-bit channels. channels 5?7 are 16-bit channels. channel 4 is reserved as a generic bus master request. the timer/counter block contains three counters that are equivalent in function to those found in one 82c54 programmable interval timer. these three counters are combined to provide the system timer function, and speaker tone. the 14.31818 mhz oscillator input provides the clock source for these three counters. the ich7 provides an isa-compatible prog rammable interrupt controller (pic) that incorporates the functionality of two, 82c59 interrupt controllers. the two interrupt controllers are cascaded so that 14 external and two internal interrupts are possible. in addition, the ich7 supports a serial interrupt scheme. all of the registers in these modules can be read and restored. this is required to save and restore system state after power has been removed and restored to the platform. advanced programmable interrupt controller (apic) in addition to the standard isa compatib le programmable interrupt controller (pic) described in the previous section, the ic h7 incorporates the advanced programmable interrupt controller (apic). free datasheet http://www..net/
introduction 46 intel ? ich7 family datasheet universal serial bus (usb) controller the ich7 contains an enhanced host controller interface (ehci) host controller that supports usb high-speed signaling. high-speed usb 2.0 allows data transfers up to 480 mb/s which is 40 times faster than full-speed usb. the ich7 also contains four universal host controller interface (uhci) controllers that support usb full-speed and low-speed signaling. the ich7 supports eight usb 2.0 ports. a ll eight ports are high-speed, full-speed, and low-speed capable. ich7?s port-routing logic determines whether a usb port is controlled by one of the uhci controllers or by the ehci controller. see section 5.19 and section 5.20 for details. lan controller (desktop and mobile only) the ich7?s integrated lan controller includ es a 32-bit pci controller that provides enhanced scatter-gather bus mastering capabilities and enables the lan controller to perform high speed data transfers over the pci bus. its bus master capabilities enable the component to process high-level command s and perform multiple operations; this lowers processor utilization by off-loading communication tasks from the processor. two large transmit and receive fifos of 3 kb each help prevent data underruns and overruns while waiting for bus accesses. this enables the integrated lan controller to transmit data with minimum interframe spacing (ifs). the lan controller can operate in either full duplex or half duplex mode. in full duplex mode the lan controller adheres with the ieee 802.3x flow control specification. half duplex performance is enhanced by a proprietary collision reduction mechanism. see section 5.3 for details. alert standard format (asf) mana gement controller (desktop and mobile only) ich7 integrates an alert standard format controller in addition to the integrated lan controller, allowing interface system-monit oring devices to communicate through the integrated lan controller to the network. th is makes remote manageability and system hardware monitoring possible using asf. the asf controller can collect and send various information from system components such as the processor, chipset, bios and sensors on the motherboard to a remote server running a management console. th e controller can also be programmed to accept commands back from the management console and execute those commands on the local system. free datasheet http://www..net/
intel ? ich7 family datasheet 47 introduction rtc the ich7 contains a motorola* mc146818a-compatible real-time clock with 256 bytes of battery-backed ram. the real-time clock performs two key functions: keeping track of the time of day and storing system data, even when the system is powered down. the rtc operates on a 32.768 khz crystal and a 3 v battery. the rtc also supports two lockable memory ranges. by setting bits in the configuration space, two 8-byte ranges can be locked to read and write accesses. this prevents unauthorized reading of passwords or other system security information. the rtc also supports a date alarm that allows for scheduling a wake up event up to 30 days in advance, rather than just 24 hours in advance. gpio various general purpose inputs and outputs are provided for custom system design. the number of inputs and outputs varies depending on ich7 configuration. enhanced power management the ich7?s power management functions include enhanced clock control and various low-power (suspend) states (e.g., suspend- to-ram and suspend-to-disk). a hardware- based thermal management circuit permits software-independent entrance to low- power states. the ich7 contains full support for the advanced configuration and power interface (acpi) specification, revision 3.0. intel ? quick resume technology (digital home only) ich7 implements intel quick resume technolo gy that provides the capability to design a pc with a single power button that reliabl y and instantly (user's perception) turns the pc on and off. when the system is on and the user presses the power button, the display instantly goes dark, sound is muted, and there is no response to keyboard/ mouse commands (except for keyboard power button). when the system is off and the user presses the power button, picture and sound quickly return, and the keyboard/ mouse return to normal functionality, allowing user input. intel ? active management technology (intel ? amt) (desktop and mobile only) intel active management technology is the next generation of client manageability via the wired network. intel amt is a set of ad vanced manageability features developed as a direct result of it customer feedback gained through intel market research. free datasheet http://www..net/
introduction 48 intel ? ich7 family datasheet manageability in addition to intel amt the ich7 integrates several functions designed to manage the system and lower the total cost of owne rship (tco) of the system. these system management functions are designed to report errors, diagnose the system, and recover from system lockups without the aid of an external microcontroller. ? tco timer. the ich7?s integrated programmable tco timer is used to detect system locks. the first expiration of the timer generates an smi# that the system can use to recover from a software lock. the second expiration of the timer causes a system reset to recover from a hardware lock. ? processor present indicator. the ich7 looks for the processor to fetch the first instruction after reset. if the processor does not fetch the first instruction, the ich7 will reboot the system. ? ecc error reporting. when detecting an ecc error, the host controller has the ability to send one of several messages to the ich7. the host controller can instruct the ich7 to generate either an smi#, nmi, serr#, or tco interrupt. ? function disable. the ich7 provides the ability to disable the following integrated functions: ac ?97 modem, ac ?97 audio, ide, lan, usb, lpc, intel hd audio, sata, or smbus. once disabled, these functions no longer decode i/o, memory, or pci configuration space. also, no interrupts or power management events are generated from the disable functions. ? intruder detect. the ich7 provides an input si gnal (intruder#) that can be attached to a switch that is activated by the system case being opened. the ich7 can be programmed to generate an smi# or tco interrupt due to an active intruder# signal. system management bus (smbus 2. 0) (desktop and mobile only) the ich7 contains an smbus host interface that allows the processor to communicate with smbus slaves. this interface is compatible with most i 2 c devices. special i 2 c commands are implemented. the ich7?s smbus host controller provides a mechanism for the processor to initiate communications with smbus peripherals (slaves). also, the ich7 supports slave functionality, including the host notify pr otocol. hence, the host controller supports eight command protocols of the smbus interface (see system management bus (smbus) specification, version 2.0): quick command, se nd byte, receive byte, write byte/word, read byte/word, process ca ll, block read/write, and host notify. ich7?s smbus also implements hardware-based packet error checking for data robustness and the address resolution protoc ol (arp) to dynamically provide address to all smbus devices. free datasheet http://www..net/
intel ? ich7 family datasheet 49 introduction intel ? high definition audio controller the intel ? high definition audio specification defines a digital interface that can be used to attach different types of codecs, such as audio and modem codecs. the ich7 intel hd audio digital link shares pins with the ac-link. concurrent operation of intel hd audio and ac ?97 functionality is not su pported. the ich7 intel hd audio controller supports up to 3 codecs. with the support of multi-channel audio stream, 32-bit sample depth, and sample rate up to 192 khz, the intel ? hd audio controller provides audio quality that can deliver ce levels of audio experience. on the input side , the ich7 adds support for an arrays of microphones. the intel hd audio controller uses mult i-purpose dma engines, as opposed to dedicated dma engines in ac ?97 (desktop an d mobile only), to effectively manage the link bandwidth and support simultaneous independent streams on the link. the capability enables new exciting usage models with intel hd audio (e.g., listening to music while playing multi-player game on th e internet.) the intel hd audio controller also supports isochronous data transfers allowing glitch-free audio to the system. note: users interested in providing feedback on the intel high definition audio specification or planning to implement the intel high definition audio specification into a future product will need to execute the intel high definition audio specification developer?s agreement . for more information, contact nextgenaudio@intel.com. ac ?97 2.3 controller (des ktop and mobile only) the ich7 integrates an audio codec '97 component specification, version 2.3 controller that can be used to attach an audio codec (ac), a modem codec (mc), an audio/modem codec (amc) or a combinatio n of acs and a single mc. the ich7 supports up to six channels of pcm audio output (full ac3 decode). for a complete surround-sound experience, six-channel audio consists of: front left, front right, back left, back right, center, and subwoofer. ic h7 has expanded support for up to three audio codecs on the ac-link. in addition, an ac '97 soft modem can be implemented with the use of a modem codec. several system options exist when implementing ac '97. the ich7-integrated ac '97 controller allows up to three external codecs to be connected to the ich7. the system designer can provide ac '97 modem with a modem codec, or both audio and modem with up to two audio codecs with a modem codec. free datasheet http://www..net/
introduction 50 intel ? ich7 family datasheet 1.2 intel ? ich7 family high-level component differences notes: 1. feature capability can be read in d31:f0:offset e4h. 2. the ich7 base (ich7) supports ports 1:4; ich7 raid (ich7r) and ich7 digital home (ich7dh) supports ports 1:6. notes: 1. feature capability can be read in d31:f0:offset e4h. table 1-3. intel ? ich7 desktop/ server family 1 product name base features intel ? matrix storage technology raid 0/1/5/10 / ahci 6 pci express ports intel ? amt support intel ? quick resume technology intel ? ich7 base (ich7) yes no/no no 2 yes no ich7 digital home (ich7dh) yes yes / yes yes 2 yes yes ich7 raid (ich7r) yes yes / yes yes 2 yes no table 1-4. intel ? ich7-m mobile and ich7-u ultra mobile components 1 product name short name base features ahci intel ? matrix storage technology raid 0/1 6 pci express* ports intel ? amt ready ich7 mobile ich7-m yes yes no no yes ich7 mobile digital home ich7-m dh yes yes yes yes yes ich7 ultra mobile ich7-u not all features no no no no free datasheet http://www..net/
intel ? ich7 family datasheet 51 signal description 2 signal description this chapter provides a detailed description of each signal. the signals are arranged in functional groups according to their associated interface. figure 2-1 shows the interface signals for the intel ? 82801GB ich7, 82801gr ich7r, and 82801gdh ich7dh. figure 2-2 shows the interface signals for the 82801GBm ich7-m and 82801ghm ich7-m dh. figure 2-3 shows the interface signals for the 82801gu ich7- u. the ?#? symbol at the end of the signal na me indicates that the active, or asserted state occurs when the signal is at a low voltage level. when ?#? is not present, the signal is asserted when at the high voltage level. the ?type? for each signal is indicative of the functional operating mode of the signal. unless otherwise noted in section 3.3 or section 3.4 , a signal is considered to be in the functional operating mode after rtcrst# for signals in the rtc well, rsmrst# for signals in the suspend well, after pwrok for signals in the core well, and after lan_rst# for signals in the lan well. the following notations are used to describe the signal type: i input pin o output pin od o open drain output pin. i/od bi-directional input/open drain output pin. i/o bi-directional input / output pin. oc open collector output pin. free datasheet http://www..net/
signal description 52 intel ? ich7 family datasheet figure 2-1. interface signals block diagram (desktop only) thrm# thrmtrip# sys_reset# rsmrst# mch_sync# slp_s3# slp_s4# slp_s5# pwrok pwrbtn# ri# wake# sus_stat# / lpcpd# susclk lan_rst# vrmpwrgd pltrst# ad[31 : 0] c/be[3:0]# devsel# frame# irdy# trdy# stop# par perr# req[3:0]# req[4]# / gpio[22] req[5]# / gpio[1] gnt[3:0]# gnt[4]# / gpio[48] gnt[5]# / gpio[17] pciclk pcirst# plock# serr# pme# pci interface dcs1# dcs3# da[2:0] dd[15:0] ddreq ddack# dior# (dwstb / rdmardy#) diow# (dstop) iordy (drstb / wdmardy#) ide interface power mgnt. rtcx1 rtcx2 clk14 clk48 sata_clkp, sata_clkn dmi_clkp, dmi_clkn rtc clocks misc. signals intvrmen spkr rtcrst# tp0 tp[2:1] tp3 general purpose i/o gpio[39:38, 34:32, 28:26, 25:24, 20, 18, 16:12, 10:6] eeprom interface ee_shclk ee_din ee_dout ee_cs intruder# smlink[1:0] linkalert# dmi[3:0]txp, dmi[3:0]txn dmi[3:0]rxp, dmi[3:0]rxn dmi_zcomp dmi_ircomp direct media interface lpc interface smbus interface acz_rst# acz_sync acz_bit_clk acz_sdout acz_sdin[2:0] ac '97/ intel ? high definition audio firmware hub system mgnt. fwh[3:0] / lad[3:0] fwh[4] / lframe# lad[3:0] / fwh[3:0] lframe# / fwh[4] ldrq[0]# ldrq[1]# / gpio[23] smbdata smbclk smbalert# / gpio[11] lan_clk lan_rxd[2:0] lan_txd[2:0] lan_rstsync platform lan connect sata[3:0]txp, sata[3:0]txn sata[3:0]rxp, sata[3:0]rxn satarbias satarbias# sata[3:0]gp/gpio[37,36,21,19] sataled# sataclkreq#/gpio[35] serial ata interface pci express* interface petp[6:1], petn[6:1] perp[6:1], pern[6:1] a20m# cpuslp# ferr# ignne# init# init3_3v# intr nmi smi# stpclk# rcin# a20gate cpupwrgd / gpio[49] processor interface interrupt interface serirq pirq[d:a]# pirq[h:e]# / gpio[5:2] ideirq usb usbp[7:0]p usbp[7:0]n oc[4:0]# oc[5]# / gpio[29] oc[6]# / gpio[30] oc[7]# / gpio[31] usbrbias# usbrbias spi spi_cs# spi_miso spi_mosi spi_arb spi_clk el_rsvd / gpio26 el_state[1:0] / gpio[28:27] intel ? quick resume technology digital home only free datasheet http://www..net/
intel ? ich7 family datasheet 53 signal description figure 2-2. interface signals block diagram (mobile only) thrm# thrmtrip# sys_reset# rsmrst# mch_sync# dprstp# slp_s3# slp_s4# slp_s5# pwrok pwrbtn# ri# wake# sus_stat# / lpcpd# susclk lan_rst# vrmpwrgd bmbusy# / gpio[0] stp_pci# stp_cpu# batlow# dprslpvr pltrst# ad[31:0] c/be[3:0]# devsel# frame# irdy# trdy# stop# par perr# req[3:0]# req[4]# / gpio[22] req[5]# / gpio[1] gnt[3:0]# gnt[4]# / gpio[48] gnt[5]# / gpio[17] pme# clkrun# pciclk pcirst# plock# serr# ich7_signals_mobile pci interface dcs1# dcs3# da[2:0] dd[15:0] ddreq ddack# dior# (dwstb / rdmardy#) diow# (dstop) iordy (drstb / wdmardy#) ide interface power mgnt. interrupt interface a20m# ferr# ignne# init# init3_3# intr nmi smi# stpclk# rcin# a20gate cpupwrgd / gpio[49] dpslp# processor interface usb serirq pirq[d:a]# pirq[h:e]# / gpio[5:2] ideirq usbp[7:0]p usbp[7:0]n oc[4:0]# oc[5]# / gpio[29] oc[6]# / gpio[30] oc[7]# / gpio[31] usbrbias usbrbias# rtcx1 rtcx2 clk14 clk48 sata_clkp, sata_clkn dmi_clkp, dmi_clkn rtc clocks misc. signals intvrmen spkr rtcrst# tp[3] general purpose i/o gpio[39:37,25:24,19,1 5:12,10:6] eeprom interface ee_shclk ee_din ee_dout ee_cs intruder# smlink[1:0] linkalert# dmi[3:0]txp, dmi[3:0]txn dmi[3:0]rxp, dmi[3:0]rxn dmi_zcomp dmi_ircomp direct media interface lpc interface smbus interface acz_rst#, acz_sync, acz_sdout acz_sdin[2:0] acz_bit_clk az_dock_en# / gpio[33] az_dock_rst# / gpio[34] ac '97/ intel ? high definition audio firmware hub system mgnt. fwh[3:0] / lad[3:0] fwh[4] / lframe# lad[3:0] / fwh[3:0] lframe# / fwh[4] ldrq[0]# ldrq[1]# / gpio[23] smbdata smbclk smbalert# / gpio[11] lan_clk lan_rxd[2:0] lan_txd[2:0] lan_rstsync platform lan connect sata[2,0]txp, sata[2,0]txn sata[2,0]rxp, sata[2,0]rxn satarbias satarbias# sata[2,0]gp/gpio[36,21] sataled# sataclkreq# serial ata interface pci express* interface petp[6:1], petn[6:1] perp[6:1], pern[6:1] spi spi_cs# spi_miso spi_mosi spi_arb spi_clk digital home el_rsvd / gpio26 el_state[1:0] / gpio[28:27 digital home only free datasheet http://www..net/
signal description 54 intel ? ich7 family datasheet figure 2-3. interface signals bl ock diagram (ultra mobile only) thrm# thrmtrip# sys_reset# rsmrst# mch_sync# dprstp# slp_s3# slp_s4# slp_s5# pwrok pwrbtn# ri# wake# sus_stat# / lpcpd# susclk vrmpwrgd bmbusy# / gpio[0] stp_pci# stp_cpu# batlow# dprslpvr pltrst# ad[31:0] c/be[3:0]# devsel# frame# irdy# trdy# stop# par perr# req3# req4# / gpio[22] req5# / gpio[1] gnt3]# gnt4# / gpio[48] gnt5# / gpio[17] pme# clkrun# pciclk pcirst# plock# serr# ich7 signals ultra mobile pci interface dcs1# dcs3# da[2:0] dd[15:0] ddreq ddack# dior# (dwstb / rdmardy#) diow# (dstop) iordy (drstb / wdmardy#) ide interface power mgnt. interrupt interface a20m# ferr# ignne# init# init3_3# intr nmi smi# stpclk# rcin# a20gate cpupwrgd / gpio[49] dpslp# processor interface usb serirq pirq[h:e]# / gpio[5:2] ideirq usbp[7:0]p usbp[7:0]n oc[4:0]# oc[5]# / gpio[29] oc[6]# / gpio[30] oc[7]# / gpio[31] usbrbias usbrbias# rtcx1 rtcx2 clk14 clk48 dmi_clkp, dmi_clkn rtc clocks misc. signals spkr rtcrst# tp3 general purpose i/o gpio[39:37,25:24,19,1 5:12,10:6] intruder# linkalert# dmi[1:0]txp, dmi[1:0]txn dmi[1:0]rxp, dmi[1:0]rxn dmi_zcomp dmi_ircomp direct media interface lpc interface smbus interface acz_rst#, acz_sync, acz_sdout acz_sdin[2:0] acz_bit_clk intel ? high definition audio firmware hub system mgnt. fwh[3:0] / lad[3:0] fwh[4] / lframe# lad[3:0] / fwh[3:0] lframe# / fwh[4] ldrq0# ldrq1# / gpio[23] smbdata smbclk smbalert# / gpio[11] free datasheet http://www..net/
intel ? ich7 family datasheet 55 signal description 2.1 direct media interface (dmi) to host controller 2.2 pci express* (desktop and mobile only) table 2-1. direct me dia interface signals name type description dmi[0:1]txp, dmi[0:1]txn dmi[2:3]txp, dmi[2:3]txn (desktop and mobile only) o direct media interface diffe rential transmit pair 0:3 dmi[0:1]rxp, dmi[0:1]rxn dmi[2:3]rxp, dmi[2:3]rxn (desktop and mobile only) i direct media interface diffe rential receive pair 0:3 dmi_zcomp i impedance compensation input: determines dmi input impedance. dmi_ircomp o impedance/current compensation output: determines dmi output impedance and bias current. table 2-2. pci express* signals name type description petp[1:4], petn[1:4] o pci express* different ial transmit pair 1:4 perp[1:4], pern[1:4] i pci express differential receive pair 1:4 petp[5:6], petn[5:6] (intel ? ich7r/ ich7dh/ich7-m dh only) o pci express* differentia l transmit pair 5:6 reserved: ich7/ich7-m perp[1:4], pern[5:6] (ich7r/ich7dh/ ich7-m dh only) i pci express differential receive pair 5:6 reserved: ich7/ich7-m free datasheet http://www..net/
signal description 56 intel ? ich7 family datasheet 2.3 platform lan connect interface (desktop and mobile only) 2.4 eeprom interface (desktop and mobile only) 2.5 firmware hub interface (desktop and mobile only) table 2-3. platform lan connect interface signals name type description lan_clk i lan i/f clock: this signal is driven by the platform lan connect component. the frequency range is 5 mhz to 50 mhz. lan_rxd[2:0] i received data: the platform lan connect component uses these signals to transfer data and contro l information to the integrated lan controller. these signals have in tegrated weak pull-up resistors. lan_txd[2:0] o transmit data: the integrated lan controller uses these signals to transfer data and control informat ion to the platform lan connect component. lan_rstsync o lan reset/sync: the platform lan connect component?s reset and sync signals are multip lexed onto this pin. table 2-4. eeprom interface signals name type description ee_shclk o eeprom shift clock: this signal is the serial shift clock output to the eeprom. ee_din i eeprom data in: this signal transfers da ta from the eeprom to the intel ? ich7. this signal has an integrated pull -up resistor. ee_dout o eeprom data out: this signal transfers data from the ich7 to the eeprom. ee_cs o eeprom chip select: this is the chip select signal to the eeprom. table 2-5. firmware hub interface signals name type description fwh[3:0] / lad[3:0] i/o firmware hub signals: these sign als are multiplexed with the lpc address signals. fwh4 / lframe# o firmware hub signals: this signal is multiplexed with the lpc lframe# signal. free datasheet http://www..net/
intel ? ich7 family datasheet 57 signal description 2.6 pci interface table 2-6. pci interface signals (sheet 1 of 3) name type description ad[31:0] i/o pci address/data: ad[31:0] is a multiplexe d address and data bus. during the first clock of a transact ion, ad[31:0] co ntain a physical address (32 bits). during subsequent clocks, ad[31:0] contain data. the intel ? ich7 will drive all 0s on ad[31:0] during the address phase of all pci special cycles. c/be[3:0]# i/o bus command and byte enables: the command and byte enable signals are multiplexed on the same pci pins. during the address phase of a transaction, c/be[3:0]# define the bus command. during the data phase, c/be[3:0]# defi ne the byte enables. all command encodings not shown are reserved. the ich7 does not decode reserved values, and therefore will not respond if a pci master generates a cycle using one of the reserved values. devsel# i/o device select: the ich7 asserts devsel# to claim a pci transaction. as an output, the ich7 asserts devse l# when a pci master peripheral attempts an access to an internal ich7 address or an address destined dmi (main memory or graphics). as an input, devsel # indicates the response to an ich7-initiated tran saction on the pci bus. devsel# is tri-stated from the leading edge of pltrst#. devsel# remains tri- stated by the ich7 until driven by a target device. frame# i/o cycle frame: the current initiator drives frame# to indicate the beginning and duration of a pci tran saction. while the initiator asserts frame#, data transfers continue. when the initiator negates frame#, the transaction is in the final data phase. frame# is an input to the ich7 when the ich7 is the target, and frame# is an output from the ich7 when the ich7 is the initiator. frame# remains tri-stated by the ich7 until driven by an initiator. irdy# i/o initiator ready: irdy# indicates the ich7's ability, as an initiator, to complete the current data phase of the transaction. it is used in conjunction with trdy#. a data phas e is completed on any clock both irdy# and trdy# are sampled asse rted. during a write, irdy# indicates the ich7 has valid data pres ent on ad[31:0]. during a read, it indicates the ich7 is prepared to latch data. irdy# is an input to the ich7 when the ich7 is the target and an output from the ich7 when the ich7 is an initiator. irdy# remains tri-stated by the ich7 until driven by an initiator. c/be[3:0]# command type 0000b interrupt acknowledge 0001b special cycle 0010b i/o read 0011b i/o write 0110b memory read 0111b memory write 1010b configuration read 1011b configuration write 1100b memory read multiple 1110b memory read line 1111b memory write and invalidate free datasheet http://www..net/
signal description 58 intel ? ich7 family datasheet trdy# i/o target ready: trdy# indicates the intel ? ich7's ability as a target to complete the current data phase of the transaction. trdy# is used in conjunction with irdy#. a data ph ase is completed when both trdy# and irdy# are sampled asserted. duri ng a read, trdy# indicates that the ich7, as a target, has placed vali d data on ad[31:0]. during a write, trdy# indicates the ich7, as a target is prepared to latch data. trdy# is an input to the ich7 when the ich7 is the initiator and an output from the ich7 when the ich7 is a target. trdy# is tri-stated from the leading edge of pltrst#. trdy# remains tri-st ated by the ich7 until driven by a target. stop# i/o stop: stop# indicates that the ich7, as a target, is requesting the initiator to stop the cu rrent transaction. stop# causes the ich7, as an initiator, to stop the current transa ction. stop# is an output when the ich7 is a target and an input wh en the ich7 is an initiator. par i/o calculated/checked parity: par uses ?even? parity calculated on 36 bits, ad[31:0] plus c/be[3:0]#. ?even? parity means that the ich7 counts the number of 1s within th e 36 bits plus par and the sum is always even. the ich7 calculates par on 36 bits regardless of the valid byte enables. the ich7 generates pa r for address and data phases and only ensures par to be valid one pci clock after the corresponding address or data phase. the ich7 drives and tri-states par identically to the ad[31:0] lines except that the ich7 delays par by exactly one pci clock. par is an output during the address phase (delayed one clock) for all ich7 initiated transactions. par is an output during the data phase (delayed one clock) when the ich7 is the initiator of a pci write transaction, and when it is the target of a read transaction. ich7 checks parity when it is the target of a pci write transaction. if a parity error is detected, the ich7 will set the approp riate internal stat us bits, and has the option to generate an nmi# or smi#. perr# i/o parity error: an external pci device driv es perr# when it receives data that has a parity error. the ic h7 drives perr# wh en it detects a parity error. the ich7 can either generate an nmi# or smi# upon detecting a parity error (either detected internally or reported via the perr# signal). req[3:0]# req4# / gpio22 req5# / gpio1 i pci requests: the ich7 supports up to 6 masters on the pci bus. the req4# and req5# pins can instead be used as a gpio. note: req[2:0]# are not on ultra mobile. gnt[3:0]# gnt4# / gpio48 gnt5# / gpio17# o pci grants: the ich7 supports up to 6 masters on the pci bus. the gnt4# and gnt5# pins can instead be used as a gpio. pull-up resistors are not required on these signals. if pull-ups are used, they should be tied to the vcc 3_3 power rail. gnt5#/gpio17 has an internal pull-up. note: gnt[2:0]# are not on ultra mobile. pciclk i pci clock: this is a 33 mhz clock. pcic lk provides timing for all transactions on the pci bus. note: (mobile/ultra mobile only) this clock does not stop based on stp_pci# signal. pci clock on ly stops based on slp_s3#. pcirst# o pci reset: this is the secondary pci bus reset signal. it is a logical or of the primary interface pltrst# sign al and the state of the secondary bus reset bit of the bridge cont rol register (d30:f0:3eh, bit 6). table 2-6. pci interface signals (sheet 2 of 3) name type description free datasheet http://www..net/
intel ? ich7 family datasheet 59 signal description 2.7 serial ata interface (desktop and mobile only) plock# i/o pci lock: this signal indicates an exclusive bus operation and may require multiple transactions to complete. the ich7 asserts plock# when it performs non-exclusive transa ctions on the pci bus. plock# is ignored when pci masters are granted the bus in desktop configurations. devices on the pci bus (other than the ich7) are not permitted to assert th e plock# signal in mobile/ultra mobile configurations. serr# i/od system error: serr# can be pulsed active by any pci device that detects a system error condition. upon sampling serr# active, the ich7 has the ability to generate an nmi, smi#, or interrupt. pme# i/od pci power management event: pci peripherals drive pme# to wake the system from low-power states s1?s5. pme# assertion can also be enabled to generate an sci from the s0 state. in some cases the ich7 may drive pme# active due to an inte rnal wake event. the ich7 will not drive pme# high, but it will be pull ed up to vccsus3_3 by an internal pull-up resistor. table 2-7. serial ata interf ace signals (sheet 1 of 2) name type description sata0txp sata0txn o serial ata 0 differential transmit pair: these are outbound high-speed differential signals to port 0. sata0rxp sata0rxn i serial ata 0 differential receive pair: these are inbound high- speed differential si gnals from port 0. sata1txp sata1txn (desktop only) o serial ata 1 differential transmit pair: these are outbound high-speed differentia l signals to port 1. (desktop only) sata1rxp sata1rxn (desktop only) i serial ata 1 differential receive pair: these are inbound high- speed differential signals fro m port 1. (desktop only) sata2txp sata2txn o serial ata 2 differential transmit pair: these are outbound high-speed differentia l signals to port 2. sata2rxp sata2rxn i serial ata 2 differential receive pair: these are inbound high- speed differential si gnals from port 2. sata3txp sata3txn (desktop only) o serial ata 3 differential transmit pair: these are outbound high-speed differentia l signals to port 3. (desktop only) sata3rxp sata3rxn (desktop only) i serial ata 3 differential receive pair: these are inbound high- speed differential signals fro m port 3. (desktop only) satarbias o serial ata resistor bias: these are analog connection points for an external resistor to ground. satarbias# i serial ata resistor bias complement: these are analog connection points for an ex ternal resistor to ground. table 2-6. pci interface signals (sheet 3 of 3) name type description free datasheet http://www..net/
signal description 60 intel ? ich7 family datasheet 2.8 ide interface sata0gp / gpio21 i serial ata 0 general purpose: this is an input pin which can be configured as an interlock switch corresponding to sata port 0. when used as an interlock switch st atus indication, this signal should be drive to ?0? to indicate that th e switch is closed and to ?1? to indicate that the switch is open. if interlock switches ar e not required, this pin can be configured as gpio21. sata1gp (desktop only) / gpio19 i serial ata 1 general purpose: same function as sata0gp, except for sata port 1. if interlock switches ar e not required, this pin can be configured as gpio19. sata2gp / gpio36 i serial ata 2 general purpose: same function as sata0gp, except for sata port 2. if interlock switches ar e not required, this pin can be configured as gpio36. sata3gp (desktop only) / gpio37 i serial ata 3 general purpose: same function as sata0gp, except for sata port 3. if interlock switches ar e not required, this pin can be configured as gpio37. sataled# oc serial ata led: this is an open-collector output pin driven during sata command activity. it is to be connected to external circuitry that can provide the current to dr ive a platform led. when active, the led is on. when tri-stated, the led is off. an external pull-up resistor to vcc3_3 is required. note: an internal pull-up is enabled only during pltrst# assertion. sataclkreq#/ gpio35 od (native) / i/o (gp) serial ata clock request: this is an open-drain output pin when configured as sataclkreq#. it is to connect to the system clock chip. when active, request for sata clock running is asserted. when tri-stated, it tells the clock chip th at sata clock can be stopped. an external pull-up resi stor is required. table 2-8. ide interface signals (sheet 1 of 2) name type description dcs1# o ide device chip selects for 100 range: for ata command register block. this output signal is connected to the corresponding signal on the ide connector. dcs3# o ide device chip select for 300 range: for ata control register block. this output signal is connected to the corresponding signal on the ide connector. da[2:0] o ide device address: these output signals are connected to the corresponding signals on the ide connector. they are used to indicate which byte in either the ata comman d block or contro l block is being addressed. dd[15:0] i/o ide device data: these signals directly drive the corresponding signals on the ide connector. there is a weak internal pu ll-down resistor on dd7. table 2-7. serial ata interf ace signals (sheet 2 of 2) name type description free datasheet http://www..net/
intel ? ich7 family datasheet 61 signal description ddreq i ide device dma request: this input signal is directly driven from the drq signal on the ide connector. it is asserted by th e ide device to request a data transfer, and used in conjunction with the pci bus master ide function and are not associat ed with any at compatible dma channel. there is a weak internal pull-down resistor on this signal. ddack# o ide device dma acknowledge: this signal direct ly drives the dak# signal on the ide connector. ddack# is asserted by the intel ? ich7 to indicate to ide dma slave devices that a given data transfer cycle (assertion of dior# or diow#) is a dma data transfer cycle. this signal is used in conjunction with the pci bus master ide function and are not associated with any at -compatible dma channel. dior# / (dwstb / rdmardy#) o disk i/o read (pio and non-ultra dma): this is the command to the ide device that it may drive data onto the dd lines. data is latched by the ich7 on the deassertion e dge of dior#. the ide device is selected either by the ata register file chip selects (dcs1# or dcs3#) and the da lines, or the ide dma acknowledge (ddak#). disk write strobe (ultra dma writes to disk): this is the data write strobe for writes to disk. when writin g to disk, ich7 drives valid data on rising and falling edges of dwstb. disk dma ready (ultra dma reads from disk): this is the dma ready for reads from disk. when reading from di sk, ich7 deasserts rdmardy# to pause burst data transfers. diow# / (dstop) o disk i/o write (pio and non-ultra dma): this is the command to the ide device that it may latch data from the dd lines. data is latched by the ide device on the deassertion edge of diow#. the ide device is selected either by the ata register file chip selects (dcs1# or dcs3#) and the da lines, or the ide dma acknowledge (ddak#). disk stop (ultra dma): ich7 assert s this signal to terminate a burst. iordy / (drstb / wdmardy#) i i/o channel ready (pio): this signal will keep the strobe active (dior# on reads, diow# on writes) longer than the minimum width. it adds wait-states to pio transfers. disk read strobe (ultra dma re ads from disk): when reading from disk, ich7 latches data on rising and falling edges of this signal from the disk. disk dma ready (ultra dma writes to disk): when writing to disk, this is de-asserted by the disk to pause burst data transfers. table 2-8. ide interface signals (sheet 2 of 2) name type description free datasheet http://www..net/
signal description 62 intel ? ich7 family datasheet 2.9 lpc interface 2.10 interrupt interface table 2-9. lpc interface signals name type description lad[3:0] / fwh[3:0] i/o lpc multiplexed command, address, data: for lad[3:0], internal pull- ups are provided. lframe# / fwh4 o lpc frame: lframe# indicates the start of an lpc cycle, or an abort. ldrq0# ldrq1# / gpio23 (desktop and mobile only) i lpc serial dma/master request inputs: ldrq[1:0]# are used to request dma or bus master access. th ese signals are typically connected to external super i/o devi ce. an internal pull-up resistor is provided on these signals. ldrq1# may optionally be used as gpio. table 2-10. interrupt signals name type description serirq i/o serial interrupt request: this pin implements the serial interrupt protocol. pirq[d:a]# (desktop and mobile only) i/od pci interrupt requests: in non-apic mode the pirqx# signals can be routed to interrupts 3, 4, 5, 6, 7, 9, 10, 11, 12, 14 or 15 as described in the interrupt steering se ction. each pirqx# line has a separate route control register. in apic mode, these signals are connected to the internal i/o apic in the following fashion: pirqa# is connec ted to irq16, pirqb# to irq17, pirqc# to irq18, and pirqd# to irq19. this frees the legacy interrupts. pirq[h:e]# / gpio[5:2] i/od pci interrupt requests: in non-apic mode the pirqx# signals can be routed to interrupts 3, 4, 5, 6, 7, 9, 10, 11, 12, 14 or 15 as described in the interrupt steering section. each pirqx# line has a separate route control register. in apic mode, these signals are connected to the internal i/o apic in the following fashion: pirqe# is connec ted to irq20, pirqf# to irq21, pirqg# to irq22, and pirqh# to irq23. this frees the legacy interrupts. if not needed for interr upts, these signals can be used as gpio. ideirq i ide interrupt request: this interrupt input is connected to the ide drive. free datasheet http://www..net/
intel ? ich7 family datasheet 63 signal description 2.11 usb interface table 2-11. usb interface signals name type description usbp0p, usbp0n, usbp1p, usbp1n i/o universal serial bus port [1:0] differential: these differential pairs are used to transmit data /address/command signals for ports 0 and 1. these ports can be routed to uhci controller #1 or the ehci controller. note: no external resistors are requ ired on these signals. the intel ? ich7 integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no external series resistor usbp2p, usbp2n, usbp3p, usbp3n i/o universal serial bus port [3:2] differential: these differential pairs are used to transmit data/a ddress/command signals for ports 2 and 3. these ports can be routed to uhci controller #2 or the ehci controller. note: no external resistors are required on these signals. the ich7 integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no ex ternal series resistor usbp4p, usbp4n, usbp5p, usbp5n i/o universal serial bus port [5:4] differential: these differential pairs are used to transmit data /address/command signals for ports 4 and 5. these ports can be routed to uhci controller #3 or the ehci controller. note: no external resistors are required on these signals. the ich7 integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no ex ternal series resistor usbp6p, usbp6n, usbp7p, usbp7n i/o universal serial bus port [7:6] differential: these differential pairs are used to transmit data /address/command signals for ports 6 and 7. these ports can be routed to uhci controller #4 or the ehci controller. note: no external resistors are required on these signals. the ich7 integrates 15 k pull-downs and provides an output driver impedance of 45 which requires no ex ternal series resistor oc[4:0]# oc5# / gpio29 oc6# / gpio30 oc7# / gpio31 i overcurrent indicators: these signals set corresponding bits in the usb controllers to indicate th at an overcurrent condition has occurred. oc[7:5]# may optionally be used as gpios. note: oc[7:0]# are not 5 v tolerant. usbrbias o usb resistor bias: analog connection point fo r an external resistor. used to set transmit currents and internal load resistors. usbrbias# i usb resistor bias complement: analog connection point for an external resistor. used to set tr ansmit currents an d internal load resistors. free datasheet http://www..net/
signal description 64 intel ? ich7 family datasheet 2.12 power management interface table 2-12. power management interface signals (sheet 1 of 3) name type description pltrst# o platform reset: the intel ? ich7 asserts pltrst# to reset devices on the platform (e.g., sio, fwh, lan, (g)mch, ide, tpm, etc.). the ich7 asserts pltrst# during power- up and when s/w initiates a hard reset sequence through the reset control register (i/o register cf9h). the ich7 drives pltrst# inactive a minimum of 1 ms after both pwrok and vrmpwrgd are driven high. the ich7 drives pltrst# active a minimum of 1 ms when initiated through the reset control register (i/o register cf9h). note: pltrst# is in the vccsus3_3 well. thrm# i thermal alarm: thrm# is an active low si gnal generated by external hardware to generate an smi# or sci. thrmtrip# i thermal trip: when low, this signal indicates that a thermal trip from the processor occurred, and the ich7 will immediately transition to a s5 state. the ich7 will not wait for the processor stop grant cycle since the processor has overheated. slp_s3# o s3 sleep control: slp_s3# is for power plane control. this signal shuts off power to all non-critical systems when in s3 (suspend to ram), s4 (suspend to disk), or s5 (soft off) states. slp_s4# o s4 sleep control: slp_s4# is for power plane control. this signal shuts power to all non-critical systems when in the s4 (suspend to disk) or s5 (soft off) state. note: this pin must be used to cont rol the dram power to use the ich7?s dram power-cycling feature. refer to chapter 5.14.11.2 for details. slp_s5# o s5 sleep control: slp_s5# is for power plane control. this signal is used to shut power off to all non-critical systems when in the s5 (soft off) states. pwrok i power ok: when asserted, pwrok is an indication to the ich7 that core power has been stable for 99 ms and that pciclk has been stable for 1 ms. an exception to this rule is if the system is in s3 hot , in which pwrok may or may not stay asserted even though pciclk may be inactive. pwrok can be driven asynchronously. when pwrok is negated, the ich7 asserts pltrst#. note: pwrok must deassert for a minimum of three rtc clock periods for the ich7 to fully reset the power and properly generate the pltrst# output. pwrbtn# i power button: the power button will cause smi# or sci to indicate a system request to go to a sleep stat e. if the system is already in a sleep state, this signal will cause a wake event. if pwrbtn# is pressed for more than 4 seconds, this will cause an unconditional transition (power button override) to the s5 state. override will occur even if the system is in the s1-s4 states. this signal has an internal pull-up resistor and has an intern al 16 ms de-bounc e on the input. ri# (desktop and mobile only) i ring indicate: this signal is an input from a modem. it can be enabled as a wake event, and this is preserved across power failures. free datasheet http://www..net/
intel ? ich7 family datasheet 65 signal description sys_reset# i system reset: this pin forces an in ternal reset after being debounced. the ich7 wi ll reset immediately if the smbus is idle; otherwise, it will wait up to 25 ms 2 ms for the smbus to idle before forcing a reset on the system. rsmrst# i resume well reset: this signal is used fo r resetting the resume power plane logic. lan_rst# (desktop and mobile only) i lan reset: when asserted, the internal lan controller will be put into reset. this signal must be asserted for at least 10 ms after the resume well power (vccsus3_3 in desktop and vcclan3_3 and vcclan1_05 in mobile) is valid. when deasserted, this signal is an indication that the resume (lan for mobile) well power is stable. note: lan_rst# should be tied to rsmrst#. wake# i pci express* wake event: sideband wake signal on pci express asserted by components requesting wake up. mch_sync# i mch sync: this input is internally anded with the pwrok input. connect to the ich_sync# output of (g)mch. sus_stat# / lpcpd# o suspend status: this signal is asserted by the ich7 to indicate that the system will be entering a lo w power state soon. this can be monitored by devices with memory that need to switch from normal refresh to suspend refresh mode. it can also be used by other peripherals as an indication that th ey should isolate their outputs that may be going to powered-off planes. this signal is called lpcpd# on the lpc interface. susclk o suspend clock: this clock is an output of the rtc generator circuit to use by other chips for refresh clock. vrmpwrgd i vrm power good: this should be connected to be the processor?s vrm power good signifying the vrm is stable. this signal is internally anded with the pwrok input. bm_busy# (mobile/ultra mobile only) / gpio0 (desktop only) i bus master busy: this signal supports the c3 state. it provides an indication that a bus master device is busy. when this signal is asserted, the bm_sts bit will be set. if this signal goes active in a c3 state, it is treated as a break event. note: this signal is internally sync hronized using the pciclk and a two-stage synchronizer. it does not need to meet any particular setup or hold time. note: in desktop configurations, th is signal pin is a gpio. clkrun# (mobile/ultra mobile only)/ gpio32 (desktop only) i/o pci clock run: this clock supports the pci clkrun protocol. it connects to peripherals that ne ed to request clock restart or prevention of clock stopping. stp_pci# (mobile/ultra mobile only) / gpio18 (desktop only) o stop pci clock: this signal is an output to the external clock generator for it to turn off the pci clock. it is used to support pci clkrun# protocol. if this functiona lity is not needed, this signal can be configured as a gpio. note: refered to as stppci# on ultra mobile. table 2-12. power management in terface signals (sheet 2 of 3) name type description free datasheet http://www..net/
signal description 66 intel ? ich7 family datasheet 2.13 processor interface stp_cpu# (mobile/ultra mobile only) / gpio20 (desktop only) o stop cpu clock: this signal is an outp ut to the external clock generator for it to turn off the proc essor clock. it is used to support the c3 state. if this functionality is not needed, this signal can be configured as a gpio. note: refered to as stpcpu# on ultra mobile. batlow# (mobile/ultra mobile only) / tp0 (desktop only) i battery low: this signal is an input fro m battery to indicate that there is insufficient power to boot the system. assertion will prevent wake from s3?s5 state. this signal can also be enabled to cause an smi# when asserted. dprslpvr (mobile/ultra mobile only) / gpio16 (desktop only) o deeper sleep - voltage regulator: this signal is used to lower the voltage of vrm during the c4 state. when the signal is high, the voltage regulator outputs the lower ?deeper sleep? voltage. when low (default), the voltage regulator ou tputs the higher ?normal? voltage. dprstp# (mobile/ultra mobile only) / tp1 (desktop only) o deeper stop: this is a copy of the dprslpvr and it is active low. table 2-13. processor interface signals (sheet 1 of 3) name type description a20m# o mask a20: a20m# will go active based on either setting the appropriate bit in the port 92h register, or base d on the a20gate input being active. cpuslp# o cpu sleep: this signal puts the proce ssor into a state that saves substantial power compared to stop-g rant state. however, during that time, no snoops occur. the intel ? ich7 can optionally assert the cpuslp# signal when going to the s1 state. (desktop only) reserved. (mobile/ultra mobile only) ferr# i numeric coprocessor error: this signal is tied to the coprocessor error signal on the processor. ferr# is only used if the ich7 coprocessor error reporting function is enabled in the oic.cen register (chipset config registers:offset 31ffh: bit 1). if fe rr# is asserted, the ich7 generates an internal irq13 to its interrupt controller unit. it is also used to gate the ignne# signal to ensure that ignne # is not asserted to the processor unless ferr# is active. ferr# requir es an external weak pull-up to ensure a high level when the coproc essor error function is disabled. note: ferr# can be used in some states for notification by the processor of pending interrupt ev ents. this functionality is independent of the oic register bit setting. table 2-12. power management interface signals (sheet 3 of 3) name type description free datasheet http://www..net/
intel ? ich7 family datasheet 67 signal description ignne# o ignore numeric error: this signal is connected to the ignore error pin on the processor. ignne# is only us ed if the ich7 coprocessor error reporting function is enabled in th e oic.cen register (chipset config registers:offset 31ffh: bit 1). if ferr # is active, indicating a coprocessor error, a write to the coprocessor error register (i/o register f0h) causes the ignne# to be asserted. ignne# remains asserted until ferr# is negated. if ferr# is not asserted when the coproc essor error register is written, the ignne# signal is not asserted. init# o initialization: init# is asserted by the ich7 for 16 pci clocks to reset the processor. ich7 can be configured to support proces sor built in self test (bist). init3_3v# (desktop and mobile only) o initialization 3.3 v: this is the identical 3.3 v copy of init# intended for firmware hub. intr o cpu interrupt: intr is asserted by the ich7 to signal the processor that an interrupt reques t is pending and needs to be serviced. it is an asynchronous output and normally driven low. nmi o non-maskable interrupt: nmi is used to force a non-maskable interrupt to the processor. the ich7 can generate an nmi when either serr# is asserted or iochk# goes active vi a the serirq# stream. the processor detects an nmi when it detects a risi ng edge on nmi. nmi is reset by setting the corresponding nmi source en able/disable bit in the nmi status and control register (i/o register 61h). smi# o system management interrupt: smi# is an active low output synchronous to pciclk. it is asserted by the ich7 in response to one of many enabled hardware or software events. stpclk# o stop clock request: stpclk# is an active low output synchronous to pciclk. it is asserted by the ich7 in response to one of many hardware or software events. wh en the processor samples stpclk# asserted, it responds by stopping its internal clock. rcin# i keyboard controller reset cpu: the keyboard controller can generate init# to the processor. this saves th e external or gate with the ich7?s other sources of init#. when the ic h7 detects the assertion of this signal, init# is generated for 16 pci clocks. note: the ich7 will ignore rcin# assert ion during transitions to the s1, s3, s4, and s5 states. table 2-13. processor interf ace signals (sheet 2 of 3) name type description free datasheet http://www..net/
signal description 68 intel ? ich7 family datasheet 2.14 smbus interface 2.15 system management interface a20gate i a20 gate: a20gate is from the keyboard cont roller. the signal acts as an alternative method to force the a20m# signal active. it saves the external or gate needed with various other chipsets. cpupwrgd / gpio49 o cpu power good: this signal should be connected to the processor?s pwrgood input to indicate when the cpu power is valid. this is an output signal that represents a logical and of the ich7?s pwrok and vrmpwrgd signals. this signal may optionally be configured as a gpio. dpslp# (mobile/ultra mobile only) / tp2 (desktop only) o deeper sleep: dpslp# is asserted by the ich7 to the processor. when the signal is low, the processor enters the deep sleep state by gating off the processor core clock inside the processor. when the signal is high (default), the processor is not in the deep sleep state. table 2-14. sm bus interface signals name type description smbdata i/od smbus data: external pull-up resi stor is required. smbclk i/od smbus clock: external pull-up re sistor is required. smbalert# / gpio11 i smbus alert: this signal is used to wa ke the system or generate smi#. if not used for smbalert#, it can be used as a gpio. table 2-15. system manage ment interface signals name type description intruder# i intruder detect: this signal can be set to disable the system if the chasis is detected open. this signal?s status is readab le, so it can be used like a gpio if the intruder detection is not needed. smlink[1:0] (desktop and mobile only) i/od system management link: these signals provide a smbus link to optional external system management asic or lan controller. external pull-ups are required. note that smlink0 corresponds to an smbus clock signal, and smlink1 corresponds to an smbus data signal. linkalert# (desktop and mobile only) i/od smlink alert: this signal is an output of the integrated lan and input to either the integrated asf or an external management controller in order for the lan?s smlink slave to be serviced. table 2-13. processor interface signals (sheet 3 of 3) name type description free datasheet http://www..net/
intel ? ich7 family datasheet 69 signal description 2.16 real time clock interface 2.17 other clocks table 2-16. real time clock interface name type description rtcx1 special crystal input 1: this signal is connected to the 32.768 khz crystal. if no external crystal is used, rtcx1 ca n be driven with the desired clock rate. rtcx2 special crystal input 2: this signal is connected to the 32.768 khz crystal. if no external crystal is used, rt cx2 should be left floating. table 2-17. other clocks name type description clk14 i oscillator clock: this clock signal is used for the 8254 timers. it runs at 14.31818 mhz. this clock is permitte d to stop during s3 (or lower) states. clk48 i 48 mhz clock: this clock signal is used to run the usb controller. it runs at 48.000 mhz. this clock is permitte d to stop during s3 (or lower) states. sata_clkp sata_clkn (desktop and mobile only) i 100 mhz differential clock: these signals are used to run the sata controller at 100 mhz. this clock is permitted to stop during s3/s4/s5 states. dmi_clkp, dmi_clkn i 100 mhz differential clock: these signals are used to run the direct media interface. they run at 100 mhz. free datasheet http://www..net/
signal description 70 intel ? ich7 family datasheet 2.18 miscellaneous signals table 2-18. miscellaneous signals name type description intvrmen (desktop and mobile only) i internal voltage regulator enable: this signal enab les the internal 1.05 v suspend regulator when connected to vccrtc. when connected to vss, the internal regulator is disabled spkr o speaker: the spkr signal is the output of counter 2 and is internally ?anded? with port 61h bit 1 to provide speaker data enable. this signal drives an external speaker driver device, which in turn drives the system speaker. upon pltrst#, its output state is 0. note: spkr is sampled at the rising edge of pwrok as a functional strap. see section 2.24.1 for more details. there is a weak integrated pull-down re sistor on spkr pin. rtcrst# (desktop and mobile only) i rtc reset: when asserted, this signal rese ts register bits in the rtc well. notes: 1. unless cmos is bein g cleared (only to be done in the g3 power state), the rtcrst# input must be high when all other rtc power planes are on. 2. in the case where the rtc battery is dead or missing on the platform, the rtcrst# pin must rise before the rsmrst# pin. tp0 (desktop only) / batlow# (mobile/ultra mobile only) i test point 0: this signal must have an external pull-up to vccsus3_3. tp1 (desktop only) / dprstp# (mobile/ultra mobile only) o test point 1: route signal to a test point. tp2 (desktop only) / dpslp# (mobile/ultra mobile only) o test point 2: route signal to a test point. tp3 i/o test point 3: route signal to a test point. free datasheet http://www..net/
intel ? ich7 family datasheet 71 signal description 2.19 ac ?97/intel ? high definition audio link note: ac ?97 is not supported on ultra mobile. table 2-19. ac ?97/intel ? high definition audio link signals name 1,2 notes: 1. some signals have integrated pull-u ps or pull-downs. consult table in section 3.1 for details. 2. intel high definition audio mode is selected through d30:f1:40h, bit 0: az/ac97#. this bit selects the mode of the shared intel high definition audio/ac ?97 signals. when set to 0 ac ?97 mode is selected. when set to 1 intel high definition audio mode is selected. the bit defaults to 0 (ac ?97 mode). type description acz_rst# o ac ?97/intel ? high definition audio reset: this signal is the master hardware reset to external codec(s). acz_sync o ac ?97/intel high definition audio sync: this signal is a 48 khz fixed rate sample sync to the codec(s). it is also used to encode the stream number. acz_bit_clk i/o ac ?97 bit clock input: this signal is a 12.288 mhz serial data clock generated by the external codec(s). this signal has an integrated pull-down resistor (see note below). intel high definition audio bit clock output: this signal is a 24.000 mhz serial data clock generated by the intel high definition audio controller (the intel ? ich7). this signal has an integrated pull- down resistor so that acz_bit_clk doesn?t float when an intel high definition audio codec (or no codec) is connected but the signals are temporarily configured as ac ?97. acz_sdout o ac ?97/intel high definition audio serial data out: this signal is the serial tdm data output to th e codec(s). this serial output is double-pumped for a bit rate of 48 mb/s for intel high definition audio. note: acz_sdout is sampled at the rising edge of pwrok as a functional strap. see section 2.24.1 for more details. there is a weak integrated pull-down re sistor on the acz_sdout pin. acz_sdin[2:0] i ac ?97/intel high definition audio serial data in [2:0]: these signals are serial tdm data inputs from the three codecs. the serial input is single-pumped for a bi t rate of 24 mb/s for intel ? high definition audio. these signals ha ve integrated pu ll-down resistors that are always enabled. az_dock_en# (mobile only) / gpio33 i/o high definition audio dock enable: this signal controls the external intel hd audio docking isolation logic. this is an active low signal. when deasserted, the external docking switch is in isolate mode. when asserted, the external docking switch electrically connects the intel hd audio dock signals to the corresponding intel ? ich7 signals. this signal is shared with gpio33 . this signal defaults to gpio33 mode after pltrst# reset and will be in the high state after pltrst# reset. bios is responsible for configuring gpio33 to az_dock_en# mode. az_dock_rst# (mobile only) / gpio34 i/o high definition audio dock reset: this signal is a dedicated az_rst# signal for the codec(s) in the docking station. aside from operating independently from th e normal acz_rst# signal, it otherwise works similarly to the acz_rst# signal. this signal is shared with gpio34 . this signal defaults to gpio34 mode after pltrst# reset and will be in the low state after pltrst# reset. bios is responsible for configuring gpio34 to az_dock_rst# mode. free datasheet http://www..net/
signal description 72 intel ? ich7 family datasheet 2.20 serial peripheral interface (spi) (desktop and mobile only) 2.21 intel ? quick resume technology (intel ? ich7dh only) 2.22 general purpose i/o signals table 2-20. serial peripheral interface (spi) signals name type description spi_cs# i/o spi chip select: this chip select signal is also used as the spi bus request signal. spi_miso i spi master in slave out: this signal is th e data input pin for intel ? ich7. spi_mosi o spi master out slave in: this signal is the data output pin for ich7. spi_arb i spi arbitration: spi_arb is the spi arbitration signal used to arbitrate the spi bus with intel pro 82573e gigabit ethernet controller when shared flash is implemented. spi_clk o spi clock: this signal is the spi cloc k signal. during idle, the bus owner will drive the clock signal low. 17.86 mhz. signal name type description el_rsvd / gpio26 i/o intel ? quick resume technology reserved: this signal is reserved and should be left as a no connect when intel quick resume technology is enabled. note: this signal cannot be reused as a gpio when intel quick resume technology is enabled. el_state[1:0] / gpio[28:27] i/o intel quick resume technology state: intel quick resume technology status signal s that may optionally be used to drive front chassis indicators. see section 5.26.3 for details. table 2-21. general purpose i/o signals (sheet 1 of 3) name 1,2 type tolerance power well default description gpio49 i/o v_cpu_io v_cpu_io native multiplexed with cpupwrgd gpio48 i/o 3.3 v core native m ultiplexed with gnt4# gpio[47:40] n/a n/a n/a n/a not implemented. gpio[39:38] (desktop and mobile only) i/o 3.3 v core gpi unmultiplexed. gpio37 (desktop and mobile only) i/o 3.3 v core gpi multiplexed with sata3gp. free datasheet http://www..net/
intel ? ich7 family datasheet 73 signal description gpio36 (desktop and mobile only) i/o 3.3 v core gpi multiplexed with sata2gp. gpio35 (desktop and mobile only) i/o 3.3 v core gpo multiplexed with sataclkreq#. gpio34 (desktop and mobile only) i/o 3.3 v core gpo mobile only: multiplexed with az_dock_rst#. desktop only: unmultiplexed. gpio33 (desktop and mobile only) i/o 3.3 v core gpo mobile only: multiplexed with az_dock_en#. desktop only: unmultiplexed. gpio32 (desktop only) i/o 3.3 v core gpo mobile/ultra mobile only: this gpio is not impl emented and is used instead as clkrun#. desktop only: unmultiplexed. gpio31 i/o 3.3 v resume native multiplexed with oc7# gpio30 i/o 3.3 v resume native multiplexed with oc6# gpio29 i/o 3.3 v resume native multiplexed with oc5# gpio28 (desktop and mobile only) i/o 3.3 v resume gpo intel ? ich7, ich7r, and mobile only: unmultiplexed. ich7dh only: multiplexed with el_state1 gpio27 (desktop and mobile only) i/o 3.3 v resume gpo intel ? ich7, ich7r, and mobile only: unmultiplexed. ich7dh only: multiplexed with el_state0 gpio26 (desktop and mobile only) i/o 3.3 v resume gpo intel ? ich7, ich7r, and mobile only: unmultiplexed. ich7dh only: multiplexed with el_rsvd gpio25 (desktop and mobile only) i/o 3.3 v resume gpo unmultiplexed. gpio24 (desktop and mobile only) i/o 3.3 v resume gpo unmultiplexed. not cleared by cf9h reset event. gpio23 (desktop and mobile only) i/o 3.3 v core native multiplexed with ldrq1# gpio22 i/o 3.3 v core native m ultiplexed with req4# gpio21 (desktop and mobile only) i/o 3.3 v core gpi multiplexed with sata0gp. gpio20 (desktop only) i/o 3.3 v core gpo mobile/ultra mobile only: gpio is not implemented and is used instead as stp_cpu#. desktop only: unmultiplexed. table 2-21. general purpose i/o signals (sheet 2 of 3) name 1,2 type tolerance power well default description free datasheet http://www..net/
signal description 74 intel ? ich7 family datasheet 2.23 power and ground gpio19 (desktop and mobile only) i/o 3.3 v core gpi multiplexed with sata1gp. gpio18 (desktop only) i/o 3.3 v core gpo mobile/ultra mobile only: gpio is not implemented and is used instead as stp_pci#. desktop only: unmultiplexed. gpio17 i/o 3.3 v core gpo multiplexed with gnt5#. gpio16 i/o 3.3 v core native (mobile/ ultra mobile) / gpo (desktop) mobile/ultra mobile only: natively used as dprslpvr. desktop only: unmultiplexed. gpio[15:12] i/o 3.3 v resume gpi unmultiplexed. gpio11 i/o 3.3 v resume native m ultiplexed with smbalert# gpio[10:8] i/o 3.3 v resume gpi unmultiplexed. gpio[7:6] i/o 3.3 v core gpi unmultiplexed. gpio[5:2] i/od 5 v core gpi multiplexed with pirq[h:e]#. gpio1 i/o 5 v core gpi multiplexed with req5#. gpio0 (desktop only) i/o 3.3 v core gpi mobile/ultra mobile only: multiplexed with bm_busy#. desktop only: unmultiplexed notes: 1. gpi[15:0] can be configured to cause a smi# or sci. note that a gpi can be routed to either an smi# or an sci, but not both. 2. some gpios exist in the vccsus3_3 power plane. care mu st be taken to make sure gpio signals are not driven high into powered-down planes. some ich7 gpios may be connected to pins on devices that exist in the core well. if these gpios are outputs, there is a danger that a loss of core power (pwrok low) or a power button override event will result in the intel ich7 driving a pi n to a logic 1 to another device that is powered down. table 2-22. power and ground signals (sheet 1 of 3) name description vcc3_3 these pins provide the 3.3 v supply for core well i/o buffers (22pins). this power may be shut off in s3, s4, s5 or g3 states. vcc1_05 these pins provide the 1.05 v supply for core well logic (20 pins). this power may be shut off in s3, s4, s5 or g3 states. vcc1_5_a these pins provide the 1.5 v supply for lo gic and i/o (30 pins). this power may be shut off in s3, s4, s5 or g3 states. vcc1_5_b these pins provide the 1.5 v supply for lo gic and i/o (53 pins). this power may be shut off in s3, s4, s5 or g3 states. v5ref (desktop and mobile only) these pins provide the refere nce for 5 v tolerance on core well inputs (2 pins). this power may be shut off in s3, s4, s5 or g3 states. table 2-21. general purpose i/o signals (sheet 3 of 3) name 1,2 type tolerance power well default description free datasheet http://www..net/
intel ? ich7 family datasheet 75 signal description v5ref1 (ultra mobile only) these pins provide the reference for 5 v to lerance on core well inputs (1 pin). this power may be shut off in s3, s4, s5 or g3 states. v5ref2 (ultra mobile only) these pins provide the reference for 5 v to lerance on core well inputs (1 pin). this power may be shut off in s3, s4, s5 or g3 states. vccsus3_3 these pins provide the 3.3 v supply for re sume well i/o buffers (24 pins). this power is not expected to be shut off unless the system is unplugged in desktop configurations or the main battery is removed or completely drained and ac power is not available in mobile/ultra mobile configurations. vccsus1_05 these pins provide the 1.05 v supply for re sume well logic (5 pins). this power is not expected to be sh ut off unless the system is unplugged in desktop configurations or the main battery is removed or completely drained and ac power is not available in mobile/ultra mobile configurations. this voltage may be generated internally (see section 2.24.1 for strapping option). if generated internally, these pins should not be connected to an external supply. v5ref_sus this pin provides the reference for 5 v to lerance on resume we ll inputs (1 pin). this power is not expected to be shut off unless th e system is unplugged in desktop configurations or the main batt ery is removed or completely drained and ac power is not available in mo bile/ultra mobile configurations. vcclan3_3 (mobile only) these pins provide the 3.3 v supply for la n connect interface buffers (4 pins). this is a separate power plane that may or may not be powered in s3?s5 states depending upon the presence or absence of ac power and network connectivity. this plane must be on in s0 and s1. note: in desktop mode these signals are added to the vccsus3_3 group. vcclan1_05 (mobile only) these pins provide the 1.05 v supply for la n controller logic (2 pins). this is a separate power plane that may or ma y not be powered in s3?s5 states depending upon the presence or absence of ac power and network connectivity. this plane must be on in s0 and s1. note: this voltage will be generated internally if vccsus1_05 is generated internally (see section 2.24.1 for strapping option). if generated internally, these pins should not be connected to an external supply. note: in desktop mode these signals are added to the vccsus1_05 group. vccsushda (mobile/ultra mobile only) this pin provides the suspend supply for intel high definition audio (1 pins). this pin can be either 1.5 v or 3.3 v. th is power is not expected to be shut off unless the main battery is removed or co mpletely drained and ac power is not available in mobile/ultra mobile configurations. note: in desktop mode this signal is added to the vccsus3_3 group. vcchda (mobile/ultra mobile only) this pin provides the core supply for intel high definition audio (1 pin). this pin can be either 1.5 v or 3.3 v. this powe r may be shut off in s3, s4, s5 or g3 states. this plane must be on in s0 and s1. note: in desktop mode these signals are added to the vcc3_3 group. table 2-22. power and ground signals (sheet 2 of 3) name description free datasheet http://www..net/
signal description 76 intel ? ich7 family datasheet 2.24 pin straps 2.24.1 functional straps the following signals are used for static configuration. they are sampled at the rising edge of pwrok to select configurations (excep t as noted), and then revert later to their normal usage. to invoke the associated mode, the signal should be driven at least four pci clocks prior to the time it is sampled. vccrtc this pin provides the 3.3 v (can drop to 2.0 v min. in g3 state) supply for the rtc well (1 pin). this power is not ex pected to be shut off unless the rtc battery is removed or completely drained. note: implementations should not attempt to clear cmos by using a jumper to pull vccrtc low. clearing cmos in an intel ? ich7-based platform can be done by using a jumper on rtcrst# or gpi. vccusbpll (desktop and mobile only) this pin provides the 1.5 v supply for core well logic (1 pin). th is signal is used for the usb pll. this power may be shut o ff in s3, s4, s5 or g3 states. must be powered even if usb not used. vccdmipll this pin provides the 1.5 v supply for core well logic (1 pin). th is signal is used for the dmi pll. this powe r may be shut off in s3, s4, s5 or g3 states. vccsatapll (desktop and mobile only) this pin provides the 1.5 v supply for core well logic (1 pin). th is signal is used for the sata pll. this power may be shut off in s3, s4, s5 or g3 states. must be powered even if sata not used. v_cpu_io these pins are powered by the same su pply as the processor i/o voltage (3 pins). this supply is used to drive the processor interface signals listed in table 2-13 . vss grounds (194 pins). table 2-22. power and ground signals (sheet 3 of 3) name description table 2-23. functional strap definitions (sheet 1 of 3) signal usage when sampled comment acz_sdout xor chain entrance / pci express* port config bit 1 rising edge of pwrok allows entrance to xor chain testing when tp3 pulled low at rising edge of pwrok. see chapter 25 for xor chain functionality information. when tp3 not pulled low at rising edge of pwrok, sets bit 1 of rpc.pc (chipset configuration registers:offs et 224h). see section 7.1.34 for details. this signal has a weak internal pull-down. acz_sync pci express port config bit 0 rising edge of pwrok this signal has a weak internal pull-down. sets bit 0 of rpc.pc (chipset configuration registers:offs et 224h). see section 7.1.34 for details. ee_cs (desktop and mobile only) reserved this signal has a weak internal pull-down. note: this signal should not be pulled high. free datasheet http://www..net/
intel ? ich7 family datasheet 77 signal description ee_dout (desktop and mobile only) reserved this signal has a we ak internal pull-up. note: this signal should not be pulled low. gnt2# reserved this signal has a we ak internal pull-up. note: this signal should not be pulled low. gnt3# top-block swap override rising edge of pwrok the signal has a we ak internal pull-up. if the signal is sampled low, this indicates that the system is strapped to the ?top-block swap? mode (intel ? ich7 inverts a16 for all cycles targeting fwh bios space). the status of this strap is readable via the top swap bit (chipset configuration registers:offset 3414h:bit 0). note that software will not be able to clear the top-swap bit until the system is rebooted without gnt3# being pulled down. gnt5# / gpio17#, gnt4# / gpio48 boot bios destination selection rising edge of pwrok this field determines the de stination of accesses to the bios memory range. signals have weak internal pull-ups. also controllable via boot bios destination bit (chipset configuration registers:offset 3410h:bit 11:10) (gnt5# is msb) 01 = spi (desktop and mobile only) 10 = pci 11 = lpc gpio16 (desktop only) / dprslpvr (mobile/ultra mobile only) reserved this signal has a weak internal pull-down. note: this signal should not be pulled high. gpio25 dmi ac/dc coupling selection (desktop only) rising edge of rsmrst# this signal has a we ak internal pull-up. the internal pull-up is disabled within 100 ms after rsmrst# deasserts. if the signal is sampled high, the dmi interface is strapped to operate in dc coupled mode (no coupling capacitors are required on dmi differential pairs). if the signal is sampled low, the dmi interface is strapped to operate in ac coupled mode (coupling capacitors are required on dmi differential pairs). note: board designer must ensure that dmi implementation matches the strap selection. note: the signal must be held low at least 2 us after rsmrst# deassertion to enable ac coupled mode. intvrmen (desktop and mobile only) integrated vccsus1_05 vrm enable/ disable always enables integrated vccsus1_05 vrm when sampled high. table 2-23. functional strap definitions (sheet 2 of 3) signal usage when sampled comment free datasheet http://www..net/
signal description 78 intel ? ich7 family datasheet note: see section 3.1 for full details on pull-up/pull-down resistors. 2.24.2 external rtc circuitry to reduce rtc well power consumption, the ich7 implements an internal oscillator circuit that is sensitive to step voltage changes in vccrtc. figure 2-4 shows an example schematic recommended to ensure correct operation of the ich7 rtc. note: c1 and c2 depend on crystal load. linkalert# (desktop and mobile only) reserved this signal requires an external pull-up resistor. req[4:1]# xor chain selection rising edge of pwrok see chapter 25 for functionality information. sataled# (desktop and mobile only) reserved this signal has a weak inte rnal pull-up enabled only when pltrst# is asserted. note: this signal should not be pulled low. spkr no reboot rising edge of pwrok the signal has a weak inte rnal pull-down. if the signal is sampled high, this indicates that the system is strapped to th e ?no reboot? mode (ich7 will disable the tco timer system reboot feature). the status of this strap is readable via the no reboot bit (chipset co nfig registers:offset 3410h:bit 5). tp3 xor chain entrance rising edge of pwrok see chapter 25 for functionality information. this signal has a weak internal pull-up. note: this signal should not be pulled low unless using xor chain testing. table 2-23. functional strap definitions (sheet 3 of 3) signal usage when sampled comment figure 2-4. example external rtc circuit 32.768 khz xtal 1 f (20% tolerance) c2 15 pf (5% tolerance) vccrtc rtcx2 rtcx1 vbatt 1 f (20% tolerance) 1 k vccsus3_3 c1 15 pf (5% tolerance) + r1 10 m ? rtcrst# 20 k schottky diodes free datasheet http://www..net/
intel ? ich7 family datasheet 79 intel ? ich7 pin states 3 intel ? ich7 pin states 3.1 integrated pull-ups and pull-downs table 3-1. integrated pull-up and pull-down resistor s (sheet 1 of 2) signal resistor nominal notes acz_bit_clk, ac ?97 (desktop and mobile only) pull-down 20 k 1, 2, 3 acz_rst#, ac ?97 (desktop and mobile only) pull-down 20 k 1, 2, 4 acz_sdin[2:0], ac ?97 (desktop and mobile only) pull-down 20 k 2, 4 acz_sdout, ac ?97 (desktop and mobile only) pull-down 20 k 2, 4, 5 acz_sync, ac ?97 (desktop and mobile only) pull-down 20 k 2, 4, 5 acz_bit_clk, intel ? high definition audio pull-down 20 k 2, 6, 7 acz_rst#, intel high definition audio none n/a 2 acz_sdin[2:0], intel high definition audio pull-down 20 k 2, 4 acz_sdout, intel high defi nition audio pull-down 20 k 1, 2 acz_sync, intel high defini tion audio pull-down 20 k 2, 4 dd7 pull-down 11.5 k 8 ddreq pull-down 11.5 k 8 dprslpvr / gpio16 pull-down 20 k 4, 9 ee_cs (desktop and mobile only) pull-down 20 k 10, 11 ee_din (desktop and mobile only) pull-up 20 k 10 ee_dout (desktop and mobile only) pull-up 20 k 10 gnt[1:0] pull-up 20 k 10, 12 gnt[3:2], gnt4# / gpio48 gnt5# / gpio17 pull-up 20 k 10, 19 gpio25 pull-up 20 k 10, 13 lad[3:0]# / fhw[3:0]# pull-up 20 k 10 lan_clk (desktop and mobile only) pull-down 100 k 14 lan_rxd[2:0] (desktop and mobile only) pull-up 20 k 15 ldrq[0] pull-up 20 k 10 ldrq1 / gpio23 pull-up 20 k 10 pme# pull-up 20 k 10 pwrbtn# pull-up 20 k 10 sataled# pull-up 15 k 16 free datasheet http://www..net/
intel ? ich7 pin states 80 intel ? ich7 family datasheet notes: 1. the pull-down resistors on acz_bit_clk (ac ?97) and acz_rst# are enabled when either: - the lso bit (bit 3) in the ac ?97 global control register (d30:f2:2c) is set to 1, or - both function 2 and function 3 of device 30 are disabled. otherwise, the integrated pull -down resistor is disabled. 2. the ac ?97/intel high definition audio link si gnals may either all be configured to be an ac-link or an intel high definition audio link. 3. simulation data shows that these resistor values can range from 10 k to 20 k 4. simulation data shows that these resistor values can range from 9 k to 50 k . 5. the pull-down resistors on acz_sync (ac ?97) and acz_sdout (ac ?97) are enabled during reset and also enabled when either: - the lso bit (bit 3) in the ac ?97 global control register (d30:f2:2c) is set to 1, or - both function 2 and function 3 of device 30 are disabled. otherwise, the integrated pull -down resistor is disabled. 6. simulation data shows that these resistor values can range from 10 k to 40 k . 7. the pull-down on this signal (in intel high definition audio mode) is only enabled when in s3 cold . 8. simulation data shows that these resistor values can range from 5.7 k to 28.3 k . 9. the pull-up or pull-down on this signal is on ly enabled at boot/reset for strapping function. 10. simulation data shows that these resistor values can range from 15 k to 35 k 11. the pull-down on this signal is only enabled when lan_rst# is asserted. 12. the internal pull-up is enabled only when the pcirst# pin is driven low and the pwrok indication is high. 13. internal pull-up is enabled during rsmrst# and is disabled within 100 ms after rsmrst# de-asserts. 14. simulation data shows that these resistor values can range from 45 k to 170 k 15. simulation data shows that these resistor values can range from 15 k to 30 k . 16. simulation data shows that these resistor values can range from 10 k to 20 k . the internal pull-up is on ly enabled only during pltrst# assertion. 17. simulation data shows that these resistor values can range from 10 k w to 30 k w. 18. simulation data shows that these resistor values can range from 14.25 k to 24.8 k 19. the internal pull-up is enabled only when pcirst# is low. 3.2 ide integrated series termination resistors table 3-2 shows the ich7 ide signals that have integrated series termination resistors. note: simulation data indicates that the integrated series termination resistors are a nominal 33 but can range from 21 to 75 . spi_arb (desktop and mo bile only) pull-down 20 k 10 spi_clk (desktop and mo bile only) pull-down 20 k 10 spkr pull-down 20 k 4 tp3 pull-up 20 k 17 usb[7:0] [p,n] pull-down 15 k 18 table 3-1. integrated pull-up and pull-down resistors (sheet 2 of 2) signal resistor nominal notes table 3-2. ide series termination resistors signal integrated series te rmination resistor value dd[15:0], diow#, dior#, dreq, ddack#, iordy, da[2:0], dcs1#, dcs3#, ideirq approximately 33 (see note) free datasheet http://www..net/
intel ? ich7 family datasheet 81 intel ? ich7 pin states 3.3 output and i/o signals planes and states table 3-3 and table 3-4 show the power plane associated with the output and i/o signals, as well as the state at various times. within the table, the following terms are used: ?high-z? tri-state. ich7 not driving the signal high or low. ?high? ich7 is driving the signal to a logic 1 ?low? ich7 is driving the signal to a logic 0 ?defined? driven to a level that is defi ned by the function (will be high or low) ?undefined? ich7 is driving the sign al, but the value is indeterminate. ?running? clock is toggling or signal is transitioning because function not stopping ?off? the power plane is off, so ich7 is not driving note that the signal levels are the same in s4 and s5, except as noted. ich7 suspend well signal states are inde terminate and undefined and may glitch, including input signals acting as outputs, pr ior to rsmrst# deassertion. this does not apply to lan_rst#, slp_s3#, slp_s4# and slp_s5#. these signals are determinate and defined prior to rsmrst# deassertion. ich7 core well signal states are indetermin ate and undefined and may glitch, including input signals acting as outputs, prior to pwrok assertion. this does not apply to ferr# and thrmtrip#. these signals are determinate and defined prior to pwrok assertion. table 3-3. power plane and states for ou tput and i/o signals for desktop only configurations (sheet 1 of 5) signal name power plane during pltrst# 1 / rsmrst# 2 immediately after pltrst# 1 / rsmrst# 2 s1 s3 cold 3 s4/s5 pci express* petp[4:1], petn[4:1] petp[6:5], petn[6:5] (intel ? ich7r and ich7dh only) core high high 4 defined off off dmi dmi[3:0]txp, dmi[3:0]txn core high high 4 defined off off free datasheet http://www..net/
intel ? ich7 pin states 82 intel ? ich7 family datasheet pci bus ad[31:0] core low undefined defined off off c/be[3:0]# core low undefined defined off off devsel# core high-z high-z high-z off off frame# core high-z high-z high-z off off gnt[3:0]# gnt4# / gpio48 gnt5# / gpio17 core high-z with internal pull- up high high off off irdy#, trdy# core high-z high-z high-z off off par core low undefined defined off off pcirst# suspend low high high low low perr# core high-z high-z high-z off off plock# core high-z high-z high-z off off stop# core high-z high-z high-z off off lpc interface lad[3:0] / fwh[3:0] core high high high off off lframe# / fwh[4] core high high high off off lan connect and eeprom interface ee_cs suspend low running defined defined defined ee_dout suspend high high defined defined defined ee_shclk suspend high-z running defined defined defined lan_rstsync suspend high low defined defined defined lan_txd[2:0] suspend low low defined defined defined ide interface da[2:0] core undefined undefined undefined off off dcs1#, dcs3# core high high high off off dd[15:8], dd[6:0] core high-z high-z high-z off off dd[7] core low low low off off ddack# core high high high off off dior#, diow# core high high high off off sata interface sata[3:0]txp, sata[3:0]txn core high-z high-z defined off off sataled# core high-z high-z defined off off table 3-3. power plane and states for output and i/o signals for desktop only configurations (sheet 2 of 5) signal name power plane during pltrst# 1 / rsmrst# 2 immediately after pltrst# 1 / rsmrst# 2 s1 s3 cold 3 s4/s5 free datasheet http://www..net/
intel ? ich7 family datasheet 83 intel ? ich7 pin states satarbias core high-z high-z high-z off off sata3gp / gpio37 sata2gp / gpio36 sata1gp / gpio19 sata0gp / gpio21 core input input driven driven driven sataclkreq# / gpio35 core low low defined off off interrupts pirq[a:d]#, pirq[h:e]# / gpio[5:2] core high-z high-z high-z off off serirq core high-z high-z high-z off off usb interface usbp[7:0][p,n] suspend low low low low low usbrbias suspend high-z high-z defined defined defined oc[7:5]# / gpio[31:29] suspend input input driven driven driven power management pltrst# suspend low high high low low slp_s3# suspend low high high low low slp_s4# suspend low high high high low slp_s5# suspend low high high high low 5 sus_stat# suspend low high high low low susclk suspend low running processor interface a20m# core dependant on a20gate signal see note 6 high off off cpupwrgd / gpio49 core defined high 7 high off off cpuslp# core high high defined off off ignne# core high see note 6 high off off init# core high high high off off init3_3v# core high high high off off intr core see note 6 see note 8 low off off nmi core see note 6 see note 8 low off off smi# core high high high off off table 3-3. power plane and states for ou tput and i/o signals for desktop only configurations (sheet 3 of 5) signal name power plane during pltrst# 1 / rsmrst# 2 immediately after pltrst# 1 / rsmrst# 2 s1 s3 cold 3 s4/s5 free datasheet http://www..net/
intel ? ich7 pin states 84 intel ? ich7 family datasheet stpclk# core high high low off off smbus interface smbclk, smbdata suspend high-z high-z defined defined defined system management interface smlink[1:0] suspend high-z hi gh-z defined defined defined linkalert# suspend high-z high-z defined defined defined miscellaneous signals spkr core high-z with internal pull- down low defined off off ac ?97 interface acz_rst# suspend low low low low low acz_sdout core low running low off off acz_sync core low running low off off intel ? high definition audio interface acz_rst# suspend low low 9 running low low acz_sdout core high-z with internal pull- down running low off off acz_sync core high-z with internal pull- down running low off off acz_bit_clk core high-z with internal pull- down low9 low off off unmultiplexed gpio signals gpio[7:6, 0] core input input driven off off gpio[15:12,10:8] suspend input input driven driven driven gpio16 core low low defined off off gpio18 core high see note 10 defined off off gpio20 core high high defined off off gpio24 suspend no change no ch ange defined defined defined gpio25 suspend high high 11 defined defined defined gpio[28:26] suspend low low defined defined defined gpio[33:32] core high high defined off off gpio34 core low low defined off off table 3-3. power plane and states for output and i/o signals for desktop only configurations (sheet 4 of 5) signal name power plane during pltrst# 1 / rsmrst# 2 immediately after pltrst# 1 / rsmrst# 2 s1 s3 cold 3 s4/s5 free datasheet http://www..net/
intel ? ich7 family datasheet 85 intel ? ich7 pin states notes: 1. the states of vcc3_3 signal s are taken at the ti mes during pltrst# and immediately after pltrst#. 2. the states of vccsus3_3 signals are taken at the times during rsmrst# and immediately after rsmrst#. 3. in s3 hot , signal states are pl atform implementation specific, as some external components and interfaces may be powered when the ich7 is in the s3 hot state. 4. on the ich7, petp/n[4:1] are high until port is enabled by software. on the ich7r and ich7dh, petp/n[6:1] are high until port is enabled by software. 5. slp_s5# signals will be high in the s4 state. 6. ich7 drives these signals hi gh after the processor reset. 7. cpupwrgd represents a logical and of th e ich7?s vrmpwrgd an d pwrok signals, and thus will be driven low by the ich7 when ei ther vrmpwrgd or pwrok are inactive. during boot, or during a hard reset wi th power cycling, cpupwrgd will be expected to transition from low to high-z. 8. ich7 drives these signals low before pwro k rising and low after the processor reset. 9. low until intel high definition audio controller reset bit set (d27:f0:offset hdbar+08h:bit 0), at which time acz_rst# will be high and ac z_bit_clk will be running. 10. gpio18 will toggle at a frequency of approximately 1 hz when the ich7 comes out of reset 11. gpio25 transitions from pulled high internal ly to actively driven within 100 ms of the deassertion of the rsmrst# pin. gpio[39:38] core input input driven off off spi interface spi_cs# suspend high high high high high spi_mosi suspend high high high high high spi_clk suspend low low low low low intel ? quick resume technology interface (ich7dh only) el_rsvd / gpio26 suspend low low defined defined defined el_state[1:0] / gpio[28:27] suspend low low defined defined defined table 3-3. power plane and states for ou tput and i/o signals for desktop only configurations (sheet 5 of 5) signal name power plane during pltrst# 1 / rsmrst# 2 immediately after pltrst# 1 / rsmrst# 2 s1 s3 cold 3 s4/s5 free datasheet http://www..net/
intel ? ich7 pin states 86 intel ? ich7 family datasheet table 3-4. power plane and states for output and i/o signals for mobile/ultra mobile only configurations (sheet 1 of 4) signal name power plane during pltrst# 1 / rsmrst# 2 immediately after pltrst# 1 / rsmrst# 2 c3/c4 s1 s3 cold 3 s4/ s5 pci express* (mobile only) petp[6:1], petn[6:1] core high high 4 defined defined off off dmi dmi[3:0]txp, dmi[3:0]txn core high high 4 defined defined off off pci bus ad[31:0] core low undefined defined defined off off c/be[3:0]# core low undefined defined defined off off clkrun# core low low defined off off devsel# core high-z high-z high-z high-z off off frame# core high-z high-z high-z high-z off off gnt[3:0]# gnt4# / gpio48 gnt5# / gpio17 core high with internal pull- ups high high high off off irdy#, trdy# core high-z high-z high-z high-z off off par core low undefined defined defined off off pcirst# suspend low high high high low low perr# core high-z high-z high-z high-z off off plock# core high-z high-z high-z high-z off off stop# core high-z high-z high-z high-z off off lpc interface lad[3:0] / fwh[3:0] core high high high high off off lframe# / fwh[4] core high high high high off off lan connect and eeprom interface (mobile only) ee_cs lan low running defined defined note 5 note 5 ee_dout lan high high defined defined note 5 note 5 ee_shclk lan high-z running defined defined note 5 note 5 lan_rstsync lan high low defined defined note 5 note 5 lan_txd[2:0] lan low low defined defined note 5 note 5 ide interface da[2:0] core undefined undefined undefine d undefine d off off dcs1#, dcs3# core high high high high off off dd[15:8], dd[6:0] core high-z high-z defined high-z off off free datasheet http://www..net/
intel ? ich7 family datasheet 87 intel ? ich7 pin states dd[7] core low low defined low off off ddack# core high high high high off off dior#, diow# core high high high high off off sata interface (mobile only) sata[0]txp, sata[0]txn sata[2]txp, sata[2]txn core high-z high-z defined defined off off sataled# core high-z high-z defined defined off off satarbias core high-z high-z defined defined off off sata2gp / gpio36 sata0gp / gpio21 core input input driven driven driven sataclkreq# / gpio35 core low low defined defined off off interrupts pirq[a:d]#, pirq[h:e]# / gpio[5:2] core high-z high-z defined high-z off off serirq core high-z high-z running high-z off off usb interface usbp[7:0][p,n] suspend low low low low low low usbrbias suspend high-z high-z defined defined defined define d oc[7:5]# / gpio[31:29] suspend input input driven driven driven driven power management pltrst# suspend low high high high low low slp_s3# suspend low high high high low low slp_s4# suspend low high high high high low slp_s5# suspend low high high high high low 6 stp_pci# core high high defined high low low stp_cpu# core high high low high low low sus_stat# suspend low high high high low low dprslpvr core low low low/ high 7 high off off dprstp# core high high low/ high 7 high off off susclk suspend low running table 3-4. power plane and states for output and i/o signals for mobile/ultra mobile only configurations (sheet 2 of 4) signal name power plane during pltrst# 1 / rsmrst# 2 immediately after pltrst# 1 / rsmrst# 2 c3/c4 s1 s3 cold 3 s4/ s5 free datasheet http://www..net/
intel ? ich7 pin states 88 intel ? ich7 family datasheet processor interface a20m# core dependant on a20gate signal see note 8 defined high off off cpupwrgd / gpio49 core see note 9 high high high off off ignne# core high see note 8 high high off off init# core high high high high off off init3_3v# core high high high high off off intr core see note 10 see note 10 defined low off off nmi core see note 10 see note 10 defined low off off smi# core high high defined high off off stpclk# core high high low low off off dpslp# core high high high/low high off off smbus interface smbclk, smbdata suspend high-z high-z defined defined defined define d system management interface smlink[1:0] suspend high-z hi gh-z defined defined defined define d linkalert# suspend high-z high-z defined defined defined define d miscellaneous signals spkr core high-z with internal pull- down low defined defined off off ac ?97 interface (mobile only) acz_rst# suspend low low high cold reset bit (high) low low acz_sdout core low running running low off off acz_sync core low running running low off off intel ? high definition audio interface acz_rst# suspend low low 11 high tbd low low acz_sdout core high-z with internal pull- down running running low off off acz_sync core high-z with internal pull- down running running low off off table 3-4. power plane and states for output and i/o signals for mobile/ultra mobile only configurations (sheet 3 of 4) signal name power plane during pltrst# 1 / rsmrst# 2 immediately after pltrst# 1 / rsmrst# 2 c3/c4 s1 s3 cold 3 s4/ s5 free datasheet http://www..net/
intel ? ich7 family datasheet 89 intel ? ich7 pin states notes: 1. the states of vcc3_3 signal s are taken at the times during pltrst# and immediately after pltrst#. 2. the states of vccsus3_3 signals are taken at the times during rs mrst# and immediately after rsmrst#. 3. in s3 hot , signal states are pl atform implementation specific, as some external components and interfaces may be powered when the intel ? ich7 is in the s3 hot state. 4. petp/n[6:1] high until port is enabled by software. 5. lan connect and eeprom signal s will either be ?defined? or ?off? in s3?s5 states depending upon whether or not th e lan power planes are active. 6. slp_s5# signals will be high in the s4 state. 7. the state of the dprslpvr and dprstp# signals in c4 are high if deeper sleep is enabled or low if it is disabled. 8. ich7 drives these signals hi gh after the processor reset. 9. cpupwrgd is an output that represents a lo gical and of the intel ? ich7?s vrmpwrgd and pwrok signals, and thus will be driven low by ic h7 when either vrmpwrgd or pwrok are inactive. during boot, or during a hard reset with powe r cycling, cpupwrgd will be expected to transition from low to high. 10. iich7 drives these signals low before pwrok rising and low after the processor reset. acz_bit_clk core high-z with internal pull- down low 11 running low off off az_dock_rst# / gpio34 core low low 11 defined defined off off az_dock_en# / gpio33 core high high defined defined off off unmultiplexed gpio signals gpio[7:6] core input input driven driven off off gpio[15:12,10:8] suspend input input driven driven driven driven gpio18 core high see note 12 driven driven off off gpio19 core input input driven driven off off gpio24 suspend no change no ch ange defined defined defined define d gpio25 suspend high high 13 defined defined defined define d gpio[28:26] suspend low low defined defined defined define d gpio[39:37] core input input driven driven off off spi interface (mobile only) spi_cs# suspend high high high high high high spi_mosi suspend high high high high high high spi_arb suspend low low low low low low spi_clk suspend low low low low low low table 3-4. power plane and states for output and i/o signals for mobile/ultra mobile only configurations (sheet 4 of 4) signal name power plane during pltrst# 1 / rsmrst# 2 immediately after pltrst# 1 / rsmrst# 2 c3/c4 s1 s3 cold 3 s4/ s5 free datasheet http://www..net/
intel ? ich7 pin states 90 intel ? ich7 family datasheet 11. low until intel high definition audio controller reset bit set (d27:f0:offset hdbar+08h:bit 0), at which time acz_rst# will be high and acz_bit_clk will be running. 12. gpio18 will toggle at a frequency of approximately 1 hz when the ich7 comes out of reset 13. gpio25 transitions from pulled high internally to actively driven within 100 ms of the deassertion of the rsmrst# pin. 3.4 power planes for input signals table 3-5 and table 3-6 show the power plane associated with each input signal, as well as what device drives the signal at various times. valid states include: high low static: will be high or low, but will not change driven: will be high or low, and is allowed to change running: for input clocks ich7 suspend well signal states are indete rminate and undefined and may glitch prior to rsmrst# deassertion. this does not apply to lan_rst#, slp_s3#, slp_s4# and slp_s5#. these signals are determinate and defined prior to rsmrst# deassertion. ich7 core well signal states are indeterminate and undefined and may glitch prior to pwrok assertion. this does not apply to ferr# and thrmtrip#. these signals are determinate and defined prior to pwrok assertion. table 3-5. power plane for input signals for desktop only configurat ions (sheet 1 of 3) signal name power well driver during reset s1 s3 cold 1 s4/s5 a20gate core external microcontroller static low low acz_bit_clk (ac ?97 mode) core ac ?97 codec low low low acz_sdin[2:0] (ac ?97 mode) suspend ac ?97 codec low low low acz_sdin[2:0] (intel? high definition audio mode) suspend intel ? high definition audio codec low low low clk14 core clock generator running low low clk48 core clock generator running low low ddreq core ide device static low low dmi_clkp, dmi_clkn core clock generator running low low ee_din suspend eeprom component driven driven driven ferr# core processor static low low perp[4:1], pern[4:1] perp[6:5], pern[6:5] (intel ? ich7r and ich7dh only) core pci express* device driven driven driven dmi[3:0]rxp, dmi[3:0]rxn core (g)mch driven low low ideirq core ide static low low intruder# rtc external switch driven driven driven free datasheet http://www..net/
intel ? ich7 family datasheet 91 intel ? ich7 pin states intvrmen rtc external pull-up or pull-down driven driven driven iordy core ide device static low low lan_clk suspend lan connect component driven driven driven lan_rst# suspend external rc circuit high high high lan_rxd[2:0] suspend lan connect component driven driven driven ldrq0# core lpc devices high low low ldrq1# / gpio23 2 core lpc devices high low low mch_sync# core (g)mch driven low low oc[7:0]# suspend external pull-ups driven driven driven pciclk core clock generator running low low pme# suspend internal pull-up driven driven driven pwrbtn# suspend internal pull-up driven driven driven pwrok rtc system power supply driven low low rcin# core external microcontroller high low low req[3:0]#, req4# / gpio22 2 req5# / gpio12 2 core pci master driven low low ri# suspend serial port buffer driven driven driven rsmrst# rtc external rc circuit high high high rtcrst# rtc external rc circuit high high high sata_clkp, sata_clkn core clock generator running low low sata[3:0]rxp, sata[3:0]rxn core sata drive driven driven driven satarbias# core external pull-down driven driven driven sata[3:0]gp / gpio[31:29,26] 2 core external device or external pull-up/pull- down driven driven driven serr# core pci bus peripherals high low low smbalert# / gpio11 2 suspend external pull-up driven driven driven sys_reset# suspend external circuit driven driven driven thrm# core thermal sensor driven low low thrmtrip# core thermal sensor driven low low tp0 suspend external pull-up high high high tp3 suspend internal pull-up high high high usbrbias# suspend external pull-down driven driven driven vrmpwrgd core processor voltage regulator high low low table 3-5. power plane for input signals for desktop only configurations (sheet 2 of 3) signal name power well driver during reset s1 s3 cold 1 s4/s5 free datasheet http://www..net/
intel ? ich7 pin states 92 intel ? ich7 family datasheet notes: 1. in s3 hot , signal states are platform implementation specific, as some external components and interfaces may be powered when the ich7 is in the s3 hot state. 2. these signals can be configured as outputs in gpio mode. wake# suspend external pull-up driven driven driven spi_miso suspend external pull-up driven driven driven spi_arb suspend internal pull-down low low low table 3-5. power plane for input signals for desktop only configurat ions (sheet 3 of 3) signal name power well driver during reset s1 s3 cold 1 s4/s5 table 3-6. power plane for input signals for mobile/ultra mobile only configurations (sheet 1 of 3) signal name power well driver during reset c3/c4 s1 s3 cold 1 s4/s5 a20gate core external microcontroller static static low low acz_bit_clk (ac ?97 mode) (mobile only) core ac ?97 codec driven low low low acz_sdin[2:0] (ac ?97 mode) (mobile only) suspend ac ?97 codec driven low low low acz_sdin[2:0] (intel ? high definition audio mode) suspend intel ? high definition audio codec driven low low low bm_busy# / gpio0 1 core graphics component [(g)mch] driven high low low batlow# suspend power supply high high high high clk14 core clock generator running running low low clk48 core clock generator running running low low ddreq core ide device driven static low low dmi_clkp dmi_clkn core clock generator running running low low ee_din (mobile only) lan eeprom component driven driven note 2 note 2 ferr# core processor static static low low perp[6:1], pern[6:1] (mobile only) core pci express* device driven driven driven driven dmi[3:0]rxp, dmi[3:0]rxn core (g)mch driven driven low low ideirq core ide driven static low low intruder# rtc external switch driven driven driven driven intvrmen (mobile only) rtc external pull-up or pull- down driven driven driven driven free datasheet http://www..net/
intel ? ich7 family datasheet 93 intel ? ich7 pin states iordy core ide device static static low low lan_clk (mobile only) lan lan connect component driven driven note 2 note 2 lan_rst# (mobile only) suspend power supply high high static static lan_rxd[2:0] (mobile only) lan lan connect component driven driven note 2 note 2 ldrq0# core lpc devices driven high low low ldrq1# / gpio23 3 core lpc devices driven high low low mch_sync# core (g)mch driven driven low low oc[7:0]# suspend external pull-ups driven driven driven driven pciclk core clock generator running running low low pme# suspend internal pull-up driven driven driven driven pwrbtn# suspend internal pull-up driven driven driven driven pwrok rtc system power supply driven driven low low rcin# core external microcontroller high high low low req[3:0]#, req4# / gpio22 3 req5# / gpio1 3 core pci master driven driven low low ri# suspend serial port buffer driven driven driven driven rsmrst# rtc external rc circuit high high high high rtcrst# rtc external rc circuit high high high high sata_clkp, sata_clkn (mobile only) core clock generator running running low low sata[0]rxp, sata[0]rxn sata[2]rxp, sata[2]rxn (mobile only) core sata drive driven driven driven driven satarbias# (mobile only) core external pull-down driven driven driven driven sata[2,0]gp (mobile only) core external device or external pull-up/pull- down driven driven driven driven serr# core pci bus peripherals driven high low low smbalert# / gpio11 3 suspend external pull-up driven driven driven driven sys_reset# suspend external circ uit driven driven driven driven thrm# core thermal sensor driven driven low low table 3-6. power plane for input signals for mobile/ultra mobile only configurations (sheet 2 of 3) signal name power well driver during reset c3/c4 s1 s3 cold 1 s4/s5 free datasheet http://www..net/
intel ? ich7 pin states 94 intel ? ich7 family datasheet notes: 1. in s3 hot , signal states are platform implementation specific, as some external components and interfaces may be po wered when the intel ? ich7 is in the s3 hot state. 2. lan connect and eeprom sign als will either be ?driven? or ?low? in s3?s5 states depending upon whether or not th e lan power planes are active. 3. these signals can be configured as outputs in gpio mode. thrmtrip# core thermal sensor driven driven low low tp3 suspend internal pull-up high high high high usbrbias# suspend external pull-down driven driven driven driven vrmpwrgd core processor voltage regulator driven driven low low wake# suspend external pull-up driven driven driven driven spi_miso (mobile only) suspend external pull-up driven driven driven driven spi_arb (mobile only) suspend internal pull-down low low low low table 3-6. power plane for input signals for mobile/ultra mobile only configurations (sheet 3 of 3) signal name power well driver during reset c3/c4 s1 s3 cold 1 s4/s5 free datasheet http://www..net/
intel ? ich7 family datasheet 95 intel ? ich7 and system clock domains 4 intel ? ich7 and system clock domains table 4-1 shows the system clock domains. figure 4-1 and figure 4-2 show the assumed connection of the various system components, including the clock generator in desktop and mobile/ultra mobile system s. for complete details of the system clocking solution, refer to the system?s clock generator component specification. table 4-1. intel ? ich7 and system clock domains clock domain frequency source usage intel ? ich7 sata_clkp, sata_clkn (desktop and mobile only) 100 mhz main clock generator differential clock pair used for sata. ich7 dmi_clkp, dmi_clkn 100 mhz main clock generator differential clock pair used for dmi. ich7 pciclk 33 mhz main clock generator free-running pci clock to ich7. this clock remains on during s0 and s1 (in desktop) state, and is expected to be shut off during s3 or below in desktop configur ations or s1 or below in mobile/ultra mobile configurations. system pci 33 mhz main clock generator pci bus, lpc i/f. these on ly go to external pci and lpc devices. will stop ba sed on clkrun# (and stp_pci#) in mobile/ultra mobile configurations. ich7 clk48 48.000 mhz main clock generator super i/o, usb controllers. expected to be shut off during s3 or below in desktop configurations or s1 or below in mobile/ultra mobile configurations. ich7 clk14 14.31818 mhz main clock generator used for acpi timer an d multimedia timers. expected to be shut off during s3 or below in desktop configurations or s1 or below in mobile/ ultra mobile configurations. ich7 acz_bit_clk (desktop and mobile only) 12.288 mhz ac ?97 codec ac-link. generated by ac ?97 codec. can be shut by codec in d3. expected to be shut off during s3 or below in de sktop configurations or s1 or below in mobile configurations. note: for use only in ac ?97 mode. lan_clk (desktop and mobile only) 5 to 50 mhz lan connect component generated by the lan connect component. expected to be shut off during s3 or below in desktop configurations or s1 or below in mobile configurations. spi_clk (desktop and mobile only) 17.86 mhz ich generated by the lan connect component. expected to be shut off during s3 or below in desktop configurations or s1 or below in mobile configurations. free datasheet http://www..net/
intel ? ich7 and system clock domains 96 intel ? ich7 family datasheet figure 4-1. desktop only conc eptual system clock diagram figure 4-2. mobile only conceptual clock diagram intel ich7 pci clocks (33 mhz) clock gen. 14.31818 mhz 48.000 mhz 32 khz xtal susclk# (32 khz) lan connect 50 mhz ac ?97 codec(s) 12.288 mhz 33 mhz 14.31818 mhz 100 mhz diff. pair 1 to 6 differential clock fan out dev ice sata 100 mhz diff. pair dmi 100 mhz diff. pair pci express 100 mhz diff. pairs high definition audio codec(s) 24 mhz 48.000 mhz intel ich7-m 32 khz xtal susclk# (32 khz) 14.31818 mhz stp_cpu# stp_pci# pci clocks (33 mhz) clock gen. 14.31818 mhz 48 mhz lan connect 100 mhz di ff. pair 1 to 6 differential clock fan out device sata 100 mhz diff. pair dmi 100 mhz diff. pair pci express 100 mhz diff. pairs ac ?97 codec(s) 12.288 mhz high definition audio codec(s) 24 mhz 50 mhz 48.000 mhz 33 mhz free datasheet http://www..net/
intel ? ich7 family datasheet 97 intel ? ich7 and system clock domains figure 4-3. ultra mobile only conceptual clock diagram 33 mhz 14.31818 mhz 48.000 mhz stp_cpu# stp_pci# clock generator intel ? ich7-u pci clocks (33 mhz) 14.31818 mhz 48 mhz dmi 100 mhz diff pair high definition audio codec(s) 24 mhz 32 khz xtal susclk# (32 khz) free datasheet http://www..net/
intel ? ich7 and system clock domains 98 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 99 functional description 5 functional description this chapter describes the functions and interfaces of the ich7 family. 5.1 pci-to-pci bridge (d30:f0) the pci-to-pci bridge resides in pci device 30, function 0 on bus #0. this portion of the ich7 implements the buffering and co ntrol logic between pci and direct media interface (dmi). the arbitration for the pci bus is handled by this pci device. the pci decoder in this device must decode the rang es for the dmi. all register contents are lost when core well power is removed. direct media interface (dmi) is the chip-to-chip connection between the memory controller hub / graphics and memory cont roller hub ((g)mch) and i/o controller hub 7 (ich7). this high-speed interface integrates advanced priority-based servicing allowing for concurrent traffic and true isochronous transfer capabilities. base functionality is completely software transpar ent permitting current and legacy software to operate normally. to provide for true isochronous transfers and configurable quality of service (qos) transactions, the ich7 supports two virtual channels on dmi: vc0 and vc1. these two channels provide a fixed arbitration scheme where vc1 is the highest priority. vc0 is the default conduit of traffic for dmi and is always enabled. vc1 must be specifically enabled and configured at both ends of the dmi link (i.e., the ich7 and (g)mch). configuration registers for dmi, virtual ch annel support, and dmi active state power management (aspm) are in the rcrb sp ace in the chipset config registers ( section 7 ). 5.1.1 pci bus interface the ich7 pci interface supports pci local bus specification, revision 2.3, at 33 mhz. the ich7 integrates a pci arbiter that suppor ts up to six external pci bus masters in addition to the internal ich7 requests. 5.1.2 pci bridge as an initiator the bridge initiates cycles on the pci bus wh en granted by the pci arbiter. the bridge generates the following cycle types: 5.1.2.1 memory reads and writes the bridge bursts memory writes on pci that are received as a single packet from dmi. table 5-1. pci bridge initiator cycle types command c/be# notes i/o read/write 2h/3h non-posted memory read/write 6h/7h writes are posted configuration read/write ah/bh non-posted special cycles 1h posted free datasheet http://www..net/
functional description 100 intel ? ich7 family datasheet 5.1.2.2 i/o reads and writes the bridge generates single dw i/o read and write cycles. when the cycle completes on the pci bus, the bridge generates a corresp onding completion on dmi. if the cycle is retried, the cycle is kept in the down bound queue and may be passed by a postable cycle. 5.1.2.3 configuration reads and writes the bridge generates single dw configuration read and write cycles. when the cycle completes on the pci bus, the bridge gene rates a corresponding completion. if the cycle is retried, the cycle is kept in th e down bound queue and may be passed by a postable cycle. 5.1.2.4 locked cycles the bridge propagates locks from dmi per the pci local bus specification . the pci bridge implements bus lock, which means the arbiter will not grant to any agent except dmi while locked. if a locked read results in a target or mast er abort, the lock is not established (as per the pci local bus specification ). agents north of the ich7 must not forward a subsequent locked read to the bridge if th ey see the first one finish with a failed completion. 5.1.2.5 target / master aborts when a cycle initiated by the bridge is ma ster/target aborted, the bridge will not re- attempt the same cycle. for multiple dw cycles, the bridge increments the address and attempts the next dw of the transaction. for all non-postable cycles, a target abort response packet is returned for each dw that was master or target aborted on pci. the bridge drops posted writes that abort. 5.1.2.6 secondary master latency timer the bridge implements a master latency timer via the slt register which, upon expiration, causes the de-assertion of frame# at the next legal clock edge when there is another active request to use the pci bus. 5.1.2.7 dual address cycle (dac) the bridge will issue full 64-bit dual a ddress cycles for device memory-mapped registers above 4 gb. free datasheet http://www..net/
intel ? ich7 family datasheet 101 functional description 5.1.2.8 memory and i/o decode to pci the pci bridge in the ich7 is a subtractive decode agent , which follows the following rules when forwarding a cycle from dmi to the pci interface: ? the pci bridge will positively decode any memory/io address within its window registers, assuming pcicmd.mse (d30:f0:offset 04h:bit 1) is set for memory windows and pcicmd.iose (d30:f0:offset 04h:bit 0) is set for io windows. ? the pci bridge will subtractively decode any 64-bit memo ry address not claimed by another agent, assuming pcicmd.mse (d30:f0:offset 04h:bit 1) is set. ? the pci bridge will subtractively decode any 16-bit i/o address not claimed by another agent assuming pcicmd.iose (d30:f0:offset 04h:bit 0) set ? if bctrl.ie (d30:f0:offset 3eh:bit 2) is set, the pci bridge will not positively forward from primary to secondary called out ranges in the io window per pci local bus specification (i/o transactions addressing the last 768 bytes in each, 1-kb block: offsets 100h to 3ffh). the pci bridge will still take them subtractively assuming the above rules. ? if bctrl.vgae (d30:f0:offset 3eh:bit 3) is set, the pci bridge will positively forward from primary to secondary i/o and memory ranges as called out in the pci bridge specificatio n, assuming the above rules are met. 5.1.3 parity error detection and generation pci parity errors can be detected and repo rted. the following behavioral rules apply: ? when a parity error is detected on pci, the bridge sets the secsts.dpe (d30:f0:offset 1eh:bit 15). ? if the bridge is a master and bctrl.pere (d30:f0:offset 3eh:bit 0) and one of the parity errors defined below is detected on pci, then the bridge will set secsts.dpd (d30:f0:offset 1eh:bit 8) and will also generate an internal serr#. ? during a write cycle, the perr# signal is active, or ? a data parity error is detected while performing a read cycle ? if an address or command parity error is detected on pci and pcicmd.see (d30:f0:offset 04h:bit 8), bctrl.pere, and bctrl.see (d30:f0:offset 3eh:bit 1) are all set, the bridge will set the psts.sse (d30:f0:offset 06h:bit 14) and generate an internal serr#. ? if the psts.sse is set because of an ad dress parity error and the pcicmd.see is set, the bridge will generate an internal serr# ? when bad parity is detected from dmi, bad parity will be driven on all data the bridge. ? when an address parity error is detected on pci, the pci bridge will not claim the cycle. this is a slight deviation from the pci bridge spec, which says that a cycle should be claimed if bctrl.pere is not se t. however, dmi does not have a concept of address parity error, so claiming the cycle could result in the rest of the system seeing a bad transaction as a good transaction. 5.1.4 pcirst# the pcirst# pin is generated under two conditions: ? pltrst# active ? bctrl.sbr (d30:f0:offse t 3eh:bit 6) set to 1 the pcirst# pin is in the resume well. pcir st# should be tied to pci bus agents, but not other agents in the system. free datasheet http://www..net/
functional description 102 intel ? ich7 family datasheet 5.1.5 peer cycles the pci bridge may be the initiator of peer cycles. peer cycles include memory, io, and configuration cycle types. peer cycles are only allowed through vc0, and are enabled with the following bits: ? bpc.pde (d30:f0:offset 4ch:bit 2) ? memory and io cycles ? bpc.cde (d30:f0:offset 4ch:bit 1) ? configuration cycles when enabled for peer for one of the above cycle types, the pci bridge will perform a peer decode to see if a peer agent can receive the cycle. when not enabled, memory cycles (posted and/or non-posted) are sent to dmi, and i/o and/or configuration cycles are not claimed. configuration cycles have special considerations. under the pci local bus specification , these cycles are not allowed to be forwarded upstream through a bridge. however, to enable things such as manage ability, bpc.cde can be set. wh en set, type 1 cycles are allowed into the part. the address format of the type 1 cycle is slightly different from a standard pci configuration cycle to allow addr essing of extended pci space. the format is as follows: note: the ich7?s ac ?97, ide and usb controlle rs cannot perform peer-to-peer traffic. 5.1.6 pci-to-pci bridge model from a software perspective, the ich7 contains a pci-to-pci bridge. this bridge connects dmi to the pci bus. by using the pci-to-p ci bridge software model, the ich7 can have its decode ranges programmed by existing plug-and-play software such that pci ranges do not conflict with graphics aperture ranges in the host controller. note: all downstream devices should be disabled before reconfiguring the pci bridge. failure to do so may cause undefined results. table 5-2. type 1 address format bits definition 31:27 reserved (same as the pci local bus specification ) 26:24 extended configuration address ? allows addressing of up to 4k. these bits are combined with bits 7:2 to get the full register. 23:16 bus number (same as the pci local bus specification ) 15:11 device number (same as the pci local bus specification ) 10:8 function number (same as the pci local bus specification ) 7:2 register (same as the pci local bus specification ) 1 0 0 must be 1 to indicate a type 1 cy cle. type 0 cycles are not decoded. free datasheet http://www..net/
intel ? ich7 family datasheet 103 functional description 5.1.7 idsel to device number mapping when addressing devices on the external pci bus (with the pci slots), the ich7 asserts one address signal as an idsel. when a ccessing device 0, the ich7 asserts ad16. when accessing device 1, the ich7 asserts ad17. this mapping continues all the way up to device 15 where the ich7 asserts ad31 . note that the ich7?s internal functions (ac ?97 on desktop/mobile, intel high definition audio, ide, usb, sata on desktop/ mobile and pci bridge) are enumerated like they are off of a separate pci bus (dmi) from the external pci bus. the integrated lan controller (desktop and mobile only) is device 8 on the ich7?s pci bus, and hence it uses ad24 for idsel. 5.1.8 standard pci bus configuration mechanism the pci bus defines a slot based ?configuration space? that allows each device to contain up to eight functions with each function containing up to 256, 8-bit configuration registers. the pci local bus specification, revision 2.3 defines two bus cycles to access the pci configuration space: configuration read and configuration write. memory and i/o spaces are supported directly by the processor. configuration space is supported by a mapping mechan ism implemented within the ich7. the pci local bus specification, revision 2.3 defines two mechanisms to access configuration space, mechanism 1 and mechanism 2. the ich7 only supports mechanism 1. warning: configuration writes to internal devices, wh en the devices are disabled, are invalid and may cause undefined results. 5.2 pci express* root port s (d28:f0,f1,f2,f3,f4,f5) (desktop and mobile only) there are four root ports available in ich7, with select ich7 components (ich7r, ich7dh, and ich7-m dh) having six root ports adding port 5 and port 6 (see section 1.2 ). these all reside in device 28, and take function 0 ? 5. port 1 is function 0, port 2 is function 1, port 3 is function 2, po rt 4 is function 3, port 5 is function 4, and port 6 is function 5. optionally, pci express ports 1-4 can be configur ed as a single one x4 port identified as port 1. this is accomplished by placing external pull-up resistors on acz_sdout and acz_sync. when these signals are sampled high on pwrok assertion, this will be registered in the port configuration field of the root port configuration register and the corresponding ports will be configured as one x4 port. 5.2.1 interrupt generation the root port generates interrupts on behalf of hot-plug and power management events, when enabled. these interrupts can ei ther be pin based, or can be msis, when enabled. when an interrupt is generated via the legacy pin, the pin is internally routed to the ich7 interrupt controllers. the pin that is driven is based upon the setting of the chipset configuration registers. specifically, the chipset conf iguration registers used are the d28ip (base address + 310ch) and d28ir (base address + 3146h) registers. table 5-3 summarizes interrupt behavior for msi and wire-modes. in the table ?bits? refers to the hot-plug and pme interrupt bits. free datasheet http://www..net/
functional description 104 intel ? ich7 family datasheet 5.2.2 power management 5.2.2.1 s3/s4/s5 support software initiates the transition to s3/s4/s5 by performing an io write to the power management control register in the ich7. after the io write completion has been returned to the processor, each root port will send a pme_turn_off tlp (transaction layer packet) message on it's downstream link. the device attached to the link will eventually respond with a pme_to_ack tlp message followed by sending a pm_enter_l23 dllp (data link layer packet) request to enter the l2/l3 ready state. when all of the ich7 root ports links are in the l2/l3 ready state, the ich7 power management control logic will proceed with the entry into s3/s4/s5. prior to entering s3, software is re quired to put each device into d3 hot . when a device is put into d3 hot , it will initiate entry into a l1 link state by sending a pm_enter_l1 dllp. thus, under normal operating cond itions when the root ports sends the pme_turn_off message, the link will be in state l1. however, when the root port is instructed to send the pme_turn_off message , it will send it whether or not the link was in l1. endpoints attached to the ich7 can make no assumptions about the state of the link prior to receiving a pme_turn_off message. 5.2.2.2 resuming from suspended state the root port contains enough circuitry in the resume well to detect a wake event thru the wake# signal and to wake the system . when wake# is detected asserted, an internal signal is sent to the power manage ment controller of the ich7 to cause the system to wake up. this internal message is not logged in any register, nor is an interrupt/gpe generated due to it. 5.2.2.3 device initia ted pm_pme message when the system has returned to a working state from a previous low power state, a device requesting service will send a pm_p me message continuously, until acknowledge by the root port. the root port will take di fferent actions depending upon whether this is the first pm_pme has been received, or whether a previous message has been received but not yet serviced by the operating system. if this is the first message received (rsts.ps - d28:f0/f1/f2/f3/f4/f5:offset 60h:bit 16 is cleared), the root port will set rsts.ps, and log the pme requester id into rsts.rid (d28:f0/f1/f2/f3/f4/f5:offset 60h:bits 15:0). if an interrupt is enabled via table 5-3. msi vs. pci irq actions interrupt register wire- mode action msi action all bits 0 wire inactive no action one or more bits set to 1 wire active send message one or more bits set to 1, new bit gets set to 1 wire active send message one or more bits set to 1, software clears some (but not all) bits wire active send message one or more bits set to 1, software clears all bits wire inactive no action software clears one or more bi ts, and one or more bits are set on the same clock wire active send message free datasheet http://www..net/
intel ? ich7 family datasheet 105 functional description rctl.pie (d28:f0/f1/f2/f3/f4/f5:offset 5ch: bit 3), an interrupt will be generated. this interrupt can be either a pin or a msi if msi is enabled via mc.msie (d28:f0/f1/ f2/f3/f4/f5:offset 82h:bit 0). see section 5.2.2.4 for smi/sci generation. if this is a subsequent message received (rst s.ps is already set), the root port will set rsts.pp (d28:f0/f1/f2/f3/f4/f5:offset 60h:bit 17) and log the pme requester id from the message in a hidden register. no other action will be taken. when the first pme event is cleared by softwa re clearing rsts.ps, the root port will set rsts.ps, clear rsts.pp, and move the requester id from the hidden register into rsts.rid. if rctl.pie is set, generate an interrupt. if rctl.pie is no t set, send over to the power management controller so that a gpe can be set. if messages have been logged (rsts.ps is set), and rctl.pie is later wri tten from a 0 to a 1, and interrupt must be generated. this last condition handles the case where the message was received prior to the operating system re-enabling interru pts after resuming from a low power state. 5.2.2.4 smi/sci generation interrupts for power management events are not supported on legacy operating systems. to support power management on non-pci express aware operating systems, pm events can be routed to generate sci. to generate sci, mpc. pmce must be set. when set, a power management event will cause smscs.pmcs (d28:f0/f1/f2/f3/f4/ f5:offset dch:bit 31) to be set. additionally, bios workarounds for power management can be supported by setting mpc.pmme (d28:f0/f1/f2/f3/f4/f5:offset d8 h:bit 0). when this bit is set, power management events will set smscs.pmms (d28:f0/f1/f2/f3/f4/f5:offset dch:bit 0), and smi # will be generated. this bit will be set regardless of whether interrupts or sci is enabled. the smi# may occur conc urrently with an interrupt or sci. 5.2.3 serr# generation serr# may be generated via two paths ? thro ugh pci mechanisms involving bits in the pci header, or through pci express mechan isms involving bits in the pci express capability structure. figure 5-1. generation of serr# to platform psts.sse serr# pcicmd.see secondary parity error primary parity error secondary serr# correctable serr# fatal serr# non-fatal serr# pci pci express free datasheet http://www..net/
functional description 106 intel ? ich7 family datasheet 5.2.4 hot-plug each root port implements a hot-plug controller which performs the following: ? messages to turn on / off / blink leds ? presence and attention button detection ? interrupt generation the root port only allows hot-plug with modules (e.g., expresscard*). edge-connector based hot-plug is not supported. 5.2.4.1 presence detection when a module is plugged in and power is supplied, the physical layer will detect the presence of the device, and the root po rt sets slsts.pds (d28:f0/f1/f2/f3/f4/ f5:offset 5ah:bit 6) and slsts.pdc (d28:f0/f1/f2/f3:offset 6h:bit 3). if slctl.pde (d28:f0/f1/f2/f3f4/f5:offset 58h:bit 3) and slctl.hpe (d28:f0/f1/f2/f3f4/ f5:offset 58h:bit 5) are both set, the root port will also generate an interrupt. when a module is removed (via the physical layer detection), the root port clears slsts.pds and sets slsts.pdc. if slctl.pde and slctl.hpe are both set, the root port will also generate an interrupt. 5.2.4.2 message generation when system software writes to slctl.aic (d28:f0/f1/f2/f3f4/f5:offset 58h:bits 7:6) or slctl.pic (d28:f0/f1/f2/f3f4/f5:offset 58h:bits 9:8), the root port will send a message down the link to change the state of leds on the module. writes to these fields are non-postable cycles, and the resulting message is a postable cycle. when receiving one of these writes , the root port performs the following: ? changes the state in the register. ? generates a completion into the upstream queue ? formulates a message for the downstream port if the field is written to regardless of if the field changed. ? generates the message on the downstream port ? when the last message of a command is transmitted, sets slsts.cce (d28:f0/f1/ f2/f3f4/f5:offset 58h:bit 4) to indi cate the command has completed. if slctl.cce and slctl.hpe (d28:f0/f1/f2/f3f4/f5:offset 58h:bit 5) are set, the root port generates an interrupt. the command completed register (slsts.cc) applies only to commands issued by software to control the attention indicator (slctl.aic), power in dicator (slctl.pic), or power controller (slctl.pcc). however, wr ites to other parts of the slot control register would invariably end up writing to the indicators, power controller fields; hence, any write to the slot control register is considered a command and if enabled, will result in a command complete interrupt. the only exception to this rule is a write to disable the command complete interrupt whic h will not result in a command complete interrupt. a single write to the slot control register is considered to be a single command, and hence receives a single command complete, even if the write affects more than one field in the slot control register. free datasheet http://www..net/
intel ? ich7 family datasheet 107 functional description 5.2.4.3 attention button detection when an attached device is ejected, an a ttention button could be pressed by the user. this attention button press will result in a the pci express message ?attention_button_pressed? from the device . upon receiving this message, the root port will set slsts.abp (d28:f0/f1/f2/f3f4/f5:offset 5ah:bit 0). if slctl.abe (d28:f0/f1/f2/f3f4/f5:offset 58h:bit 0) and slctl.hpe (d28:f0/f1/f2/ f3f4/f5:offset 58h:bit 5) are set, the hot-plug controller will also generate an interrupt. the interrupt is generated on an edge-event. for example, if slsts.abp is already set, a new interrupt will not be generated. 5.2.4.4 smi/sci generation interrupts for hot-plug events are not supp orted on legacy operating systems. to support hot-plug on non-pci express aware operating systems, hot-plug events can be routed to generate sci. to generate sc i, mpc.hpce (d28:f0/f1/f2/f3f4/f5:offset d8h:bit 30) must be set. when set, enab led hot-plug events will cause smscs.hpcs (d28:f0/f1/f2/f3f4/f5:offset dch:bit 30) to be set. additionally, bios workarounds for hot-plug can be supported by setting mpc.hpme (d28:f0/f1/f2/f3f4/f5:offset d8h:bit 1). when this bit is set, hot-plug events can cause smi status bits in smscs to be se t. supported hot-plug events and their corresponding smscs bit are: ? command completed - scscs.hpccm (d28:f0/f1/f2/f3/f4/f5:offset dch:bit 3) ? presence detect changed - smscs.hppdm (d28:f0/f1/f2/f3/f4/f5:offset dch:bit 1) ? attention button pressed - smscs.hpabm (d28:f0/f1/f2/f3/f4/f5:offset dch:bit 2) ? link active state changed - smscs.hplas (d28:f0/f1/f2/f3/f4/f5:offset dch:bit 4) when any of these bits are set, smi # will be generated. these bits are set regardless of whether interrupts or sci is enabled for hot-plug events. the smi# may occur concurrently with an interrupt or sci. free datasheet http://www..net/
functional description 108 intel ? ich7 family datasheet 5.3 lan controller (b1:d8:f0) (desktop and mobile only) the ich7?s integrated lan controller includ es a 32-bit pci controller that provides enhanced scatter-gather bus mastering capabilities and enables the lan controller to perform high-speed data transfers over the pci bus. its bus master capabilities enable the component to process high level command s and perform multiple operations; this lowers processor utilization by off-loading communication tasks from the processor. two large transmit and receive fifos of 3 kb each, help prevent data underruns and overruns while waiting for bus accesses. this enables the integrated lan controller to transmit data with minimum interframe spacing (ifs). the ich7 integrated lan controller can operate in either full-duplex or half-duplex mode. in full- duplex mode the lan controller adheres with the ieee 802.3x flow control specification . half duplex performance is enhanced by a proprietary collision reduction mechanism. the integrated lan controller also includes an interface to a serial (4-pin) eeprom. the eeprom provides power-on initialization for hardware and software configuration parameters. from a software perspective, the integrated lan controller appears to reside on the secondary side of the ich7?s virtual pci-to-pci bridge (see section 5.1.6 ). this is typically bus 1, but may be assigned a different number, depending upon system configuration. the following summarizes the ich7 lan controller features: ? compliance with advanced configuration and power interface and pci power management standards ? support for wake-up on interesting packets and link status change ? support for remote power-up using wake on lan* (wol) technology ? deep power-down mode support ? backward compatible software with 82550, 82557, 82558 and 82559 ? tcp/udp checksum off load capabilities ? support for intel?s adaptive technology 5.3.1 lan controller pci bus interface as a fast ethernet controller, the role of th e ich7 integrated lan controller is to access transmitted data or deposit received data. the lan controller, as a bus master device, initiates memory cycles via the pci bus to fetch or deposit the required data. to perform these actions, the lan controller is controlled and examined by the processor via its control and status structures and registers. some of these control and status structures reside in the lan controller and some reside in system memory. for access to the lan controller?s control/status registers (csr), the lan controller acts as a slave (in other words, a target device). the lan controller serves as a slave also while the processor accesses the eeprom. free datasheet http://www..net/
intel ? ich7 family datasheet 109 functional description 5.3.1.1 bus slave operation the ich7 integrated lan controller serves as a target device in one of the following cases: ? processor accesses to the lan controller system control block (scb) control/ status registers (csr) ? processor accesses to the eeprom through its csr ? processor accesses to the lan controller port address via the csr ? processor accesses to the mdi control register in the csr the size of the csr memory space is 4 kbyt e in the memory space and 64 bytes in the i/o space. the lan controller treats accesses to these memory spaces differently. control/status register (csr) accesses the integrated lan controller supports zero wait-state single cycle memory or i/o mapped accesses to its csr space. separate bars request 4 kb of memory space and 64 bytes of i/o space to accomplish this. based on its needs, the software driver uses either memory or i/o mapping to access th ese registers. the lan controller provides four valid kb of csr space that include the following elements: ? system control block (scb) registers ? port register ? eeprom control register ? mdi control register ? flow control registers in the case of accessing the control/status registers, the processor is the initiator and the lan controller is the target. retry premature accesses the lan controller responds with a retry to any configuration cycle accessing the lan controller before the completion of the automatic read of the eeprom. the lan controller may continue to retry any config uration accesses until the eeprom read is complete. the lan controller does not enforce the rule that the retried master must attempt to access the same address again in order to complete any delayed transaction. any master access to the lan controller after the completion of the eeprom read is honored. error handling data parity errors: the lan controller checks for data parity errors while it is the target of the transaction. if an error was detected, the lan controller sets the detected parity error bit in the pci configuration stat us register, bit 15. the lan controller also asserts perr#, if the parity error response bit is set (pci configuration command register, bit 6). the lan controller does not attempt to terminate a cycle in which a parity error was detected. this gives the initiator the option of recovery. target-disconnect: the lan controller prematurely terminate a cycle in the following cases: ? after accesses to its csr ? after accesses to the configuration space free datasheet http://www..net/
functional description 110 intel ? ich7 family datasheet system error: the lan controller reports parity error during the address phase using the serr# pin. if the serr# enable bit in the pci configuration command register or the parity error response bit are not set, the lan controller only sets the detected parity error bit (pci configuration status re gister, bit 15). if serr# enable and parity error response bits are both set, the lan controller sets the signaled system error bit (pci configuration status register, bit 14) as well as the detected parity error bit and asserts serr# for one clock. the lan controller, when detecting system error, claims the cycle if it was the target of the transaction and continues the transaction as if the address was correct. note: the lan controller reports a system error for any error during an address phase, whether or not it is involved in the current transaction. 5.3.1.2 clkrun# signal (mobile only) the intel ? ich7 receives a free-running 33 mhz cl ock. it does not stop based on the clkrun# signal and protocol. when the lan controller runs cycles on the pci bus, the ich7 makes sure that the stp_pci# signal is high indicating that the pci clock will be running. this is to make sure that any pci tracker does not get confused by transactions on the pci bus with its pci clock stopped. 5.3.1.3 pci power management enhanced support for the power management standard, pci local bus specification, revision 2.3, is provided in the ich7 in tegrated lan controller. the lan controller supports a large set of wake-up packets and the capability to wake the system from a low power state on a link status change. the lan controller enables the host system to be in a sleep state and remain virtually connected to the network. after a power management event or link stat us change is detected, the lan controller wakes the host system. the following sections describe these events, the lan controller power states, and estimated power consumption at each power state. the lan controller contains power management registers for pci, and implements four power states, d0 through d3, which vary fr om maximum power consumption at d0 to the minimum power consumption at d3. pci transactions are only allowed in the d0 state, except for host accesses to the lan controller?s pci configuration registers. the d1 and d2 power management states enable intermediate power savings while providing the system wake-up capabilities. in the d3 cold state, the lan controller can provide wake-up capabilities. wake-up indica tions from the lan controller are provided by the power management event (pme#) signal. 5.3.1.4 pci reset signal the pcirst# signal may be activate d in one of the following cases: ? during s3?s5 states ? due to a cf9h reset if pme is enabled (in the pci power management registers), pcirst# assertion does not affect any pme related circuits (in other words, pci power management registers and the wake-up packet would not be affected). while pcirst# is active, the lan controller ignores other pci signals. the co nfiguration of the lan controller registers associated with acpi wake events is not affected by pcirst#. the integrated lan controller uses the pcirst# or the pwrok signal as an indication to ignore the pci interface. following the deassertion of pcirst#, the lan controller pci configuration space, mac configuration, and memory structure are initialized while preserving the pme# signal and its context. free datasheet http://www..net/
intel ? ich7 family datasheet 111 functional description 5.3.1.5 wake-up events there are two types of wake-up events: ?int eresting? packets and link status change. these two events are detailed below. note: if the wake on lan bit in the eeprom is no t set, wake-up events are supported only if the pme enable bit in the power management control/status register (pmcsr) is set. however, if the wake on lan bit in the eeprom is set, and wake on magic packet* or wake on link status change are enabled, the power management enable bit is ignored with respect to these events. in the latte r case, pme# would be asserted by these events. ?interesting? packet event in the power-down state, the lan controlle r is capable of recognizing ?interesting? packets. the lan controller supports predefined and programmable packets that can be defined as any of the following: ? arp packets (with multiple ip addresses) ? direct packets (with or without type qualification) ? magic packet ? neighbor discovery multicast address packet (?arp? in ipv6 environment) ? netbios over tcp/ip (nbt) query packet (under ipv4) ? internetwork package exchange* (ipx) diagnostic packet this allows the lan controller to handle va rious packet types. in general, the lan controller supports programmable filtering of any packet in the first 128 bytes. when the lan controller is in one of the low power states, it searches for a predefined pattern in the first 128 bytes of the incoming packets. the only exception is the magic packet, which is scanned for the entire frame. the lan controller classifies the incoming packets as one of the following categories: ? no match: the lan controller discards the packet and continues to process the incoming packets. ? tco packet: the lan controller implements perfec t filtering of tco packets. after a tco packet is processed, the lan controller is ready for the next incoming packet. tco packets are treated as any other wake-up packet and may assert the pme# signal if configured to do so. ? wake-up packet: the lan controller is capable of recognizing and storing the first 128 bytes of a wake-up packet. if a wake-up packet is larger than 128 bytes, its tail is discarded by the lan controller. after the system is fully powered-up, software has the ability to determine the cause of the wake-up event via the pmdr and dump the stored data to the host memory. magic packets are an exception. the magic packets may cause a power management event and set an indication bit in the pmdr; however, it is not stored by the lan controller for use by the system when it is woken up. link status change event the lan controller link status indication circuit is capable of issuing a pme on a link status change from a valid link to an invalid link condition or vice versa. the lan controller reports a pme link status event in all power states. if the wake on lan bit in the eeprom is not set, the pme# signal is gated by the pme enable bit in the pmcsr and the csma configure command. free datasheet http://www..net/
functional description 112 intel ? ich7 family datasheet 5.3.1.6 wake on lan* (preboot wake-up) the lan controller enters wake on lan mode after reset if the wake on lan bit in the eeprom is set. at this point, the lan cont roller is in the d0u state. when the lan controller is in wake on lan mode: ? the lan controller scans incoming packets for a magic packet and asserts the pme# signal for 52 ms when a 1 is detected in wake on lan mode. ? the activity led changes its functionality to indicates that the received frame passed individual address (ia) filtering or broadcast filtering. ? the pci configuration registers are accessible to the host. the lan controller switches from wake on lan mode to the d0a power state following a setup of the memory or i/o base addres s registers in the pci configuration space. 5.3.2 serial eeprom interface the serial eeprom stores configuration data for the ich7 integrated lan controller and is a serial in/serial out device. the lan controller supports a 64-register or 256-register size eeprom and automatically detects the eeprom?s size. the eeprom should operate at a frequency of at least 1 mhz. all accesses, either read or write, are preceded by a command instruction to the device. the address field is six bits for a 64-register eeprom or eight bits for a 256- register eeprom. the end of the address fiel d is indicated by a dummy 0 bit from the eeprom that indicates the entire address fiel d has been transferred to the device. an eeprom read instruction waveform is shown in figure 5-2 . the lan controller performs an automatic read of seven words (0h, 1h, 2h, ah, bh, ch, and dh) of the eeprom after the deassertion of reset. figure 5-2. 64-word eeprom read instruction waveform a 1 a 0 ee_cs ee_shclkk ee_din ee_dout a 5 a 4 a 2 d 15 d 0 read op code a 3 a 1 a 0 free datasheet http://www..net/
intel ? ich7 family datasheet 113 functional description 5.3.3 csma/cd unit the ich7 integrated lan controller csma/c d unit implements both the ieee 802.3 ethernet 10 mbps and ieee 802.3u fast ethernet 100 mbps standards. it performs all the csma/cd protocol functions (e.g., transm ission, reception, collision handling, etc.). the lan controller csma/cd unit interfaces to the 82562et/em/ez/ex 10/100 mbps ethernet through the ich7?s lan connect interface signals. 5.3.3.1 full duplex when operating in full-duplex mode, the lan controller can transmit and receive frames simultaneously. transmission starts regardless of the state of the internal receive path. reception starts when the platform lan connect component detects a valid frame on its receive differential pair. the ich7 integrated lan controller also supports the ieee 802.3x flow control standard, when in full-duplex mode. the lan controller operates in either half-duplex mode or full-duplex mode. for proper operation, both the lan controller csma /cd module and the discrete platform lan connect component must be set to the same duplex mode. the csma duplex mode is set by the lan controller configure command or forced by automatically tracking the mode in the platform lan connect component. following reset, the csma defaults to automatically track the platform lan connect component duplex mode. the selection of duplex operation (full or ha lf) and flow control is done in two levels: mac and lan connect. 5.3.3.2 flow control the lan controller supports ieee 802.3x fram e-based flow control frames only in both full duplex and half duplex switched envi ronments. the lan controller flow control feature is not intended to be used in shared media environments. flow control is optional in full-duplex mode and is selected through software configuration. there are three modes of flow control that can be selected: frame-based transmit flow control, frame-base d receive flow control, and none. 5.3.3.3 vlan support the lan controller supports the ieee 802.1 standard vlan. all vlan flows will be implemented by software. the lan controller supports the reception of long frames, specifically frames longer than 1518 bytes, including the crc, if software sets the long receive ok bit in the configuration command . otherwise, ?long? frames are discarded. 5.3.4 media manage ment interface the management interface allows the processor to control the platform lan connect component via a control register in the ich7 integrated lan controller. this allows the software driver to place the platform lan connect in specific modes (e.g., full duplex, loopback, power down, etc.) without the need for specific hardware pins to select the desired mode. this structure allows the lan controller to query the platform lan connect component for status of the link. this register is the mdi control register and resides at offset 10h in the lan controller csr. the mdi registers reside within the platform lan connect component, and are described in detail in the platform lan connect component?s datasheet. the processor writes commands to this register and the lan controller reads or writes the control/status parameters to the platform lan connect component through the mdi register. free datasheet http://www..net/
functional description 114 intel ? ich7 family datasheet 5.3.5 tco functionality the ich7 integrated lan controller support s management communication to reduce total cost of ownership (tco). the smbus is used as an interface between the asf controller and the integrated tco host controller. there are two different types of tco operation that are supported (only one supported at a time), they are 1) integrated asf control or 2) external tco controller support. the smlink is a dedicated bus between the lan controller and the integrated asf controller (if enabled) or an external management controller. an eeprom of 256 wo rds is required to support the heartbeat command. 5.3.5.1 advanced tco mode the advanced tco functionalities through the smlink are listed in table 5-4 . note: for a complete description on various commands, see the total cost of ownership (tco) system management bus interface application note (ap-430) . transmit command during normal operation to serve a transmit request from the tco controller, the ich7 lan controller first completes the current transmit dma, sets th e tco request bit in the pmdr register (see section 8.2 ), and then responds to the tco controller?s transmit request. following the completion of the tco transmit dma, the lan controller increments the transmit tco statistic counter (described in section 8.2.14 ). following the completion of the transmit operation, the ich7 increments the nominal transmit statistic counters, clears the tco request bit in the pmdr register, and resumes its normal transmit flow. the receive flow is not affected during this entire period of time. receive tco the ich7 lan controller supports receive flow towards the tco controller. the ich7 can transfer only tco packets, or all packets that passed mac address filtering according to its configuration and mode of operation as detailed below. while configured to transfer only tco packets, it supports ethernet type ii packets with optional vlan tagging. force tco mode: while the ich7 is in the force tco mode, it may receive packets (tco or all) directly from the tco controller. receiving tco packets and filtering level is controlled by the set receive enable comm and from the tco controller. following a reception of a tco packet, the ich7 increments its nominal receive statistic counters as well as the receive tco counter. table 5-4. advanced tco functionality power state tco controller functionality d0 nominal transmit set receive tco packets receive tco packets read intel ? ich7 status (pm & link state) force tco mode dx (x>0) d0 functionality plus: read phy registers force tco mode dx functionality plus: configuration commands read/write phy registers free datasheet http://www..net/
intel ? ich7 family datasheet 115 functional description dx>0 power state: while the ich7 is in a powerdown state, it may receive tco packets or all directly to the tco controller. receiving tco packets is enabled by the set receive enable command from the tco controller. although tco packet might match one of the other wake up filters, once it is transferred to the tco controller, no further matching is searched for and pme is not issu ed. while receive to tco is not enabled, a tco packet may cause a pme if configured to do so (setting tco to 1 in the filter type). d0 power state: at d0 power state, the ich7 may transfer tco packets to the tco controller. at this state, tco packets are posted first to the host memory, then read by the ich7, and then posted back to the tco controller. after the packet is posted to tco, the receive memory structure (that is occupied by the tco packet) is reclaimed. other than providing the necessary receive resources, there is no required device driver intervention with this process. even tually, the ich7 increments the receive tco static counter, clears the tco request bit, and resumes normal control. read intel ? ich7 status (pm and link state) the tco controller is capable of reading the ich7 power state and link status. following a status change, the ich7 asserts linkalert# and then the tco can read its new power state. set force tco mode the tco controller put the ich7 into the force tco mode. the ich7 is set back to the nominal operation following a pcirst#. following the transition from nominal mode to a tco mode, the ich7 aborts transmission and reception and loses its memory structures. the tco may configure the ich7 before it starts transmission and reception if required. warning: the force tco is a destructive command. it causes the ich7 to lose its memory structures, and during the force tco mode the ich7 ignores any pci accesses. therefore, it is highly recommended to use this command by the tco controller at system emergency only. 5.4 alert standard format (asf) (desktop and mobile only) the asf controller collects information fr om various components in the system (including the processor, chipset, bios, and sensors on the motherboard) and sends this information via the lan controller to a remote server running a management console. the controller also accepts commands back from the management console and drives the execution of those commands on the local system. the asf controller is responsible for monitoring sensor devices and sending packets through the lan controller smbus (system management bus) interface. these asf controller alerting capabilities include sy stem health information such as bios messages, post alerts, operating system failure notifications, and heartbeat signals to indicate the system is accessible to the server. also included are environmental notification (e.g., thermal, voltage and fan alerts) that send proactive warnings that something is wrong with the hardware. the pa ckets are used as alert (s.o.s.) packets or as ?heartbeat? status packets. in addition, asset security is provided by messages (e.g., ?cover tamper? and ?cpu missing?) that notify of potential system break-ins and processor or memory theft. the asf controller is also responsible for receiving and responding to rmcp (remote management and control protocol) packets. rmcp packets are used to perform various system apm commands (e.g., reset, power- up, power-cycle, and power-down). rmcp can also be used to ping the system to en sure that it is on the network and running free datasheet http://www..net/
functional description 116 intel ? ich7 family datasheet correctly and for capability reporting. a majo r advantage of asf is that it provides these services during the time that software is unable to do so (e.g., during a low- power state, during boot-up, or during an operating system hang) but are not precluded from running in the working state. the asf controller communicates to the system and the lan controller logic through the smbus connections. the first smbus connect s to the host smbus controller (within the ich7) and any smbus platform sensors. the smbus host is accessible by the system software, including software runnin g on the operating system and the bios. note that the host side bus may require isol ation if there are non-auxiliary devices that can pull down the bus when un-powered. the second smbus connects to the lan controller. this second smbus is used to provide a transmit/receive network interface. the stimulus for causing the asf controller to send packets can be either internal or external to the asf controller. external stimuli are link status changes or polling data from smbus sensor devices; internal events come from, among others, a set of timers or an event caused by software. the asf controller provides three local configuration protocols via the host smbus. the first one is the smbus arp interface that is used to identify the smbus device and allow dynamic smbus address assignment. the second protocol is the asf controller command set that allows software to manage an asf controller compliant interface for retrieving info, sending alerts, and controlling timers. ich7 provides an input and an output eepro m interface. the eeprom contains the lan controller configuration and the asf controller configuration/packet information. 5.4.1 asf management solution features/capabilities ? alerting ? transmit sos packets from s0?s5 states ? system health heartbeats ? sos hardware events - system boot failure (watchdog expires on boot) - lan link loss - entity presence (on asf power-up) - smbus hung - maximum of eight legacy sensors - maximum of 128 asf sensor events ? watchdog timer for operating system lockup/system hang/failure to boot ? general push support for bios (post messages) ? remote control ? presence ping response ? configurable boot options ? capabilities reporting ? auto-arp support ? system remote control - power-down - power-up - power cycle - system reset ? state-based security ? conditional action on watchdog expire free datasheet http://www..net/
intel ? ich7 family datasheet 117 functional description ? asf compliance ? compliant with the alert standard format (asf) specification, version 1.03 - pet compliant packets - rmcp - legacy sensor polling - asf sensor polling - remote control sensor support ? advanced features / miscellaneous ? smbus 2.0 compliant ? optional reset extension logic (for use with a power-on reset) 5.4.2 asf hardware support asf requires additional hardware to make a complete solution. note: if an asf compatible device is external ly connected and properly configured, the internal ich7 asf controller will be disabled . the external asf device will have access to the smbus controller. 5.4.2.1 intel ? 82562em/ex the 82562em/ex ethernet lan controller is necessary. this lan controller provides the means of transmitting and receiving data on the network, as well as adding the ethernet crc to the data from the asf. 5.4.2.2 eeprom (256x16, 1 mhz) to support the ich7 asf solution, a larger, 256x16 1 mhz, eeprom is necessary to configure defaults on reset and on hard power losses (software un-initiated). the asf controller shares this eeprom with the lan controller and provides a pass through interface to achieve this. the asf controller expects to have exclusive access to words 40h through f7h. the lan controller can use the other eeprom words. the asf controller will default to safe defaults if the eeprom is not present or not configured properly (both cause an invalid crc). 5.4.2.3 legacy sensor smbus devices the asf controller is capable of monitoring up to eight sensor devices on the main smbus. these sensors are expected to be compliant with the legacy sensor characteristics defined in the alert standard format (asf) specification, version 1.03 . 5.4.2.4 remote control smbus devices the asf controller is capable of causing remote control actions to remote control devices via smbus. these remote control actions include power-up, power-down, power-cycle, and reset. the asf controller supports devices that conform to the alert standard format (asf) specification, version 1.03, remote control devices. 5.4.2.5 asf sensor smbus devices the asf controller is capable of monitoring up to 128 asf sensor devices on the main smbus. however, asf is restricted by the number of total events which may reduce the number of smbus devices supported. the maximum number of events supported by asf is 128. the asf sensors are expected to operate as defined in the alert standard format (asf) specification, version 1.03. free datasheet http://www..net/
functional description 118 intel ? ich7 family datasheet 5.4.3 asf software support asf requires software support to make a complete solution. the following software is used as part of the complete solution. ? asf configuration driver / application ? network driver ? bios support for smbios, smbus arp, acpi ? sensor configuration driver / application note: contact your intel field representative fo r the client asf software development kit (sdk) that includes additional documentatio n and a copy of the client asf software drivers. intel also provides an asf console sdk to add asf support to a management console. 5.5 lpc bridge (w/ system and management functions) (d31:f0) note: lpc dma is not supported on the ultra mobile component (ich7-u). the lpc bridge function of the ich7 resides in pci device 31:function 0. in addition to the lpc bridge function, d31:f0 contains ot her functional units including dma (desktop and mobile only), interrupt controllers, timers, power management, system management, gpio, and rtc. in this chapter, registers and functions associated with other functional units (power management, gp io, usb, ide, etc.) are described in their respective sections. 5.5.1 lpc interface the ich7 implements an lpc in terface as described in the low pin count interface specification, revision 1.1. the lpc interfac e to the ich7 is shown in figure 5-3 . note that the ich7 implements all of the signals that are shown as optional, but peripherals are not required to do so. figure 5-3. lpc interface diagram intel ? ic h 7 s u s _s ta t# g p i lp c d evice p c i c lk p c i r s t# p c i s e r ir q p c i p m e # la d [3:0] ld r q # (optional) lfr a m e # lp c p d # (optional) ls m i# (optional) p c i b us free datasheet http://www..net/
intel ? ich7 family datasheet 119 functional description 5.5.1.1 lpc cycle types the ich7 implements the following cycle types as described in table 5-5 notes: 1. bus master read or write cycles must be naturally aligned. for example, a 1-byte transfer can be to any address. however, the 2-byte tr ansfer must be word-ali gned (i.e., with an address where a0=0). a dword transfer must be dword-aligned (i.e ., with an address where a1 and a0 are both 0) 5.5.1.2 start field definition note: all other encodings are reserved. table 5-5. lpc cycle types supported cycle type comment i/o read 1 byte only. intel ? ich7 breaks up 16- and 32- bit processor cycles into multiple 8-bit transfers. i/o write 1 byte only. ich7 breaks up 16- and 32-bit processor cycles into multiple 8-bit transfers. dma read (desktop and mobile only) can be 1, or 2 bytes dma write (desktop and mobile only) can be 1, or 2 bytes bus master read can be 1, 2, or 4 bytes. (see note 1 below) bus master write can be 1, 2, or 4 bytes. (see note 1 below) table 5-6. start field bit definitions bits[3:0] encoding definition 0000 start of cycle for a generic target 0010 grant for bus master 0 0011 grant for bus master 1 1111 stop/abort: end of a cycle for a target. free datasheet http://www..net/
functional description 120 intel ? ich7 family datasheet 5.5.1.3 cycle type / di rection (cyctype + dir) the ich7 drives bit 0 of this field to 0. peripherals running bus master cycles must also drive bit 0 to 0. table 5-7 shows the valid bit encodings. note: all other encodings are reserved. 5.5.1.4 size bits[3:2] are reserved. the ich7 drives them to 00. peripherals running bus master cycles are also supposed to drive 00 for bits 3:2; however, the ich7 ignores those bits. bits[1:0] are encoded as listed in table 5-8 . table 5-7. cycle type bit definitions bits[3:2] bit1 definition 00 0 i/o read 00 1 i/o write 10 0 desktop and mobile: dma read ultra mobile: reserved 10 1 desktop and mobile: dma write ultra mobile: reserved 11 x reserved. if a peripheral performing a bus master cycle generates this value, the intel ? ich7 aborts the cycle. table 5-8. transfer size bit definition bits[1:0] size 00 8-bit transfer (1 byte) 01 16-bit transfer (2 bytes) 10 reserved. the intel ? ich7 does not drive this co mbination. if a peripheral running a bus master cycle drives this combination, the ich7 may abort the transfer. 11 32-bit transfer (4 bytes) free datasheet http://www..net/
intel ? ich7 family datasheet 121 functional description 5.5.1.5 sync valid values for the sync field are shown in table 5-9 . notes: 1. all other combinations are reserved. 2. if the lpc controller receives any sync retu rned from the device other than short (0101), long wait (0110), or ready (0000) when running a fwh cycle, indeterminate results may occur. a fwh device is not allo wed to assert an error sync. 5.5.1.6 sync time-out there are several error cases that can occur on the lpc interface. the ich7 responds as defined in section 4.2.1.9 of the low pin count interface specification , revision 1.1 to the stimuli described therein. there ma y be other peripheral failure conditions; however, these are not handled by the ich7. 5.5.1.7 sync error indication the ich7 responds as defined in section 4.2.1.10 of the low pin count interface specification, revision 1.1. upon recognizing the sync field indicating an error, the ich7 treats this as an serr by reporting this into the device 31 error reporting logic. table 5-9. sync bit definition bits[3:0] 1,2 indication 0000 ready: sync achieved with no error. for dma transfers on de sktop and mobile components, this also indicates dma requ est deassertion and no more transfers desired for that channel. 0101 short wait: part indicating wait-states. fo r bus master cycles, the intel ? ich7 does not use this encoding. instead, the ich7 uses the long wait encoding (see next encoding below). 0110 long wait: part indicating wait-states, and ma ny wait-states will be added. this encoding driven by the ich7 for bus master cycles, rather than the short wait (0101). 1001 ready more (used only by peripheral for dma cycle): sync achieved with no error and more dma transfers desired to continue after this transfer. this value is valid only on dma transfers and is not allowed for any other type of cycle. ultra mobile: reserved 1010 error: sync achieved with error. this is ge nerally used to re place the serr# or iochk# signal on the pci/isa bus. it indica tes that the data is to be transferred, but there is a serious error in this tr ansfer. for dma transfers on desktop and mobile components, this not only indicates an error, but also indicates dma request deassertion and no more tr ansfers desired for that channel. free datasheet http://www..net/
functional description 122 intel ? ich7 family datasheet 5.5.1.8 lframe# usage the ich7 follows the usage of lframe# as defined in the low pin count interface specification, revision 1.1. the ich7 performs an abort for the following cases (possible failure cases): ? ich7 starts a memory, i/o, or dma cycle, but no device drives a valid sync after four consecutive clocks. ? ich7 starts a memory, i/o, or dma cycle, and the peripheral drives an invalid sync pattern. ? a peripheral drives an invalid address when performing bus master cycles. ? a peripheral drives an invalid value. 5.5.1.9 i/o cycles for i/o cycles targeting registers specified in the ich7?s decode ranges, the ich7 performs i/o cycles as defined in the low pin count interface specification, revision 1.1. these are 8-bit transfers. if the processo r attempts a 16-bit or 32-bit transfer, the ich7 breaks the cycle up into multiple 8-bit transfers to consecutive i/o addresses. note: if the cycle is not claimed by any peripheral (and subsequently aborted), the ich7 returns a value of all 1s (ffh) to the processor. this is to maintain compatibility with isa i/o cycles where pull-up resistors would keep the bus high if no device responds. 5.5.1.10 bus master cycles the ich7 supports bus master cycles and requests (using ldrq#) as defined in the low pin count interface specification, revision 1.1. the ich7 has two ldrq# inputs, and thus supports two separate bus master de vices. it uses the associated start fields for bus master 0 (0010b) or bus master 1 (0011b). note: the ich7 does not support lpc bus masters performing i/o cycles. lpc bus masters should only perform memory read or memory write cycles. 5.5.1.11 lpc power management clkrun# protocol (mobile/ultra mobile only) the clkrun# protocol is same as in the pci local bus specification . stopping the pci clock stops the lpc clock. lpcpd# protocol same timings as for sus_stat#. upon driving sus_stat# low, lpc peripherals drive ldrq# low or tri-state it. ich7 shuts o ff the ldrq# input buffers. after driving sus_stat# active, the ich7 drives lframe # low, and tri-states (or drive low) lad[3:0]. note: the low pin count interface specification, revision 1.1 defines the lpcpd# protocol where there is at least 30 s from lpcpd# assertion to lrst# assertion. this specification explicitly states that this protocol only applies to entry/exit of low power states which does not include asynchronous reset events. the ich7 asserts both sus_stat# (connects to lpcpd#) and pltrst# (connects to lrst#) at the same time when the core logic is reset (via cf9h, pw rok, or sys_reset#, etc.). this is not inconsistent with the lpc lpcpd# protocol. free datasheet http://www..net/
intel ? ich7 family datasheet 123 functional description 5.5.1.12 configuration and intel ? ich7 implications lpc interface decoders to allow the i/o cycles and memory mapped cy cles to go to the lpc interface, the ich7 includes several decoders. during configurat ion, the ich7 must be programmed with the same decode ranges as the peripheral. the decoders are programmed via the device 31:function 0 configuration space. note: the ich7 cannot accept pci write cycles from pci-to-pci bridges or devices with similar characteristics (specifically those with a ?retry read? feature which is enabled) to an lpc device if there is an outstandin g lpc read cycle towards the same pci device or bridge. these cycles are not part of normal system operation, but may be encountered as part of platform validation testing using custom test fixtures. bus master device mapping and start fields bus masters must have a unique start field. in the case of the ich7 that supports two lpc bus masters, it drives 0010 for the start field for grants to bus master #0 (requested via ldrq0#) and 0011 for grants to bus master #1 (requested via ldrq1#.). thus, no registers are needed to configure the start fields for a particular bus master. 5.5.2 serr# generation several internal and external sources of th e lpc bridge can cause serr#, as described below. the first class of errors is parity errors related to the backbone. the lpc bridge captures generic data parity errors (errors it finds on the backbone) as well as errors returned on the backbone cycles where th e bridge was the master and parity error response is enabled. if either of these tw o conditions is met, and with serr# enable (pcicmd.serr_en) set, serr# will be captured. additionally, if the lpc bridge receives an error sync on lpc bus, an serr# will also be generated. figure 5-4. lpc bridge serr# generation serr# pcicmd.serr_en (d31:f0:04h, bit 8) pcists.dpe (d31:f0:06h, bit15) pcists.dped (d31:f0:06h, bit 8) pcists.sse (d31:f0:06h, bit 14) lpc error sync received free datasheet http://www..net/
functional description 124 intel ? ich7 family datasheet 5.6 dma operation (d31:f0) note: for ich7-u ultra mobile, lp c dma is not supported. the ich7 supports lpc dma using the ich7?s dma controller. the dma controller has registers that are fixed in the lower 64 kb of i/o space. the dma controller is configured using registers in the pci co nfiguration space. these registers allow configuration of the channels for use by lpc dma. the dma circuitry incorporates the functionality of two 82c37 dma controllers with seven independently programmable channels ( figure 5-5 ). dma controller 1 (dma-1) corresponds to dma channels 0?3 and dm a controller 2 (dma-2) corresponds to channels 5?7. dma channel 4 is used to cascade the two controllers and defaults to cascade mode in the dma channel mode (dcm) register. channel 4 is not available for any other purpose. in addition to acce pting requests from dma slaves, the dma controller also responds to requests that software initiates. software may initiate a dma service request by setting any bit in the dma channel request register to a 1. each dma channel is hardwired to the co mpatible settings for dma device size: channels [3:0] are hardwired to 8-bit, count-by-bytes transfers, and channels [7:5] are hardwired to 16-bit, count-by-words (address shifted) transfers. ich7 provides 24-bit addressing in complianc e with the isa-compatible specification. each channel includes a 16-bit isa-compatible current register which holds the 16 least-significant bits of the 24-bit address, an isa-compatible page register which contains the eight next most significant bits of address. the dma controller also features refresh address generation, and autoinitialization following a dma termination. 5.6.1 channel priority for priority resolution, the dma consists of two logical channel groups: channels 0?3 and channels 4?7. each group may be in either fixed or rotate mode, as determined by the dma command register. dma i/o slaves normally assert their dreq line to arbitrate for dma service. however, a software request for dma service can be presented through each channel's dma request register. a software request is subject to the same prioritization as any hardware request. see the detailed register description for request register programming information in section 10.2 . figure 5-5. intel ? ich7 dma controller channel 0 channel 1 channel 2 channel 3 channel 4 channel 5 channel 6 channel 7 dma-1 dma-2 free datasheet http://www..net/
intel ? ich7 family datasheet 125 functional description 5.6.1.1 fixed priority the initial fixed priority structure is as follows: the fixed priority ordering is 0, 1, 2, 3, 5, 6, and 7. in this scheme, channel 0 has the highest priority, and channel 7 has the lowest priority. channels [3:0] of dma-1 assume the priority position of channel 4 in dma-2, t hus taking priority over channels 5, 6, and 7. 5.6.1.2 rotating priority rotation allows for ?fairness? in priority resolution. the priority chain rotates so that the last channel serviced is assigned the lowest priority in the channel group (0?3, 5?7). channels 0?3 rotate as a group of 4. they are placed between channel 5 and channel 7 in the priority list. channel 5?7 rotate as part of a group of 4. that is, channels (5?7) form the first three positions in the rotation, while channel group (0?3) comprises the fourth position in the arbitration. 5.6.2 address compatibility mode when the dma is operating, the addresses do not increment or decrement through the high and low page registers. therefore, if a 24-bit address is 01ffffh and increments, the next address is 010000h, not 020000h. similarly, if a 24-bit address is 020000h and decrements, the next address is 02ffffh , not 01ffffh. however, when the dma is operating in 16-bit mode, the addresses still do not increment or decrement through the high and low page registers but the page boundary is now 128 k. therefore, if a 24-bit address is 01fffeh and increments, the next address is 000000h, not 0100000h. similarly, if a 24-bit address is 020000h and decrements, the next address is 03fffeh, not 02fffeh. this is compatible with the 82c37 and page register implementation used in the pc-at. this mode is set after cpurst is valid. 5.6.3 summary of dma transfer sizes table 5-10 lists each of the dma device transfer sizes. the column labeled ?current byte/word count register? indicates that the register contents represents either the number of bytes to transfer or the number of 16-bit words to transfer. the column labeled ?current address increment/decrem ent? indicates the number added to or taken from the current address register after each dma transfer cycle. the dma channel mode register determines if the cu rrent address register will be incremented or decremented. high priority low priority 0, 1, 2, 3 5, 6, 7 free datasheet http://www..net/
functional description 126 intel ? ich7 family datasheet 5.6.3.1 address shifting when programmed for 16-b it i/o count by words the ich7 maintains compatibility with the implementation of the dma in the pc at that used the 82c37. the dma shifts the addre sses for transfers to/from a 16-bit device count-by-words. note: the least significant bit of the low page re gister is dropped in 16-bit shifted mode. when programming the current address regi ster (when the dma channel is in this mode), the current address must be progra mmed to an even address with the address value shifted right by one bit. the address shifting is shown in table 5-11 . note: the least significant bit of the page regi ster is dropped in 16-bit shifted mode. 5.6.4 autoinitialize by programming a bit in the dma channel mode register, a channel may be set up as an autoinitialize channel. when a channel undergoes autoinitialization, the original values of the current page, current address and current byte/word count registers are automatically restored from the ba se page, address, and byte/word count registers of that channel following tc. the base registers are loaded simultaneously with the current registers by the mi croprocessor when the dma channel is programmed and remain unchanged throughout the dma service. the mask bit is not set when the channel is in autoinitialize. follo wing autoinitialize, the channel is ready to perform another dma service, without processo r intervention, as soon as a valid dreq is detected. 5.6.5 softwar e commands there are three additional special software commands that the dma controller can execute. the three software commands are: ? clear byte pointer flip-flop ? master clear ? clear mask register they do not depend on any specific bit pattern on the data bus. table 5-10. dma transfer size dma device date size and word count current byte/word count register current address increment/ decrement 8-bit i/o, count by bytes bytes 1 16-bit i/o, count by words (address shifted) words 1 table 5-11. address shifting in 16-bit i/o dma transfers output address 8-bit i/o programmed address (ch 0?3) 16-bit i/o programmed address (ch 5?7) (shifted) a0 a[16:1] a[23:17] a0 a[16:1] a[23:17] 0 a[15:0] a[23:17] free datasheet http://www..net/
intel ? ich7 family datasheet 127 functional description 5.7 lpc dma (desktop and mobile only) dma on lpc is handled through the use of the ldrq# lines from peripherals and special encodings on lad[3:0] from the ho st. single, demand, verify, and increment modes are supported on the lpc interface. channels 0?3 are 8 bit channels. channels 5?7 are 16-bit channels. channel 4 is reserved as a generic bus master request. 5.7.1 asserting dma requests peripherals that need dma service encode their requested channel number on the ldrq# signal. to simplify the protocol, each peripheral on the lpc i/f has its own dedicated ldrq# signal (they may not be shared between two separate peripherals). the ich7 has two ldrq# inputs, allowing at least two devices to support dma or bus mastering. ldrq# is synchronous with lclk (pci clock). as shown in figure 5-6 , the peripheral uses the following serial encoding sequence: ? peripheral starts the sequence by asserting ldrq# low (start bit). ldrq# is high during idle conditions. ? the next three bits contain the en coded dma channel number (msb first). ? the next bit (act) indicates whether the request for the indicated dma channel is active or inactive. the act bit is 1 (high) to indicate if it is active and 0 (low) if it is inactive. the case where act is low is rare , and is only used to indicate that a previous request for that channel is being abandoned. ? after the active/inactive indication, the ldrq# signal must go high for at least 1 clock. after that one clock, ldrq# signal can be brought low to the next encoding sequence. if another dma channel also needs to request a transfer, another sequence can be sent on ldrq#. for example, if an encoded request is sent for channel 2, and then channel 3 needs a transfer before the cycle for channe l 2 is run on the interface, the peripheral can send the encoded request for channel 3. th is allows multiple dma agents behind an i/o device to request use of th e lpc interface, and the i/o device does not need to self- arbitrate before sending the message. 5.7.2 abandoning dma requests dma requests can be deasserted in two fashions: on error conditions by sending an ldrq# message with the ?act? bit set to 0, or normally through a sync field during the dma transfer. this section describes boundary conditions where the dma request needs to be removed prior to a data transfer. there may be some special cases where the peripheral desires to abandon a dma transfer. the most likely case of this occurring is due to a floppy disk controller which has overrun or underrun its fifo, or software stopping a device prematurely. figure 5-6. dma request assertion through ldrq# start msb lsb act start lclk ldrq# free datasheet http://www..net/
functional description 128 intel ? ich7 family datasheet in these cases, the peripheral wishes to stop further dma activity. it may do so by sending an ldrq# message with the act bit as 0. however, since the dma request was seen by the ich7, there is no assurance that the cycle has not been granted and will shortly run on lpc. therefore, peripherals must take into account that a dma cycle may still occur. the peripheral can choose not to respond to this cycle, in which case the host will abort it, or it can choose to comple te the cycle normally with any random data. this method of dma deassertion should be prevented whenever possible, to limit boundary conditions both on the ich7 and the peripheral. 5.7.3 general flow of dma transfers arbitration for dma channels is performed through the 8237 within the host. once the host has won arbitration on behalf of a dma channel assigned to lpc, it asserts lframe# on the lpc i/f and begins the dma transfer. the general flow for a basic dma transfer is as follows: 1. ich7 starts transfer by asserting 0000b on lad[3:0] with lframe# asserted. 2. ich7 asserts ?cycle type? of dma, direction based on dma transfer direction. 3. ich7 asserts channel number and, if applicable, terminal count. 4. ich7 indicates the size of the transfer: 8 or 16 bits. 5. if a dma read? ? the ich7 drives the first 8 bits of data and turns the bus around. ? the peripheral acknowledges the data with a valid sync. ? if a 16-bit transfer, the process is repeated for the next 8 bits. 6. if a dma write? ? the ich7 turns the bus around and waits for data. ? the peripheral indicates data ready th rough sync and transfers the first byte. ? if a 16-bit transfer, the peripheral indicates data ready and transfers the next byte. 7. the peripheral turns around the bus. 5.7.4 terminal count terminal count is communicated through lad[3] on the same clock that dma channel is communicated on lad[2:0]. this field is th e channel field. terminal count indicates the last byte of transfer, based upon the size of the transfer. for example, on an 8-bit transfer size (size fiel d is 00b), if the tc bit is set, then this is the last byte. on a 16-bit transfer (size fiel d is 01b), if the tc bit is set, then the second byte is the last byte. the peripheral, therefore, must internalize the tc bit when the channel field is communicated, and only signal tc when the last byte of that transfer size has been transferred. 5.7.5 verify mode verify mode is supported on the lpc interfac e. a verify transfer to the peripheral is similar to a dma write, where the peripheral is transferring data to main memory. the indication from the host is the same as a dma write, so the peripheral will be driving data onto the lpc interface. however, the ho st will not transfer this data into main memory. free datasheet http://www..net/
intel ? ich7 family datasheet 129 functional description 5.7.6 dma request deassertion an end of transfer is communicated to the ich7 through a special sync field transmitted by the peripheral. an lpc device must not attempt to signal the end of a transfer by deasserting ldreq#. if a dma transfer is several bytes (e.g., a transfer from a demand mode device) the ich7 n eeds to know when to deassert the dma request based on the data currently being transferred. the dma agent uses a sync encoding on each byte of data being transferred, which indicates to the ich7 whether this is the last byte of transfer or if more bytes are requested. to indicate the last byte of tr ansfer, the peripheral uses a sync value of 0000b (ready with no error), or 1010b (ready with error). these encodings tell the ich7 that this is the last piece of data transferred on a dma read (ich7 to peripheral), or the byte that follows is the last piece of data transferred on a dma write (peripheral to ich7). when the ich7 sees one of these two encodi ngs, it ends the dma transfer after this byte and deasserts the dma request to the 8 237. therefore, if the ich7 indicated a 16- bit transfer, the peripheral can end the transfer after one byte by indicating a sync value of 0000b or 1010b. the ich7 does not attempt to transfer the second byte, and deasserts the dma request internally. if the peripheral indicates a 0000b or 1010b sync pattern on the last byte of the indicated size, then the ich7 only deassert s the dma request to the 8237 since it does not need to end the transfer. if the peripheral wishes to keep the dma re quest active, then it uses a sync value of 1001b (ready plus more data). this tells the 8237 that more data bytes are requested after the current byte has been transferred, so the ich7 keeps the dma request active to the 8237. therefore, on an 8-bit transfer size, if the peripheral indicates a sync value of 1001b to the ich7, the data w ill be transferred and the dma request will remain active to the 8237. at a later time, the ich7 will then come back with another start ? cyctype ? channel ? size etc. combination to initiate another transfer to the peripheral. the peripheral must not assume that the next start indication from the ich7 is another grant to the peripheral if it had in dicated a sync value of 1001b. on a single mode dma device, the 8237 will re-arbitrate after every transfer. only demand mode dma devices can be ensured that they will re ceive the next start indication from the ich7. note: indicating a 0000b or 1010b encoding on the sync field of an odd byte of a 16-bit channel (first byte of a 16-bit transfer) is an error condition. note: the host stops the transfer on the lpc bus as indicated, fills the upper byte with random data on dma writes (peripheral to memory), and indicates to the 8237 that the dma transfer occurred, incrementing the 8237?s address and decrementing its byte count. 5.7.7 sync field / ldrq# rules since dma transfers on lpc are requested through an ldrq# assertion message, and are ended through a sync field during the dma transfer, the peripheral must obey the following rule when initiating back-t o-back transfers from a dma channel. the peripheral must not assert another message for eight lclks after a deassertion is indicated through the sync field. this is n eeded to allow the 8237, that typically runs off a much slower internal clock, to see a message deasserted before it is re-asserted so that it can arbitrate to the next agent. free datasheet http://www..net/
functional description 130 intel ? ich7 family datasheet under default operation, the host only performs 8-bit transfers on 8-bit channels and 16-bit transfers on 16-bit channels. the method by which this communication between host and peripheral through system bios is performed is beyond the scope of th is specification. since the lpc host and lpc peripheral are motherboard devices, no ?plug-n-play? registry is required. the peripheral must not assume that the host is able to perform transfer sizes that are larger than the size allowed for the dma chan nel, and be willing to accept a size field that is smaller than what it may currently have buffered. to that end, it is recommended that future devices that may appear on the lpc bus, that require higher bandwidth than 8-bit or 16-bit dma allow, do so with a bus mastering interface and not rely on the 8237. 5.8 8254 timers (d31:f0) the ich7 contains three counters that have fixed uses. all registers and functions associated with the 8254 timers are in the core well. the 8254 unit is clocked by a 14.31818 mhz clock. counter 0, system timer this counter functions as the system timer by controlling the state of irq0 and is typically programmed for mode 3 operation. the counter produces a square wave with a period equal to the product of the counter period (838 ns) and the initial count value. the counter loads the initial count value 1 counter period after software writes the count value to the counter i/o address. the counter initially asserts irq0 and decrements the count value by two each counter period. the counter negates irq0 when the count value reaches 0. it then reloads the initial count value and again decrements the initial count value by tw o each counter period. the counter then asserts irq0 when the count value reaches 0, reloads the initial count value, and repeats the cycle, alternately asserting and negating irq0. counter 1, refresh request signal this counter provides the refresh request si gnal and is typically programmed for mode 2 operation and only impacts the period of the ref_toggle bit in port 61. the initial count value is loaded one counter period afte r being written to the counter i/o address. the ref_toggle bit will have a square wave behavior (alternate between 0 and 1) and will toggle at a rate based on the value in the counter. programming the counter to anything other than mode 2 will result in undefined behavior for the ref_toggle bit. counter 2, speaker tone this counter provides the speaker tone and is typically programmed for mode 3 operation. the counter provides a speake r frequency equal to the counter clock frequency (1.193 mhz) divided by the initial count value. the speaker must be enabled by a write to port 061h (see nmi status and control ports). free datasheet http://www..net/
intel ? ich7 family datasheet 131 functional description 5.8.1 timer programming the counter/timers are programmed in the following fashion: 1. write a control word to select a counter. 2. write an initial count for that counter. 3. load the least and/or most significant byte s (as required by control word bits 5, 4) of the 16-bit counter. 4. repeat with other counters. only two conventions need to be observed when programming the counters. first, for each counter, the control word must be written before the initial count is written. second, the initial count must follow the co unt format specified in the control word (least significant byte only, most significant byte only, or least significant byte and then most significant byte). a new initial count may be written to a counter at any time without affecting the counter's programmed mode. counting is affect ed as described in the mode definitions. the new count must follow the programmed count format. if a counter is programmed to read/write two-byte counts, the following precaution applies: a program must not transfer contro l between writing the first and second byte to another routine which also writes into that same counter. otherwise, the counter will be loaded with an incorrect count. the control word register at port 43h controls the operation of all three counters. several commands are available: ? control word command. specifies which counter to re ad or write, the operating mode, and the count format (binary or bcd). ? counter latch command. latches the current count so that it can be read by the system. the countdown process continues. ? read back command. reads the count value, programmed mode, the current state of the out pins, and the state of the null count flag of the selected counter. table 5-12 lists the six operating modes for the interval counters. table 5-12. counter operating modes mode function description 0 out signal on end of count (=0) output is 0. when count goes to 0, output goes to 1 and stays at 1 until co unter is reprogrammed. 1 hardware retriggerable one-shot output is 0. when count goes to 0, output goes to 1 for one clock time. 2 rate generator (divide by n counter) output is 1. output goes to 0 for one clock time, then back to 1 and counter is reloaded. 3 square wave output output is 1. output goes to 0 when counter rolls over, and counter is reloaded. output goes to 1 when counter rolls over, and counter is reloaded, etc. 4 software triggered strobe output is 1. output goes to 0 when count expires for one clock time. 5 hardware triggered strobe output is 1. output goes to 0 when count expires for one clock time. free datasheet http://www..net/
functional description 132 intel ? ich7 family datasheet 5.8.2 reading from the interval timer it is often desirable to read the value of a counter without disturbing the count in progress. there are three methods for readin g the counters: a simple read operation, counter latch command, and the read-bac k command. each is explained below. with the simple read and counter latch command methods, the count must be read according to the programmed format; specific ally, if the counter is programmed for two byte counts, two bytes must be read. the tw o bytes do not have to be read one right after the other. read, write, or programming operations for other counters may be inserted between them. 5.8.2.1 simple read the first method is to perform a simple read operation. the counter is selected through port 40h (counter 0), 41h (counter 1), or 42h (counter 2). note: performing a direct read from the counte r does not return a determinate value, because the counting process is asynchronous to read operations. however, in the case of counter 2, the count can be stopped by writing to the gate bit in port 61h. 5.8.2.2 counter latch command the counter latch command, written to port 43h, latches the count of a specific counter at the time the command is received. this command is used to ensure that the count read from the counter is accurate, pa rticularly when reading a two-byte count. the count value is then read from each count er?s count register as was programmed by the control register. the count is held in the latch until it is re ad or the counter is reprogrammed. the count is then unlatched. this allows reading the contents of the counters on the fly without affecting counting in progress. multiple counter latch commands may be used to latch more than one counter. counter latch commands do not affect the programmed mode of the counter in any way. if a counter is latched and then, some time later, latched again before the count is read, the second counter latch command is ig nored. the count read is the count at the time the first counter latch command was issued. 5.8.2.3 read back command the read back command, written to port 43h, latches the count value, programmed mode, and current states of the out pin and null count flag of the selected counter or counters. the value of the counter and its status may then be read by i/o access to the counter address. the read back command may be used to latch multiple counter outputs at one time. this single command is functionally equiva lent to several counter latch commands, one for each counter latched. each counter's la tched count is held until it is read or reprogrammed. once read, a counter is unlat ched. the other counters remain latched until they are read. if multiple count read back commands are issued to the same counter without reading the count, all but the first are ignored. the read back command may additionally be used to latch status information of selected counters. the status of a counter is accessed by a read from that counter's i/o port address. if multiple counter stat us latch operations are performed without reading the status, all but the first are ignored. free datasheet http://www..net/
intel ? ich7 family datasheet 133 functional description both count and status of the selected counters may be latched simultaneously. this is functionally the same as issuing two consec utive, separate read back commands. if multiple count and/or status read back co mmands are issued to the same counters without any intervening reads, all but the first are ignored. if both count and status of a counter are la tched, the first read operation from that counter returns the latched status, regardless of which was latched first. the next one or two reads, depending on whether the co unter is programmed for one or two type counts, returns the latched count. subsequent reads return unlatched count. 5.9 8259 interrupt controllers (pic) (d31:f0) the ich7 incorporates the functionality of two 8259 interrupt controllers that provide system interrupts for the isa compatible interrupts. these interrupts are: system timer, keyboard controller, serial ports, pa rallel ports, floppy disk, ide, mouse, and dma channels. in addition, this interru pt controller can support the pci based interrupts, by mapping the pc i interrupt onto the compatible isa interrupt line. each 8259 core supports eight interrupts, numbered 0 ? 7. table 5-13 shows how the cores are connected. . the ich7 cascades the slave controller onto the master controller through master controller interrupt input 2. this means th ere are only 15 possible interrupts for the ich7 pic. table 5-13. interrupt controller core connections 8259 8259 input typical interrupt source connected pin / function master 0 internal internal timer / counter 0 output / hpet #0 1 keyboard irq1 via serirq 2 internal slave controller intr output 3 serial port a irq3 via serirq, pirq# 4 serial port b irq4 via serirq, pirq# 5 parallel port / generic irq5 via serirq, pirq# 6 floppy disk irq6 via serirq, pirq# 7 parallel port / generic irq7 via serirq, pirq# slave 0 internal real time clock internal rtc / hpet #1 1 generic irq9 via serirq, sci, tco, or pirq# 2 generic irq10 via serirq, sci, tco, or pirq# 3 generic irq11 via serirq, sci, tco, or pirq# 4 ps/2 mouse irq12 via serirq, sci, tco, or pirq# 5 internal state machine output ba sed on processor ferr# assertion. may optionally be used for sci or tco interrupt if ferr# not needed. 6 ide cable, sata ideirq (legacy mode, non-combined or combined mapped as primary), sata primary (legacy mode), or via serirq or pirq# 7 ide cable, sata ideirq (legacy mode ? combined, mapped as secondary), sata secondar y (legacy mode) or via serirq or pirq# free datasheet http://www..net/
functional description 134 intel ? ich7 family datasheet interrupts can individually be programmed to be edge or level, except for irq0, irq2, irq8#, and irq13. note: active-low interrupt sources (e.g., the pirq #s) are inverted inside the ich7. in the following descriptions of the 8259s, the interr upt levels are in reference to the signals at the internal interface of the 8259s, afte r the required inversions have occurred. therefore, the term ?high? indicates ?act ive,? which means ?low? on an originating pirq#. 5.9.1 interrupt handling 5.9.1.1 generating interrupts the pic interrupt sequence involves three bits, from the irr, isr, and imr, for each interrupt level. these bits are used to de termine the interrupt vector returned, and status of any other pending interrupts. table 5-14 defines the irr, isr, and imr. 5.9.1.2 acknowledging interrupts the processor generates an interrupt acknowle dge cycle that is translated by the host bridge into a pci interrupt acknowledge cy cle to the ich7. the pic translates this command into two internal inta# pulses expe cted by the 8259 cores. the pic uses the first internal inta# pulse to freeze the state of the interrupts for priority resolution. on the second inta# pulse, the master or slave sends the interrupt vector to the processor with the acknowledged interrupt code. this code is based upon bits [7:3] of the corresponding icw2 register, combined wi th three bits representing the interrupt within that controller. table 5-14. interrupt status registers bit description irr interrupt request register. this bit is set on a low to high transition of the interrupt line in edge mode, and by an active high level in level mode. this bit is set whether or not the interrupt is masked. however, a ma sked interrupt will not generate intr. isr interrupt service register. this bit is set, and the co rresponding irr bit cleared, when an interrupt acknowledge cycle is seen, and the vect or returned is for that interrupt. imr interrupt mask register. this bit determines whethe r an interrupt is masked. masked interrupts will not generate intr. table 5-15. content of interrupt vector byte master, slave interrupt bits [7:3] bits [2:0] irq7,15 icw2[7:3] 111 irq6,14 110 irq5,13 101 irq4,12 100 irq3,11 011 irq2,10 010 irq1,9 001 irq0,8 000 free datasheet http://www..net/
intel ? ich7 family datasheet 135 functional description 5.9.1.3 hardware/softwa re interrupt sequence 1. one or more of the interrupt request lines (irq) are raised high in edge mode, or seen high in level mode, setting the corresponding irr bit. 2. the pic sends intr active to the processor if an asserted interrupt is not masked. 3. the processor acknowledges the intr and responds with an interrupt acknowledge cycle. the cycle is translated into a pc i interrupt acknowledge cycle by the host bridge. this command is broadcast over pci by the ich7. 4. upon observing its own interrupt acknowle dge cycle on pci, the ich7 converts it into the two cycles that the internal 825 9 pair can respond to. each cycle appears as an interrupt acknowledge pulse on the internal inta# pin of the cascaded interrupt controllers. 5. upon receiving the first internally genera ted inta# pulse, the highest priority isr bit is set and the corresponding irr bit is reset. on the trailing edge of the first pulse, a slave identification code is broadcast by the master to the slave on a private, internal three bit wide bus. the slave controller uses these bits to determine if it must respond with an interrupt vector during the second inta# pulse. 6. upon receiving the second internally ge nerated inta# pulse, the pic returns the interrupt vector. if no interrupt request is present because the request was too short in duration, the pic returns vector 7 from the master controller. 7. this completes the interrupt cycle. in aeoi mode the isr bit is reset at the end of the second inta# pulse. otherwise, the isr bit remains set until an appropriate eoi command is issued at the end of the interrupt subroutine. 5.9.2 initialization command words (icwx) before operation can begin, each 8259 must be initialized. in the ich7, this is a four byte sequence. the four initialization command words are referred to by their acronyms: icw1, icw2, icw3, and icw4. the base address for each 8259 initialization command word is a fixed location in the i/o memory space: 20h for the master controller, and a0h for the slave controller. 5.9.2.1 icw1 an i/o write to the master or slave controller base address with data bit 4 equal to 1 is interpreted as a write to icw1. upon sensin g this write, the ich7 pic expects three more byte writes to 21h for the master controller, or a1h for the slave controller, to complete the icw sequence. a write to icw1 starts the initializati on sequence during which the following automatically occur: 1. following initialization, an interrupt request (irq) input must make a low-to-high transition to generate an interrupt. 2. the interrupt mask register is cleared. 3. irq7 input is assigned priority 7. 4. the slave mode address is set to 7. 5. special mask mode is cleared and status read is set to irr. free datasheet http://www..net/
functional description 136 intel ? ich7 family datasheet 5.9.2.2 icw2 the second write in the sequence (icw2) is programmed to provide bits [7:3] of the interrupt vector that will be released during an interrupt acknowledge. a different base is selected for each interrupt controller. 5.9.2.3 icw3 the third write in the sequence (icw3) has a different meaning for each controller. ? for the master controller, icw3 is used to indicate which irq input line is used to cascade the slave controller. within the ic h7, irq2 is used. therefore, bit 2 of icw3 on the master controller is set to a 1, and the other bits are set to 0s. ? for the slave controller, icw3 is the sl ave identification code used during an interrupt acknowledge cycle. on interrupt acknowledge cycles, the master controller broadcasts a code to the slave controller if the cascaded interrupt won arbitration on the master controller. the slave controller compares this identification code to the value stored in its icw3, and if it matches, the slave controller assumes responsibility for broadcasting the interrupt vector. 5.9.2.4 icw4 the final write in the sequence (icw4) must be programmed for both controllers. at the very least, bit 0 must be set to a 1 to indicate that the controllers are operating in an intel architecture-based system. 5.9.3 operation command words (ocw) these command words reprogram the interru pt controller to operate in various interrupt modes. ? ocw1 masks and unmasks interrupt lines. ? ocw2 controls the rotation of interrupt priorities when in rotating priority mode, and controls the eoi function. ? ocw3 is sets up isr/irr reads, enables/disables the special mask mode (smm), and enables/disables polled interrupt mode. 5.9.4 modes of operation 5.9.4.1 fully nested mode in this mode, interrupt requests are ordered in priority from 0 through 7, with 0 being the highest. when an interrupt is acknow ledged, the highest priority request is determined and its vector placed on the bus. additionally, the isr for the interrupt is set. this isr bit remains set until: the processor issues an eoi command immediately before returning from the service routine; or if in aeoi mode, on the trailing edge of the second inta#. while the isr bit is set, all further interrupts of the same or lower priority are inhibited, while higher levels ge nerate another interrupt. interrupt priorities can be changed in the rotating priority mode. free datasheet http://www..net/
intel ? ich7 family datasheet 137 functional description 5.9.4.2 special fully-nested mode this mode is used in the case of a system where cascading is used, and the priority has to be conserved within each slave. in this case, the special fully-nested mode is programmed to the master controller. this mode is similar to the fully-nested mode with the following exceptions: ? when an interrupt request from a certain slave is in service, this slave is not locked out from the master's priority logic and further interrupt requests from higher priority interrupts within the slave are recognized by the master and initiate interrupts to the processor. in the normal-nested mode, a slave is masked out when its request is in service. ? when exiting the interrupt service routine, software has to check whether the interrupt serviced was the only one from th at slave. this is done by sending a non- specific eoi command to the slave and then reading its isr. if it is 0, a non- specific eoi can also be sent to the master. 5.9.4.3 automatic rotation mode (equal priority devices) in some applications, there are a number of interrupting devices of equal priority. automatic rotation mode provides for a sequential 8-way rotation. in this mode, a device receives the lowest priority after being serviced. in the worst case, a device requesting an interrupt has to wait until each of seven other devices are serviced at most once. there are two ways to accomplish automatic rotation using ocw2; the rotation on non-specific eoi command (r=1, sl=0, eoi=1) and the rotate in automatic eoi mode which is set by (r=1, sl=0, eoi=0). 5.9.4.4 specific rotation mode (specific priority) software can change interrupt priorities by programming the bottom priority. for example, if irq5 is programmed as the bottom priority device, then irq6 is the highest priority device. the set priority command is issued in ocw2 to accomplish this, where: r=1, sl=1, and lo?l2 is the binary priority level code of the bottom priority device. in this mode, internal status is updated by software control during ocw2. however, it is independent of the eoi command. priority changes can be executed during an eoi command by using the rotate on specific eoi command in ocw2 (r=1, sl=1, eoi=1 and lo?l2=irq level to receive bottom priority. 5.9.4.5 poll mode poll mode can be used to conserve space in the interrupt vector table. multiple interrupts that can be serviced by one inte rrupt service routine do not need separate vectors if the service routine uses the poll command. poll mode can also be used to expand the number of interrupts. the po lling interrupt service routine can call the appropriate service routine, instead of prov iding the interrupt vectors in the vector table. in this mode, the intr output is not used and the microprocessor internal interrupt enable flip-flop is reset, disabling its interrupt input. service to devices is achieved by software using a poll command. the poll command is issued by setting p=1 in ocw3. the pic treats its next i/o read as an interrupt acknowledge, sets the appropriat e isr bit if there is a request, and reads the priority level. interrupts are frozen from the ocw3 write to the i/o read. the byte returned during the i/o read contains a 1 in bit 7 if there is an interrupt, and the binary code of the highest priority level in bits 2:0. free datasheet http://www..net/
functional description 138 intel ? ich7 family datasheet 5.9.4.6 cascade mode the pic in the ich7 has one master 825 9 and one slave 8259 cascaded onto the master through irq2. this configuration can handle up to 15 separate priority levels. the master controls the slaves through a thr ee bit internal bus. in the ich7, when the master drives 010b on this bus, the slave controller takes responsibility for returning the interrupt vector. an eoi command must be issued twice: once for the master and once for the slave. 5.9.4.7 edge and level triggered mode in isa systems this mode is programmed using bit 3 in icw1, which sets level or edge for the entire controller. in the ich7, this bi t is disabled and a new register for edge and level triggered mode selection, per interrupt input, is included. th is is the edge/level control registers elcr1 and elcr2. if an elcr bit is 0, an interrupt request w ill be recognized by a low-to-high transition on the corresponding irq input. the irq in put can remain high without generating another interrupt. if an elcr bit is 1, an in terrupt request will be recognized by a high level on the corresponding irq input and ther e is no need for an edge detection. the interrupt request must be removed before the eoi command is issued to prevent a second interrupt from occurring. in both the edge and level triggered modes, the irq inputs must remain active until after the falling edge of the first internal in ta#. if the irq input goes inactive before this time, a default irq7 vector is returned. 5.9.4.8 end of interrupt (eoi) operations an eoi can occur in one of two fashions: by a command word write issued to the pic before returning from a service routine, th e eoi command; or automatically when aeoi bit in icw4 is set to 1. 5.9.4.9 normal end of interrupt in normal eoi, software writes an eoi co mmand before leaving the interrupt service routine to mark the interrupt as complete d. there are two forms of eoi commands: specific and non-specific. when a non-specific eoi command is issued, the pic clears the highest isr bit of those that are set to 1. non-specif ic eoi is the normal mode of operation of the pic within the ich7, as the interrupt being serviced currently is the interrupt entered with the interrupt acknowledge. wh en the pic is operated in modes that preserve the fully nested structure, software can determine which isr bit to clear by issuing a specific eoi. an isr bit that is masked is not cleared by a non-specific eoi if the pic is in the special mask mode. an eoi command must be issued for both the master and slave controller. 5.9.4.10 automatic end of interrupt mode in this mode, the pic automatically performs a non-specific eoi operation at the trailing edge of the last interrupt acknowle dge pulse. from a system standpoint, this mode should be used only when a nested mu lti-level interrupt structure is not required within a single pic. the aeoi mode can only be used in the master controller and not the slave controller. free datasheet http://www..net/
intel ? ich7 family datasheet 139 functional description 5.9.5 masking interrupts 5.9.5.1 masking on an indi vidual interr upt request each interrupt request can be masked individually by the interrupt mask register (imr). this register is programmed through ocw1. each bit in the imr masks one interrupt channel. masking irq2 on the master controller masks all requests for service from the slave controller. 5.9.5.2 special mask mode some applications may require an interrupt service routine to dynamically alter the system priority structure during its execution under software control. for example, the routine may wish to inhibit lower priority requests for a portion of its execution but enable some of them for another portion. the special mask mode enables all interrupts not masked by a bit set in the mask register. normally, when an interrupt servic e routine acknowledges an interrupt without issuing an eoi to clear the isr bit, the interrupt controller inhibits all lower priority requests. in the special mask mode, any interrupts may be selectively enabled by loading the mask register with the appropriate pattern. the special mask mode is set by ocw3 where: ssmm=1, smm=1, and cleared where ssmm=1, smm=0. 5.9.6 steering pci interrupts the ich7 can be programmed to allow pirqa#-pirqh# (pirqe#?pirqh# on ultra mobile) to be internally routed to interrup ts 3?7, 9?12, 14 or 15. the assignment is programmable through the through the pirqx route control registers, located at 60? 63h and 68?6bh in device 31:function 0. one or more pirqx# lines can be routed to the same irqx input. if interrupt steering is not required, the route registers can be programmed to disable steering. the pirqx# lines are defined as active low, level sensitive to allow multiple interrupts on a pci board to share a single line across the connector. when a pirqx# is routed to specified irq line, software must change the irq's corresponding elcr bit to level sensitive mode. the ich7 internally inverts the pirqx# line to send an active high level to the pic. when a pci interrupt is routed on to the pic, the selected irq can no longer be used by an active high device (through serirq). however, active low interrupts can share their interrupt with pci interrupts. internal sources of the pirqs, including sci and tco interrupts, cause the external pirq to be asserted. the ich7 receives the pirq input, like all of the other external sources, and routes it accordingly. free datasheet http://www..net/
functional description 140 intel ? ich7 family datasheet 5.10 advanced programmable interrupt controller (apic) (d31:f0) in addition to the standard isa-compatible pic described in the previous chapter, the ich7 incorporates the apic. while the standa rd interrupt controller is intended for use in a uni-processor system, apic can be used in either a uni-processor or multi- processor system. 5.10.1 interrupt handling the i/o apic handles interrupts very differently than the 8259. briefly, these differences are: ? method of interrupt transmission. the i/o apic transmits interrupts through memory writes on the normal datapath to the processor, and interrupts are handled without the need for the processor to run an interrupt acknowledge cycle. ? interrupt priority. the priority of interrupts in th e i/o apic is independent of the interrupt number. for example, interrupt 10 can be given a higher priority than interrupt 3. ? more interrupts. the i/o apic in the ich7 supports a total of 24 interrupts. ? multiple interrupt controllers. the i/o apic architecture allows for multiple i/o apic devices in the system with their own interrupt vectors. 5.10.2 interrupt mapping the i/o apic within the ich7 supports 24 apic interrupts. each interrupt has its own unique vector assigned by software. the interrupt vectors are mapped as follows, and match ?config 6? of the multi-processor specification . table 5-16. apic interrupt mapping (sheet 1 of 2) irq # 1 via serirq direct from pin via pci message internal modules 0 no no no cascade from 8259 #1 1 yes no yes 2 no no no 8254 counter 0, hpet #0 (legacy mode) 3 yes no yes 4 yes no yes 5 yes no yes 6 yes no yes 7 yes no yes 8 no no no rtc, hpet #1 (legacy mode) 9 yes no yes option for sci, tco 10 yes no yes option for sci, tco 11 yes no yes hpet #2, option for sci, tco 2 12 yes no yes 13 no no no ferr# logic 14 yes yes 3 yes ideirq (legacy mode, non-combined or combined mapped as primary), sata primary (legacy mode) 15 yes yes yes ideirq (legacy mode ? combined, mapped as secondary), sata seco ndary (legacy mode) free datasheet http://www..net/
intel ? ich7 family datasheet 141 functional description notes: 1. when programming the polarity of internal interrupt sources on the apic, interrupts 0 through 15 receive active-high internal interrupt sources, while interrupts 16 through 23 receive active-low inte rnal interrupt sources. 2. if irq 11 is used for hpet #2, software should ensure irq 11 is not shared with any other devices to ensure the proper operation of hpet #2. ich7 hardware does not prevent sharing of irq 11. 3. ideirq can only be driven directly from the pin when in legacy ide mode. 5.10.3 pci / pci express* message-based interrupts when external devices through pci / pci expr ess wish to generate an interrupt, they will send the message defined in the pci express* base specification, revision 1.0a for generating inta# ? intd#. these will be tran slated internal assertions/de-assertions of inta# ? intd#. 5.10.4 front side bu s interrupt delivery for processors that support front side bus (fsb) interrupt delivery, the ich7 requires that the i/o apic deliver interrupt message s to the processor in a parallel manner, rather than using the i/o apic serial scheme. this is done by the ich7 writing (via dmi) to a memory location that is snooped by the processor(s). the processor(s) snoop the cycle to know which interrupt goes active. the following sequence is used: 1. when the ich7 detects an interrupt even t (active edge for edge-triggered mode or a change for level-triggered mode), it sets or resets the internal irr bit associated with that interrupt. 2. internally, the ich7 requests to use the bus in a way that automatically flushes upstream buffers. this can be internally implemented similar to a dma device request. 3. the ich7 then delivers the message by pe rforming a write cycle to the appropriate address with the appropriate data. the address and data formats are described below in section 5.10.4.4 . note: fsb interrupt delivery compatibility with processor clock control depends on the processor, not the ich7. 16 pirqa# pirqa# yes internal devices are routable; see section 7.1.41 though section 7.1.50 . note: pirqa#?pirqd# are not on ultra mobile. 17 pirqb# pirqb# 18 pirqc# pirqc# 19 pirqd# pirqd# 20 n/a pirqe# yes option for sci, tco, hpet #0,1,2. other internal devices are routable; see section 7.1.41 through section 7.1.50 . 21 n/a pirqf# 22 n/a pirqg# 23 n/a pirqh# table 5-16. apic interrupt mapping (sheet 2 of 2) irq # 1 via serirq direct from pin via pci message internal modules free datasheet http://www..net/
functional description 142 intel ? ich7 family datasheet 5.10.4.1 edge-triggered operation in this case, the ?assert message? is sent when there is an inactive-to-active edge on the interrupt. 5.10.4.2 level-trig gered operation in this case, the ?assert message? is sent when there is an inactive-to-active edge on the interrupt. if after the eoi the interrupt is still active, then another ?assert message? is sent to indicate that the interrupt is still active. 5.10.4.3 registers associated with front side bus interrupt delivery capabilities indication: the capability to support front side bus interrupt delivery is indicated via acpi configuration techniques. this involves the bios creating a data structure that gets reported to the acpi configuration software. 5.10.4.4 interrupt message format the ich7 writes the message to pci (and to the host controller) as a 32-bit memory write cycle. it uses the formats shown in table 5-17 and table 5-18 for the address and data. the local apic (in the processor) has a delivery mode option to interpret front side bus messages as a smi in which case the processor treats the incoming interrupt as a smi instead of as an interrupt. this does not mean that the ich7 has any way to have a smi source from ich7 power management logic cause the i/o apic to send an smi message (there is no way to do this). the ich7?s i/o apic can only send interrupts due to interrupts which do not include smi, nmi or init. this means that in ia32/ia64 based platforms, front side bus interrupt message format delivery modes 010 (smi/pmi), 100 (nmi), and 101 (init) as indicated in this section, must not be used and is not supported. only the hardware pin connection is supported by ich7. : table 5-17. interrupt message address format bit description 31:20 will allways be feeh 19:12 destination id: this is the same as bits 63:56 of the i/o redirection table entry for the interrupt associated with this message. 11:4 extended destination id : this is the same as bits 55:48 of the i/o redirection table entry for the interrupt as sociated with this message. 3 redirection hint: this bit is used by the processor host bridge to allow the interrupt message to be redirected. 0 = the message will be delivered to the agent (pro cessor) listed in bits 19:12. 1 = the message will be delivered to an agent with a lower interrupt priority this can be derived from bits 10:8 in the data field (see below). the redirection hint bit will be a 1 if bits 10:8 in the delivery mode field associated with corresponding interrupt are encoded as 001 (lowest priority). otherwise, the redirection hint bit will be 0 2 destination mode: this bit is used only the redirect ion hint bit is set to 1. if the redirection hint bit and the destination mode bit are both set to 1, then the logical destination mode is used, and the redirection is limited only to those processors that are part of the logical group as based on the logical id. 1:0 will always be 00. free datasheet http://www..net/
intel ? ich7 family datasheet 143 functional description 5.11 serial interrupt (d31:f0) the ich7 supports a serial irq scheme. this allo ws a single signal to be used to report interrupt requests. the signal used to transm it this information is shared between the host, the ich7, and all peripherals that support serial interrupts. the signal line, serirq, is synchronous to pci clock, and follows the sustained tri-state protocol that is used by all pci signals. this means that if a device has driven serirq low, it will first drive it high synchronous to pci clock and release it the following pci clock. the serial irq protocol defines this sustained tri-state signaling in the following fashion: ? s ? sample phase. signal driven low ? r ? recovery phase. signal driven high ? t ? turn-around phase. signal released the ich7 supports a message for 21 serial interrupts. these represent the 15 isa interrupts (irq0?1, 2?15), the four pci inte rrupts, and the control signals smi# and iochk#. the serial irq protocol does no t support the additional apic interrupts (20?23). note: when the ide controller is enabled or the sa ta controller (desktop and mobile only) is configured for legacy ide mode, irq14 an d irq15 are expected to behave as isa legacy interrupts, which cannot be shared, i. e. through the serial interrupt pin. if irq14 and irq15 are shared with serial interrupt pin then abnormal system behavior may occur. for example, irq14/15 may not be detected by ich7's interrupt controller. 5.11.1 start frame the serial irq protocol has two modes of operation which affect the start frame. these two modes are: continuous, where the ich7 is solely responsible for generating the start frame; and quiet, where a serial irq peripheral is responsible for beginning the start frame. table 5-18. interrupt message data format bit description 31:16 will always be 0000h. 15 trigger mode: 1 = level, 0 = edge. same as the corresponding bit in the i/o redirection table for that interrupt. 14 delivery status: 1 = assert, 0 = deassert. only assert messages are sent. this bit is always 1. 13:12 will always be 00 11 destination mode: 1 = logical. 0 = physical. same as the correspondi ng bit in the i/o redirection table for that interrupt. 10:8 delivery mode: this is the same as the correspo nding bits in the i/o redirection table for that interrupt. 000 = fixed 100 = nmi 001 = lowest priority 101 = init 010 = smi/pmi 110 = reserved 011 = reserved 111 = extint 7:0 vector: this is the same as th e corresponding bits in the i/o redirection table for that interrupt. free datasheet http://www..net/
functional description 144 intel ? ich7 family datasheet the mode that must first be entered when enabling the serial irq protocol is continuous mode. in this mode, the ich7 asse rts the start frame. this start frame is 4, 6, or 8 pci clocks wide based upon the serial irq control register, bits 1:0 at 64h in device 31:function 0 configuratio n space. this is a polling mode. when the serial irq stream enters quiet mode (signaled in the stop frame), the serirq line remains inactive and pulled up between the stop and start frame until a peripheral drives the serirq signal low. th e ich7 senses the line low and continues to drive it low for the remainder of the start fr ame. since the first pci clock of the start frame was driven by the peripheral in this mode, the ich7 drives the serirq line low for 1 pci clock less than in continuous mode. this mode of operation allows for a quiet, and therefore lower power, operation. 5.11.2 data frames once the start frame has been initiated, all of the serirq peripherals must start counting frames based on the rising edge of serirq. each of the irq/data frames has exactly 3 phases of 1 clock each: ? sample phase. during this phase, the serirq device drives serirq low if the corresponding interrupt signal is low. if the corresponding interrupt is high, then the serirq devices tri-state the serirq signal. the serirq line remains high due to pull-up resistors (there is no internal pull-up resistor on this signal, an external pull-up resistor is required). a low level during the irq0 ? 1 and irq2 ? 15 frames indicates that an active-high isa interrupt is not being requested, but a low level during the pci int[a:d], smi#, and iochk# frame indicates that an active-low interrupt is being requested. ? recovery phase. during this phase, the device drives the serirq line high if in the sample phase it was driven low. if it was not driven in the sample phase, it is tri-stated in this phase. ? turn-around phase. the device tri-states the serirq line 5.11.3 stop frame after all data frames, a stop frame is driven by the ich7. the serirq signal is driven low by the ich7 for 2 or 3 pci clocks. the number of clocks is determined by the serirq configuration register. the number of clocks determines the next mode: 5.11.4 specific interrupts not supported via serirq there are three interrupts seen through the se rial stream that are not supported by the ich7. these interrupts are generated intern ally, and are not sharable with other devices within the system. these interrupts are: ? irq0. heartbeat interrupt generated off of the internal 8254 counter 0. ? irq8#. rtc interrupt can only be generated internally. ? irq13. floating point error interrupt gene rated off of the processor assertion of ferr#. the ich7 ignores the state of these interrupts in the serial stream, and does not adjust their level based on the level seen in the serial stream. table 5-19. stop frame explanation stop frame width next mode 2 pci clocks quiet mode. any serirq device may initiate a start frame 3 pci clocks continuous mode. only the host (intel ? ich7) may initiate a start frame free datasheet http://www..net/
intel ? ich7 family datasheet 145 functional description 5.11.5 data frame format table 5-20 shows the format of the data frames. for the pci interrupts (a ? d), the output from the ich7 is anded with the pci input signal. this way, the interrupt can be signaled via both the pci interrupt input signal and via the serirq signal (they are shared). table 5-20. data frame format data frame # interrupt clocks past start frame comment 1 irq0 2 ignored. irq0 can only be generated via the internal 8524 2 irq1 5 3 smi# 8 causes smi# if low. wi ll set the serirq_smi_sts bit. 4 irq3 11 5 irq4 14 6 irq5 17 7 irq6 20 8 irq7 23 9 irq8 26 ignored. irq8# can only be generated internally. 10 irq9 29 11 irq10 32 12 irq11 35 13 irq12 38 14 irq13 41 ignored. irq13 can only be generated from ferr# 15 irq14 44 not attached to pata or sata logic 16 irq15 47 not attached to pata or sata logic 17 iochck# 50 same as isa iochck# going active. 18 pci inta# 53 drive pirqa# 19 pci intb# 56 drive pirqb# 20 pci intc# 59 drive pirqc# 21 pci intd# 62 drive pirqd# free datasheet http://www..net/
functional description 146 intel ? ich7 family datasheet 5.12 real time clock (d31:f0) the real time clock (rtc) module provides a battery backed-up date and time keeping device with two banks of static ram with 128 bytes each, although the first bank has 114 bytes for general purpose usage. three interrupt features are available: time of day alarm with once a second to once a month range, periodic rates of 122 s to 500 ms, and end of update cycle notification. seconds, minutes, hours, days, day of week, month, and year are counted. daylight savings compensation is available. the hour is represented in twelve or twenty-fou r hour format, and data can be represented in bcd or binary format. the design is f unctionally compatible with the motorola ms146818b. the time keeping comes from a 32.768 khz oscillating source, which is divided to achieve an update every second. the lower 14 bytes on the lower ram block has very specific functions. the first ten ar e for time and date information. the next four (0ah to 0dh) are registers, which configure and report rtc functions. the time and calendar data should match the data mode (bcd or binary) and hour mode (12 or 24 hour) as selected in regist er b. it is up to the programmer to make sure that data stored in these locations is within the reasonable values ranges and represents a possible date and time. the exception to these ranges is to store a value of c0?ffh in the alarm bytes to indicate a don?t care situation. all alarm conditions must match to trigger an alarm flag, which co uld trigger an alarm interrupt if enabled. the set bit must be 1 while programming these locations to avoid clashes with an update cycle. access to time and date inform ation is done through the ram locations. if a ram read from the ten time and date bytes is attempted during an update cycle, the value read do not necessarily represent the true contents of those locations. any ram writes under the same conditions are ignored. note: the leap year determination for adding a 29th day to february does not take into account the end-of-the-century exceptions. the logic simply assumes that all years divisible by 4 are leap years. according to the royal observatory greenwich, years that are divisible by 100 are typically not leap year s. in every fourth century (years divisible by 400, like 2000), the 100-year-exception is over-ridden and a leap-year occurs. note that the year 2100 will be the first time in which the current rtc implementation would incorrectly calculate the leap-year. the ich7 does not implement month/year alarms. 5.12.1 update cycles an update cycle occurs once a second, if th e set bit of register b is not asserted and the divide chain is properly configured. during this procedure, the stored time and date are incremented, overflow is checked, a ma tching alarm condition is checked, and the time and date are rewritten to the ram locations. the update cycle will start at least 488 s after the uip bit of register a is asserted, and the entire cycle does not take more than 1984 s to complete. the time and date ram locations (0 ? 9) are disconnected from the external bus during this time. to avoid update and data corruption conditions, external ram access to these locations can safely occur at two times. when a upda ted-ended interrupt is detected, almost 999 ms is available to read and write the valid time and date data. if the uip bit of register a is detected to be low, there is at least 488 s before the update cycle begins. warning: the overflow conditions for leap years and daylight savings adjustments are based on more than one date or time item. to ensure proper operation when adjusting the time, the new time and data values should be se t at least two seconds before one of these conditions (leap year, daylight savings time adjustments) occurs. free datasheet http://www..net/
intel ? ich7 family datasheet 147 functional description 5.12.2 interrupts the real-time clock interrupt is internally routed within the ich7 both to the i/o apic and the 8259. it is mapped to interrupt ve ctor 8. this interrupt does not leave the ich7, nor is it shared with any other interrupt. irq8# from the serirq stream is ignored. however, the high performance event timers can also be mapped to irq8#; in this case, the rtc interrupt is blocked. 5.12.3 lockable ram ranges the rtc?s battery-backed ram supports two 8- byte ranges that can be locked via the configuration space. if the locking bits are set, the corresponding range in the ram will not be readable or writable. a write cycle to those locations will have no effect. a read cycle to those locations will not return the location?s actual value (resultant value is undefined). once a range is locked, the range can be unlocked only by a hard reset, which will invoke the bios and allow it to relock the ram range. 5.12.4 century rollover the ich7 detects a rollover when the year byte (rtc i/o space, index offset 09h) transitions form 99 to 00. upon dete cting the rollover, the ich7 sets the newcentury_sts bit (tcobase + 04h, bit 7). if the system is in an s0 state, this causes an smi#. the smi# handler can update registers in the rtc ram that are associated with century value. if the system is in a sleep state (s1 ? s5) when the century rollover occurs, the ich7 also sets the newcentury_sts bit, but no smi# is generated. when the system resumes from the sleep state, bios should check the newcentury_sts bit and update the century value in the rtc ram. 5.12.5 clearing battery-backed rtc ram clearing cmos ram in an ich7-based plat form can be done by using a jumper on rtcrst# or gpi. implementations should not attempt to clear cmos by using a jumper to pull vccrtc low. using rtcrst# to clear cmos a jumper on rtcrst# can be used to clear cmos values, as well as reset to default, the state of those configuration bits that reside in the rtc power well. when the rtcrst# is strapped to ground, the rtc_pw r_sts bit (d31:f0:a4h bit 2) will be set and those configuration bits in the rtc powe r well will be set to their default state. bios can monitor the state of this bit, and manually clear the rtc cmos array once the system is booted. the normal position would cause rtcrst# to be pulled up through a weak pull-up resistor. table 5-21 shows which bits are set to their default state when rtcrst# is asserted. this rtcrst# jumper technique allows the jumper to be moved and then replaced?all while the system is powered off. then, once booted, the rtc_pwr_sts can be detected in the set state. free datasheet http://www..net/
functional description 148 intel ? ich7 family datasheet table 5-21. configuration bits reset by rtcrst# a ssertion (sheet 1 of 2) bit name register location bit(s) default state alarm interrupt enable (aie) register b (general configuration) (rtc_regb) i/o space (rtc index + 0bh) 5 x alarm flag (af) register c (flag register) (rtc_regc) i/o space (rtc index + 0ch) 5 x swsmi_rate_sel general pm configuration 3 register gen_pmcon_3 d31:f0:a4h 7:6 0 slp_s4# minimum assertion width general pm configuration 3 register gen_pmcon_3 d31:f0:a4h 5:4 0 slp_s4# assertion stretch enable general pm configuration 3 register gen_pmcon_3 d31:f0:a4h 3 0 rtc power status (rtc_pwr_sts) general pm configuration 3 register gen_pmcon_3 d31:f0:a4h 2 0 power failure (pwr_flr) general pm configuration 3 register (gen_pmcon_3) d31:f0:a4h 1 0 afterg3_en general pm configuration 3 register gen_pmcon_3 d31:f0:a4h 0 0 power button override status (prbtnor_sts) power management 1 status register (pm1_sts) pmbase + 00h 11 0 rtc event enable (rtc_en) power management 1 enable register (pm1_en) pmbase + 02h 10 0 sleep type (slp_typ) power management 1 control (pm1_cnt) pmbase + 04h 12:10 0 pme_en general purpose event 0 enables register (gpe0_en) pmbase + 2ch 11 0 batlow_en (mobile/ultra mobile only) general purpose event 0 enables register (gpe0_en) pmbase + 2ch 10 0 ri_en general purpose event 0 enables register (gpe0_en) pmbase + 2ch 8 0 free datasheet http://www..net/
intel ? ich7 family datasheet 149 functional description using a gpi to clear cmos a jumper on a gpi can also be used to clear cmos values. bios would detect the setting of this gpi on system boot-u p, and manually clear the cmos array. note: the gpi strap technique to clear cmos requires multiple steps to implement. the system is booted with the jumper in ne w position, then powered back down. the jumper is replaced back to the normal posi tion, then the system is rebooted again. warning: clearing cmos, using a jumper on vccrtc, must not be implemented. 5.13 processor interface (d31:f0) the ich7 interfaces to the processor with a variety of signals ? standard outputs to processor: a20m#, smi#, nmi, init#, intr, stpclk#, ignne#, cpuslp# (supported only on desktop platforms), cpupwrgd ? standard input from processor: ferr# ? intel speedstep ? technology output to processor: cpupwrgood (in mobile/ultra mobile configurations) most ich7 outputs to the processor use standard buffers. the ich7 has separate v_cpu_io signals that are pulled up at the system level to the processor voltage, and thus determines voh for the outputs to the processor. 5.13.1 processor interface signals this section describes each of the signal s that interface between the ich7 and the processor(s). note that the behavior of some signals may vary during processor reset, as the signals are used for frequency strapping. 5.13.1.1 a20m# (mask a20) the a20m# signal is active (low) when both of the following conditions are true: ? the alt_a20_gate bit (bit 1 of port92 register) is a 0 ? the a20gate input signal is a 0 the a20gate input signal is expected to be generated by the external microcontroller (kbc). newcentury_sts tco1 status register (tco1_sts) tcobase + 04h 7 0 intruder detect (intrd_det) tco2 status register (tco2_sts) tcobase + 06h 0 0 top swap (ts) backed up control register (buc) chipset config registers:offset 3414h 0 x pata reset state (prs) (mobile/ultra mobile only) backed up control register (buc) chipset config registers:offset 3414h 1 1 table 5-21. configuration bits reset by rtcrst# assertio n (sheet 2 of 2) bit name register location bit(s) default state free datasheet http://www..net/
functional description 150 intel ? ich7 family datasheet 5.13.1.2 init# (initialization) the init# signal is active (driven low) base d on any one of several events described in table 5-22 . when any of these events occur, init # is driven low for 16 pci clocks, then driven high. note: the 16-clock counter for init# assertion halt s while stpclk# is active. therefore, if init# is supposed to go active while stpclk# is asserted, it actually goes active after stpclk# goes inactive. this section refers to init#, but applies to two signals: init# and init3_3v#, as init3_3v# is functionally identical to init#, but signaling at 3.3 v. 5.13.1.3 ferr#/ignne# (numeric coproc essor error/ ignore numeric error) the ich7 supports the coprocessor error function with the ferr#/ignne# pins. the function is enabled via the coproc_err_e n bit (chipset config registers:offset 31ffh:bit 1). ferr# is tied directly to the coprocessor error signal of the processor. if ferr# is driven active by the processor, irq13 goes active (internally). when it detects a write to the coproc_err register (i/o register f0h), the ich7 negates the internal irq13 and drives ignne# active. ig nne# remains active until ferr# is driven inactive. ignne# is not driven active unless ferr# is active. table 5-22. init# going active cause of init# going active comment shutdown special cycle from processor. port92 write, where init_now (bit 0) transitions from a 0 to a 1. portcf9 write, where sys_rst (bit 1) was a 0 and rst_cpu (bit 2) transitions from 0 to 1. rcin# input signal goes low. rcin# is expected to be driven by the external microcontroller (kbc). 0 to 1 transition on rcin# must occur before the intel ? ich7 will arm init# to be generated again. note: rcin# signal is expe cted to be high during s3 hot and low during s3 cold , s4, and s5 states. transition on the rcin# signal in those states (or the transition to those states) may not necessarily cause the init# signal to be generated to the processor. cpu bist to enter bist, software sets cpu_bist_en bit and then does a full processor reset using the cf9 register. free datasheet http://www..net/
intel ? ich7 family datasheet 151 functional description if coproc_err_en is not set, the assert ion of ferr# will have not generate an internal irq13, nor will the write to f0h generate ignne#. 5.13.1.4 nmi (non-maskable interrupt) non-maskable interrupts (nmis) can be genera ted by several sources, as described in table 5-23 . 5.13.1.5 stop clock request and cpu sleep (stpclk# and cpuslp#) the ich7 power management logic controls these active-low signals. refer to section 5.14 for more information on the functionality of these signals. note: cpu sleep (cpuslp#) is supported only on desktop platforms. 5.13.1.6 cpu power good (cpupwrgood) this signal is connected to the processor? s pwrgood input. this signal represents a logical and of the ich7?s pwrok and vrmpwrgd signals. 5.13.1.7 deeper sleep (dpslp#) (mobile/ultra mobile only) this active-low signal controls the internal gating of the processor?s core clock. this signal asserts before and deasserts after the stp_cpu# signal to effectively stop the processor?s clock (internally) in the states in which stp_cpu# can be used to stop the processor?s clock externally. figure 5-7. coprocessor error timing diagram ferr# internal irq13 i/o write to f0h ignne# table 5-23. nmi sources cause of nmi comment serr# goes active (either internally, externally via serr# signal, or via message from (g)mch) can instead be routed to generate an sci, through the nmi2sci_en bit (device 31:function 0, tco base + 08h, bit 11). iochk# goes active via serirq# stream (isa system error) can instead be routed to generate an sci, through the nmi2sci_en bit (device 31:function 0, tco base + 08h, bit 11). free datasheet http://www..net/
functional description 152 intel ? ich7 family datasheet 5.13.2 dual-processor is sues (desktop only) 5.13.2.1 signal differences in dual-processor designs, some of the processor signals are unused or used differently than for uniprocessor designs. 5.13.2.2 power management for multiple-processor (or multiple-core) conf igurations in which more than one stop grant cycle may be generated, the (g)mch is expected to count stop grant cycles and only pass the last one through to the ich7. th is prevents the ich7 from getting out of sync with the processor on multiple stpclk# assertions. because the s1 state will have the stpclk# signal active, the stpclk# signal can be connected to both processors. however, fo r acpi implementations, the bios must indicate that the ich7 only supports the c1 state for dual-processor designs. in going to the s1 state for desktop, multiple stop-grant cycles will be generated by the processors. the ich7 also has the option to assert the processor?s slp# signal (cpuslp#). it is assumed that prior to setting the slp_en bit (which causes the transition to the s1 state), the processors will not be executing code that is likely to delay the stop-grant cycles. in going to the s3, s4, or s5 states, the system will appear to pass through the s1 state; thus, stpclk# and slp# are also used . during the s3, s4, and s5 states, both processors will lose power. upon exit from those states, the processors will have their power restored. table 5-24. dp signal differences signal difference a20m# / a20gate generally not used, but still supported by intel ? ich7. stpclk# used for s1 state as well as preparation for entry to s3?s5 also allows for therm# based throttling (not via acpi control methods). should be connected to both processors. ferr# / ignne# generally not used , but still supported by ich7. free datasheet http://www..net/
intel ? ich7 family datasheet 153 functional description 5.14 power management (d31:f0) 5.14.1 features ? support for advanced configuration and powe r interface, version 2.0 (acpi) providing power and thermal management ? acpi 24-bit timer ? software initiated throttling of processor performance for thermal and power reduction ? hardware override to throttle processor performance if system too hot ? sci and smi# generation ? pci pme# signal for wake up from low-power states ? system clock control ? (mobile/ultra mobile only) acpi c2 st ate: stop grant (using stpclk# signal) halts processor?s instruction stream ? (mobile/ultra mobile only) acpi c3 state: ability to halt processor clock (but not memory clock) ? (mobile/ultra mobile only) acpi c4 state: ability to lower processor voltage. ? (mobile/ultra mobile only) clkrun# pr otocol for pci clock starting/stopping ? system sleep state control ? acpi s1 state: stop grant (using stpc lk# signal) halts processor?s instruction stream (only stpclk# active, and cpuslp# optional) ? acpi s3 state ? suspend to ram (str) ? acpi s4 state ? suspend-to-disk (std) ? acpi g2/s5 state ? soft off (soff) ? power failure detection and recovery ? streamlined legacy power management for apm-based systems 5.14.2 intel ? ich7 and syst em power states table 5-25 shows the power states defined for ich7-based platforms. the state names generally match the corresponding acpi states. table 5-25. general power states for systems using intel ? ich7 (sheet 1 of 2) state/ substates legacy name / description g0/s0/c0 full on: processor operating. individual de vices may be shut down to save power. the different proces sor operating levels are de fined by cx states, as shown in table 5-26 . within the c0 state, the intel ? ich7 can throttle the processor using the stpclk# signal to re duce power consumptio n. the throttling can be initiated by software or by the operating system or bios. g0/s0/c1 auto-halt: processor has executed an autohalt instruction and is not executing code. the processor snoops the bus and maintains cache coherency. g0/s0/c2 (mobile/ultra mobile only) stop-grant: the stpclk# signal go es active to the processor. the processor performs a stop-grant cycle, halts its in struction stream, and remains in that state until the stpclk# signal goes in active. in the stop-grant state, the processor snoops the bus and maintains cache coherency. free datasheet http://www..net/
functional description 154 intel ? ich7 family datasheet table 5-26 shows the transitions rules among the various states. note that transitions among the various states may appear to te mporarily transition through intermediate states. for example, in going from s0 to s1, it may appear to pass through the g0/s0/ c2 states. these intermediate transitions and states are not listed in the table. g0/s0/c3 (mobile/ultra mobile only) stop-clock: the stpclk# signal goes active to the processor. the processor performs a stop-grant cycle, halts its instruction stream. ich7 then asserts dpslp# followed by stp_cpu#, which fo rces the clock generator to stop the processor clock. this is al so used for intel speedstep ? technology support. accesses to memory (by graphics, pci, or internal units) is not permitted while in a c3 state. g0/s0/c4 (mobile/ultra mobile only) stop-clock with lower processor voltage: this closely resembles the g0/ s0/c3 state. however, after the ich7 has asserted stp_cpu#, it then lowers the voltage to the processor. this reduces the leakage on the processor. prior to exiting the c4 state, the ich7 increases the voltage to the processor. g1/s1 stop-grant: similar to g0/s0/c2 state. ich7 also has the option to assert the cpuslp# signal to further reduce proc essor power consumption (desktop only). note: the behavior for this state is slightly different when supporting ia64 processors. g1/s3 suspend-to-ram (str): the system context is maintained in system dram, but power is shut off to non-critical ci rcuits. memory is re tained, and refreshes continue. all clocks stop except rtc clock. g1/s4 suspend-to-disk (std): the context of the system is maintained on the disk. all power is then shut off to the system except for th e logic required to resume. g2/s5 soft off (soff): system context is not maintained. all power is shut off except for the logic required to restart. a full boot is required when waking. g3 mechanical off (moff): system context not maintained. all power is shut off except for the rtc. no ?wake? events are possible, because the system does not have any power. this state occurs if the user removes the batteries, turns off a mechanical switch, or if the system power supply is at a level that is insufficient to power the ?waking? logic. when system power returns, tran sition will depends on the state just prior to the entry to g3 and the afterg3 bit in the gen_pmcon3 register (d31:f0, offset a4). refer to table 5-33 for more details. table 5-25. general power states for systems using intel ? ich7 (sheet 2 of 2) state/ substates legacy name / description free datasheet http://www..net/
intel ? ich7 family datasheet 155 functional description notes: 1. some wake events can be pr eserved through power failure. 2. transitions from the s1?s5 or g3 states to the s0 state are defe rred until batlow# is inactive in mobile/ultra mobile configurations. table 5-26. state transition rules for intel ? ich7 present state transition trigger next state g0/s0/c0 ? processor halt instruction ? level 2 read ? level 3 read (mobile /ultra mobile only) ? level 4 read (mobile /ultra mobile only) ? slp_en bit set ? power button override ? mechanical off/power failure ? g0/s0/c1 ? g0/s0/c2 ? g0/s0/c2, g0/s0/c3 or g0/s0/c4 - depending on c4onc3_en bit (d31:f0:offset a0h:bit 7) and bm_sts_zero_en bit (d31:f0:offset a9h:bit 2) (mobile /ultra mobile only) ? g1/sx or g2/s5 state ? g2/s5 ? g3 g0/s0/c1 ? any enabled break event ? stpclk# goes active ? power button override ? power failure ? g0/s0/c0 ? g0/s0/c2 ? g2/s5 ? g3 g0/s0/c2 (mobile/ ultra mobile only) ? any enabled break event ? power button override ? power failure ? previously in c3/c4 and bus masters idle ? g0/s0/c0 ? g2/s5 ? g3 ? c3 or c4 - depending on pdme bit (d31:f0: offset a9h: bit 4) g0/s0/c3 (mobile/ ultra mobile only) ? any enabled break event ? any bus master event ? power button override ? power failure ? previously in c4 and bus masters idle ? g0/s0/c0 ? g0/s0/c2 - if pume bit (d31:f0: offset a9h: bit 3) is set, else g0/s0/c0 ? g2/s5 ? g3 ? c4 - depending on pdme bit (d31:f0: offset a9h: bit 4 g0/s0/c4 (mobile/ ultra mobile only) ? any enabled break event ? any bus master event ? power button override ? power failure ? g0/s0/c0 ? g0/s0/c2 - if pume bit (d31:f0: offset a9h: bit 3) is set, else g0/s0/c0 ? g2/s5 ? g3 g1/s1, g1/s3, or g1/s4 ? any enabled wake event ? power button override ? power failure ? g0/s0/c0 (see note 2) ? g2/s5 ? g3 g2/s5 ? any enabled wake event ? power failure ? g0/s0/c0 (see note 2) ? g3 g3 ? power returns ? optional to go to s0/c0 (reboot) or g2/s5 (stay off until power button pressed or other wake event). (see note 1 and 2) free datasheet http://www..net/
functional description 156 intel ? ich7 family datasheet 5.14.3 system power planes the system has several independent power planes, as described in table 5-27 . note that when a particular power plane is shut off, it should go to a 0 v level. s 5.14.4 smi#/sci generation on any smi# event taking place, ich7 assert s smi# to the processor, which causes it to enter smm space. smi# remains active unt il the eos bit is set. when the eos bit is set, smi# goes inactive for a minimum of 4 pciclk. if another smi event occurs, smi# is driven active again. the sci is a level-mode interrupt that is ty pically handled by an acpi-aware operating system. in non-apic systems (which is the de fault), the sci irq is routed to one of the 8259 interrupts (irq 9, 10, or 11). the 8259 interrupt controller must be programmed to level mode for that interrupt. table 5-27. system power plane plane controlled by description cpu slp_s3# signal the slp_s3# signal can be used to cut the power to the processor completely. for mobile/ultra mobile systems, the dprslpvr support allows lowering the processor?s voltage during the c4 state. s3 hot : the new s3 hot state keeps more of the platform logic, including the intel ? ich7 core well, powered to reduce the cost of external power plane logic. slp_s3 # is only used to remove power to the processor and to shut syst em clocks. this impacts the board design, but there is no specific ich7 bit or st rap needed to indicate which option is selected. main slp_s3# signal (s3 cold ) or slp_s4# signal (s3 hot ) s3 cold : when slp_s3# goes active, power can be shut off to any circuit not required to wake the system from the s3 state. since the s3 state requires that the memory context be preserved, power must be retained to the main memory. the processor, devices on the pci bus, lpc i/f, and graphics will typically be shut off when the ma in power plane is shut, although there may be small subsections powered. s3 hot : slp_s4# is used to cut the main power well, rather than using slp_s3#. this impacts the board design, but there is no specific ich7 bit or strap needed to indicate which option is selected. memory slp_s4# signal slp_s5# signal when the slp_s4# goes active, power can be shut off to any circuit not required to wake the system from the s4. since the memory context does not need to be preserved in the s4 state, the power to the memory can also be shut down. when slp_s5# goes active, power can be shut to any circuit not required to wake the system from the s5 state. since the memory context does not need to be preserved in the s5 state, the power to the memory can also be shut. device[n] gpio individual subsystems may have their own power plane. for example, gpio signals may be used to control the power to disk drives, audio amplifiers, or the display screen. free datasheet http://www..net/
intel ? ich7 family datasheet 157 functional description in systems using the apic, the sci can be rout ed to interrupts 9, 10, 11, 20, 21, 22, or 23. the interrupt polarity changes depending on whether it is on an interrupt shareable with a pirq or not (see section 10.1.14 ). the interrupt remains asserted until all sci sources are removed. table 5-28 shows which events can cause an smi# and sci. note that some events can be programmed to cause either an smi# or sci. the usage of the event for sci (instead of smi#) is typically associated wi th an acpi-based system. each smi# or sci source has a corresponding enable and status bit. table 5-28. causes of smi# and sci (sheet 1 of 2) cause 1-5 sci smi additional enables where reported pme# yes yes pme_en=1 pme_sts pme_b0 (internal ehci controller) yes yes pme_b0_en=1 pme_b0_sts pci express* pme messages (desktop and mobile) yes yes pci_exp_en=1 (not enabled for smi) pci_exp_sts pci express hot plug message (desktop and mobile) yes yes hot_plug_en=1 (not enabled for smi) hot_plug_sts power button press yes yes pwrbtn_en=1 pwrbtn_sts power button override 6 ) yes no none prbtnor_sts rtc alarm yes yes rtc_en=1 rtc_sts ring indicate yes yes ri_en=1 ri_sts ac ?97 wakes (desktop and mobile) yes yes ac97_en=1 ac97_sts usb#1 wakes yes yes usb1_en=1 usb1_sts usb#2 wakes yes yes usb2_en=1 usb2_sts usb#3 wakes yes yes usb3_en=1 usb3_sts usb#4 wakes yes yes usb4_en=1 usb4_sts thrm# pin active yes yes thrm_en=1 thrm_sts acpi timer overflow (2.34 sec.) yes yes tmrof_en=1 tmrof_sts any gpi 7 yes yes gpi[x]_route=10 (sci) gpi[x]_route=01 (smi) gpe0[x]_en=1 gpi[x]_sts gpe0_sts tco sci logic yes no tcosci_en=1 tcosci_sts tco sci message from (g)mch yes no none mchsci_sts tco smi logic no yes tco_en=1 tco_sts tco smi ? year 2000 rollover no yes none newcentury_sts tco smi ? tco timerout no yes none timeout tco smi ? os writes to tco_dat_in register no yes none os_tco_smi tco smi ? message from (g)mch no yes none mchsmi_sts free datasheet http://www..net/
functional description 158 intel ? ich7 family datasheet notes: 1. sci_en must be 1 to enable sci. sci_en must be 0 to enable smi. 2. sci can be routed to cause interrupt 9:11 or 20:23 (20:23 only available in apic mode). 3. gbl_smi_en must be 1 to enable smi. 4. eos must be written to 1 to re-enable smi for the next 1. 5. iich7 must have smi# fully enabled when ich7 is also enabled to trap cycles. if smi# is not enabled in conjunction with the trap enab ling, then hardware behavior is undefined. 6. when a power button override first occurs, the system will transition immediately to s5. the sci will only occur after the next wake to s0 if the residual status bit (prbtnor_sts) is not cleared prior to setting sci_en. 7. only gpi[15:0] may generate an smi# or sci. tco smi ? nmi occurred (and nmis mapped to smi) no yes nmi2smi_en=1 nmi2smi_sts tco smi ? intruder# signal goes active no yes intrd_sel=10 intrd_det tco smi ? change of the bioswp bit from 0 to 1 no yes bld=1 bioswr_sts tco smi ? write attempted to bios no yes bioswp=1 bioswr_sts bios_rls written to yes no gbl_en=1 gbl_sts gbl_rls written to no yes bios_en=1 bios_sts write to b2h register no yes apmc_en = 1 apm_sts periodic timer expires no yes periodic_en=1 periodic_sts 64 ms timer expires no yes sw smi_tmr_en=1 swsmi_tmr_sts enhanced usb legacy support event no yes legacy_usb2_en = 1 legacy_usb2_sts enhanced usb intel specific event no yes intel_usb2_en = 1 intel_usb2_sts uhci usb legacy logic no yes legacy_usb_en=1 legacy_usb_sts serial irq smi reported no yes none serirq_smi_sts device monitors match address in its range no yes none devmon_sts, devact_sts smbus host controller no yes smb_smi_en host controller enabled smbus host status reg. smbus slave smi message no yes none smbus_smi_sts smbus smbalert# signal active no yes none smbus_smi_sts smbus host notify message received no yes host_notify_intren smbus_smi_sts host_notify_sts (mobile/ultra mobile only) batlow# assertion yes yes batlow_en=1. batlow_sts access microcontroller 62h/ 66h no yes mcsmi_en mcsmi_sts slp_en bit written to 1 no yes sm i_on_slp_en=1 smi_on_slp_en_sts table 5-28. causes of smi# and sci (sheet 2 of 2) cause 1-5 sci smi additional en ables where reported free datasheet http://www..net/
intel ? ich7 family datasheet 159 functional description 5.14.4.1 pci express* sci (d esktop and mobile only) pci express ports and the (g)mch (via dmi) have the ability to cause pme using messages. when a pme message is received, the ich7 will set the pci_exp_sts bit. if the pci_exp_en bit is also set, the ich7 can cause an sci via the gpe1_sts register. 5.14.4.2 pci express* hot-plug (desktop and mobile only) pci express has a hot-plug mechanism and is capable of generating a sci via the gpe1 register. it is also capable of generating an smi. however, it is not capable of generating a wake event. 5.14.5 dynamic processor clock control the ich7 has extensive control for dynamically starting and stopping system clocks. the clock control is used for transitions am ong the various s0/cx states, and processor throttling. each dynamic clock control method is described in this section. the various sleep states may also perform types of non-dynamic clock control. the ich7 supports the acpi c0 and c1 states (in desktop) or c0, c1, c2, c3 and c4 (in mobile/ultra mobile) states. the dynamic processor clock control is handled using the following signals: ? stpclk#: used to halt processor instruction stream. ? (mobile/ultra mobile only) stp_cpu# : used to stop processor?s clock ? (mobile/ultra mobile only) dpslp#: used to force deeper sleep for processor. ? (mobile/ultra mobile only) dprslpvr: us ed to lower voltage of vrm during c4 state. ? (mobile/ultra mobile only) dprstp#: used to lower voltage of vrm during c4 state the c1 state is entered based on the processor performing an auto halt instruction. (mobile/ultra mobile only) the c2 state is entered based on the processor reading the level 2 register in the ich7. it can also be entered from c3 or c4 states if bus masters require snoops and the pume bit (d31:f0: offset a9h: bit 3) is set. (mobile/ultra mobile only) the c3 state is entered based on the processor reading the level 3 register in the ich7 and when the c4onc3_en bit is clear (d31:f0:offset a0:bit 7). this state can also be entered after a temp orary return to c2 from a prior c3 or c4 state. (mobile/ultra mobile only) the c4 state is entered based on the processor reading the level 4 register in the ich7, or by reading the level 3 register when the c4onc3_en bit is set. this state can also be entered afte r a temporary return to c2 from a prior c4 state. a c1 state in desktop only or a c1, c2, c3, or c4 state in mobile/ultra mobile only ends due to a break event. based on the break ev ent, the ich7 returns the system to c0 state. (mobile/ultra mobile only) table 5-29 lists the possible break events from c2, c3, or c4. the break events from c1 are indicated in the processor?s datasheet. free datasheet http://www..net/
functional description 160 intel ? ich7 family datasheet 5.14.5.1 transition rules among s0/cx and throttling states the following priority rules and assumptions apply among the various s0/cx and throttling states: ? entry to any s0/cx state is mutually exclusive with entry to any s1?s5 state. this is because the processor can only perform one register access at a time and sleep states have higher priority than thermal throttling. ? when the slp_en bit is set (system goin g to a s1?s5 sleep state), the thtl_en and force_thtl bits can be internally treated as being disabled (no throttling while going to sleep state). ? (mobile/ultra mobile only) if the thtl_en or force_thtl bits are set, and a level 2, level 3, or level 4 read then occurs, the system should immediately go and stay in a c2, c3, or c4 state until a break event occurs. a level 2, level 3, or level 4 read has higher priority than the software initiated throttling. ? (mobile/ultra mobile only) after an exit fr om a c2, c3, or c4 state (due to a break event), and if the thtl_en or force_th tl bits are still set the system will continue to throttle stpclk#. depending on the time of break event, the first transition on stpclk# active can be dela yed by up to one thrm period (1024 pci clocks = 30.72 s). ? the host controller must post stop-grant cycles in such a way that the processor gets an indication of the end of the special cycle prior to the ich7 observing the stop-grant cycle. this ensures that the stpclk# signals stays active for a sufficient period after the proce ssor observes the response phase. ? (mobile/ultra mobile only) if in the c1 state and the stpclk# signal goes active, the processor will generate a stop-grant cycl e, and the system should go to the c2 state. when stpclk# goes inactive, it should return to the c1 state. table 5-29. break events (m obile/ultra mobile only) event breaks from comment any unmasked interrupt goes active c2, c3, c4 irq[0:15] when using the 8259s, irq[0:23] for i/o apic. since sci is an interrupt, any sci will also be a break event. any internal event that cause an nmi or smi# c2, c3, c4 many possible sources any internal event that cause init# to go active c2, c3, c4 could be indicated by th e keyboard controller via the rcin input signal. any bus master request (internal, external or dma, or bm_busy#) goes active and bm_rld=1 (d31:f0:offset pmbase+04h: bit 1) c3, c4 need to wake up processor so it can do snoops note: if the pume bit (d31:f0: offset a9h: bit 3) is set, then bus master activity will not be treated as a break event. instead, there will be a return only to the c2 state. processor pending break event indication c2, c3, c4 only available if ferr# enabled for break event indication (see ferr# mux enable in gcs, chipset config registers:offset 3410h:bit 6) free datasheet http://www..net/
intel ? ich7 family datasheet 161 functional description 5.14.5.2 deferred c3/c4 (mob ile/ultra mobile only) due to the new dmi protocol, if there is any bu s master activity (other than true isoch), then the c0-to-c3 transition will pause at th e c2 state. ich7 will keep the processor in a c2 state until: ? ich7 does not detect bus master activity. ? a break event occurs. in this case, the ich7 will perform the c2 to c0 sequence. note that bus master traffic is not a break event in this case. to take advantage of the deferred c3/c4 mode, the bm_sts_zero_en bit must be set. this will cause the bm_sts bit to read as 0 even if some bus master activity is present. if this is not done, then the software may avoid even attempting to go to the c3 or c4 state if it sees the bm_sts bit as 1. if the pume bit (d31:f0: offset a9h: bit 3) is 0, then the ich7 will treat bus master activity as a break event. when reaching the c2 state, if there is any bus master activity, the ich7 will return the processor to a c0 state. 5.14.5.3 popup (auto c3/c4 to c2 ) (mobile/ultra mobile only) when the pume bit (d31:f0: offset a9h: bi t 3) is set, the ich7 enables a mode of operation where standard (non-isoch) bus master activity will not be treated as a full break event from the c3 or c4 states. instead, these will be treated merely as bus master events and return the platform to a c2 state, and thus allow snoops to be performed. after returning to the c2 state, the bus mast er cycles will be sent to the (g)mch, even if the arb_dis bit is set. 5.14.5.4 popdown (auto c2 to c3/c 4) (mobile/ultra mobile only) after returning to the c2 state from c3/c4, it the pdme bit (d31:f0: offset a9h: bit 4) is set, the platform can return to a c3 or c4 state (depending on where it was prior to going back up to c2). this behaves simila r to the deferred c3/c4 transition, and will keep the processor in a c2 state until: ? bus masters are no longer active. ? a break event occurs. note that bus master traffic is not a break event in this case. 5.14.6 dynamic pci clock control (mobile/ultra mobile only) the pci clock can be dynamically controlled independent of any other low-power state. this control is accomplished using the clkrun# protocol as described in the pci mobile design guide, and is transparent to software. the dynamic pci clock control is handled using the following signals: ? clkrun#: used by pci and lpc peripherals to request the system pci clock to run ? stp_pci#: used to stop the system pci clock note: the 33 mhz clock to the ich7 is ?free-runnin g? and is not affected by the stp_pci# signal. free datasheet http://www..net/
functional description 162 intel ? ich7 family datasheet 5.14.6.1 conditions for checking the pci clock when there is a lack of pci activity the ich7 has the capability to stop the pci clocks to conserve power. ?pci activity? is defined as any activity that would require the pci clock to be running. any of the following conditions will indicate that it is not okay to stop the pci clock: ? cycles on pci or lpc ? cycles of any internal device that would need to go on the pci bus ? serirq activity behavioral description ? when there is a lack of activity (as defined above) for 29 pci clocks, the ich7 deasserts (drive high) clkrun# for 1 clock and then tri-states the signal. 5.14.6.2 conditions for ma intaining the pci clock pci masters or lpc devices that wish to ma intain the pci clock running will observe the clkrun# signal deasserted, and then must re-assert if (drive it low) within 3 clocks. ? when the ich7 has tri-stated the clkrun # signal after deasserting it, the ich7 then checks to see if the signal has been re-asserted (externally). ? after observing the clkrun# signal asserted for 1 clock, the ich7 again starts asserting the signal. ? if an internal device needs the pci bus, the ich7 asserts the clkrun# signal. 5.14.6.3 conditions for stopping the pci clock ? if no device re-asserts clkrun# once it has been deasserted for at least 6 clocks, the ich7 stops the pci clock by assert ing the stp_pci# signal to the clock synthesizer. 5.14.6.4 conditions for re -starting the pci clock ? a peripheral asserts clkrun# to indicate that it needs the pci clock re-started. ? when the ich7 observes the clkrun# sign al asserted for 1 (free running) clock, the ich7 deasserts the stp_pci# signal to the clock synthesizer within 4 (free running) clocks. ? observing the clkrun# signal asserted ex ternally for 1 (free running) clock, the ich7 again starts driving clkrun# asserted. if an internal source requests the clock to be re-started, the ich7 re-asserts clkrun#, and simultaneously deasserts the stp_pci# signal. 5.14.6.5 lpc devices and clkrun# (mobile and ultra mobile only) if an lpc device (of any type) needs the 33 mhz pci clock, such as for lpc dma (mobile only) or lpc serial interrupt, then it ca n assert clkrun#. note that lpc devices running dma or bus master cycles will not need to assert clkrun#, since the ich7 asserts it on their behalf. the ldrq# inputs are ignored by the ich7 when the pci clock is stopped to the lpc devices in order to avoid misinterpreting th e request. the ich7 assumes that only one more rising pci clock edge occurs at the lpc device after the assertion of stp_pci#. upon deassertion of stp_pci#, the ich7 assu mes that the lpc device receives its first clock rising edge corresponding to the ich7 ?s second pci clock rising edge after the deassertion. free datasheet http://www..net/
intel ? ich7 family datasheet 163 functional description 5.14.7 sleep states 5.14.7.1 sleep state overview the ich7 directly supports different sleep states (s1?s5) that are entered by setting the slp_en bit, or due to a power button press. the entry to the sleep states are based on several assumptions: ? entry to a cx state is mutually exclusive with entry to a sleep state. this is because the processor can only perform one register access at a time. a request to sleep has higher priority than throttling. ? prior to setting the slp_en bit, the software turns off processor-controlled throttling. note that thermal throttling ca nnot be disabled, but setting the slp_en bit disables thermal throttling (since s1?s5 sleep state has higher priority). ? the g3 state cannot be entered via any software mechanism. the g3 state indicates a complete loss of power. 5.14.7.2 initiating sleep state sleep states (s1?s5) are initiated by: ? masking interrupts, turning off all bus master enable bits, setting the desired type in the slp_typ field, and then setting the slp_en bit. the hardware then attempts to gracefully put the system into the corresponding sleep state. ? pressing the pwrbtn# signal for more than 4 seconds to cause a power button override event. in this case the transiti on to the s5 state is less graceful, since there are no dependencies on observing st op-grant cycles from the processor or on clocks other than the rtc clock. 5.14.7.3 exiting sleep states sleep states (s1?s5) are exited based on wake events. the wake events forces the system to a full on state (s0), although some non-critical subsystems might still be shut off and have to be brought back manually . for example, the hard disk may be shut off during a sleep state, and have to be en abled via a gpio pin before it can be used. upon exit from the ich7-controlled sleep st ates, the wak_sts bit is set. the possible causes of wake events (and their restrictions) are shown in table 5-31 . note: (mobile/ultra mobile only) if the batlow# sign al is asserted, ich7 does not attempt to wake from an s1?s5 state, even if the power button is pressed. this prevents the system from waking when the battery power is insufficient to wake the system. wake events that occur while batlow# is asserted are latched by the ich7, and the system wakes after batlow# is de-asserted. table 5-30. sleep types sleep type comment s1 intel ? ich7 asserts the stpclk# signal. it also has the option to assert cpuslp# signal (only suppo rted on desktop platforms). this lowers the processor?s power consumption. no snooping is possible in this state. s3 ich7 asserts slp_s3#. the slp_s3# signal controls the power to non-critical circuits. power is only retained to devices needed to wake from this sleeping state, as well as to the memory. s4 ich7 asserts slp_s3# and slp_s4#. the slp_s4# signal shuts off the power to the memory subsystem. only devices needed to wake from this state should be powered. s5 same power state as s4. ich7 asse rts slp_s3#, slp_s4# and slp_s5#. free datasheet http://www..net/
functional description 164 intel ? ich7 family datasheet notes: 1. if in the s5 state due to a powerbutton ove rride or thrmtrip#, the possible wake events are due to power button, hard reset without cycling (see command type 3 in table 5-55 ), and hard reset system (see command type 4 in table 5-55 ). 2. this is a wake event from s5 only if the sleep state was entered by setting the slp_en and slp_typ bits via software, or if there is a power failure. 3. when the wake# pin is active and the pci ex press device is enable d to wake the system, the ich7 will wake the platform. table 5-31. causes of wake events cause states can wake from 1 how enabled rtc alarm s1 ? s5 2 set rtc_en bit in pm1_en register power button s1 ? s5 always enabled as wake event gpi[0:15] s1 ? s5 2 gpe0_en register note: gpis that are in the core well are not capable of waking the system from sleep states where the core well is not powered. classic usb s1 ? s5 set usb1_en, usb 2_en, usb3_en, and usb4_en bits in gpe0_en register lan (desktop and mobile only) s1 ? s5 will use pme#. wake enable set with lan logic. ri# s1 ? s5 2 set ri_en bit in gpe0_en register ac ?97 / intel ? high definition audio s1 ? s5 2 set ac97_en bit in gpe0_en register primary pme# s1 ? s5 pme_b0_en bit in gpe0_en register secondary pme# s1 ? s5 set pme_en bit in gpe0_en register. pci_exp_wake# (desktop and mobile only) s1?s5 pci_exp_wake bit 3 pci_exp pme message (desktop and mobile only) s1 must use the pci express* wake# pin rather than messages for wake from s3,s4, or s5. smbalert# s1 ? s5 always enabled as wake event smbus slave message s1 ? s5 wake/smi# command always enabled as a wake event. note: smbus slave message can wake the system from s1? s5, as well as from s5 due to power button override. smbus host notify message received s1 ? s5 host_notify_wken bit smbus slave command register. reported in the smb_wak_sts bit in the gpeo_sts register. free datasheet http://www..net/
intel ? ich7 family datasheet 165 functional description it is important to understand that the various gpis have different levels of functionality when used as wake events. the gpis that reside in the core power well can only generate wake events from sleep states where the core well is powered. also, only certain gpis are ?acpi compliant,? meaning that their status and enable bits reside in acpi i/o space. table 5-32 summarizes the use of gpis as wake events. the latency to exit the various sleep states varies greatly and is heavily dependent on power supply design, so much so that the exit latencies due to the ich7 are insignificant. 5.14.7.4 pci express* wake# signal and pme event message (desktop and mobile only) pci express ports can wake the platform from any sleep state (s1, s3, s4, or s5) using the wake# pin. wake# is treated as a wake event, but does not cause any bits to go active in the gpe_sts register. pci express ports and the (g)mch (via dmi) have the ability to cause pme using messages. when a pme message is receiv ed, ich7 will set the pci_exp_sts bit. 5.14.7.5 sx-g3-sx, ha ndling power failures depending on when the power failure occurs and how the system is designed, different transitions could occur due to a power failure. the after_g3 bit provides the ability to program whether or not the system should boot once power returns after a power loss event. if the policy is to not boot, the system remains in an s5 state (unless previo usly in s4). there are only three possible events that will wake the system after a power failure. 1. pwrbtn#: pwrbtn# is always enabled as a wake event. when rsmrst# is low (g3 state), the pwrbtn_sts bit is reset. when the ich7 exits g3 after power returns (rsmrst# goes high), the pwrbtn # signal is already high (because v cc - standby goes high before rsmrst# goes high) and the pwrbtn_sts bit is 0. 2. ri#: ri# does not have an internal pull-up. therefore, if this signal is enabled as a wake event, it is important to keep this signal powered during the power loss event. if this signal goes low (active), when power returns the ri_sts bit is set and the system interprets that as a wake event. 3. rtc alarm: the rtc_en bit is in the rtc well and is preserved after a power loss. like pwrbtn_sts the rtc_sts bit is cleared when rsmrst# goes low. the ich7 monitors both pwrok and rsmrst# to detect for power failures. if pwrok goes low, the pwrok_flr bit is set. if rsmrst# goes low, pwr_flr is set. note: although pme_en is in the rtc well, this signal cannot wake the system after a power loss. pme_en is cleared by rtcrst#, and pme_sts is cleared by rsmrst#. table 5-32. gpi wake events gpi power well wake from notes gpi[12, 7:0] core s1 acpi compliant gpi[15:13,11:8] resume s1?s5 acpi compliant free datasheet http://www..net/
functional description 166 intel ? ich7 family datasheet 5.14.8 thermal management the ich7 has mechanisms to assist with managing thermal problems in the system. 5.14.8.1 thrm# signal the thrm# signal is used as a status input for a thermal sensor. based on the thrm# signal going active, the ich7 generates an smi# or sci (depending on sci_en). if the thrm_pol bit is set low, when the thrm# signal goes low, the thrm_sts bit will be set. this is an indicator that the thermal threshold has been exceeded. if the thrm_en bit is set, then when thrm_sts go es active, either an smi# or sci will be generated (depending on the sci_en bit being set). the power management software (bios or acpi) can then take measures to start reducing the temperature. examples includ e shutting off unwanted subsystems, or halting the processor. by setting the thrm_pol bit to high, anothe r smi# or sci can optionally be generated when the thrm# signal goes back high. this allows the software (bios or acpi) to turn off the cooling methods. note: thrm# assertion does not cause a tco event message in s3 or s4. the level of the signal is not reported in the heartbeat message. 5.14.8.2 processor init iated passive cooling this mode is initiated by software setting the thtl_en (pmbase+10h:bit 4) or force_thtl (pmbase+10h:bit 8) bits. software sets the thtl_dty (pmbase+10h:b its 3:1) or thrm_dty (pmbase+10h:bits 7:5) bits to select throttle ratio and th tl_en or force_thtl bits to enable the throttling. throttling results in stpclk# active for a minimum time of 12.5% and a maximum of 87.5%. the period is 1024 pci clocks. thus, the stpclk# signal can be active for as little as 128 pci clocks or as much as 896 pci clocks. the actual slowdown (and cooling) of the processor depends on the instruction stream, because the processor is allowed to finish the current instruction. furthermore, the ich7 waits for the stop- grant cycle before starting the count of the time the stpclk# signal is active. table 5-33. transition s due to power failure state at power failure afterg3_en bit transition when power returns s0, s1, s3 1 0 s5 s0 s4 1 0 s4 s0 s5 1 0 s5 s0 free datasheet http://www..net/
intel ? ich7 family datasheet 167 functional description 5.14.8.3 thrm# override software bit the force_thtl bit allows the bios to forc e passive cooling, independent of the acpi software (which uses the thtl_en and thtl_d ty bits). if this bit is set, the ich7 starts throttling using the ratio in the thrm_dty field. when this bit is cleared the ich7 stops throttling, unless the thtl_en bit is set (indicating that acpi software is attempting throttling). if both the thtl_en and force_thtl bits ar e set, then the ich7 should use the duty cycle defined by the thrm_dty field, not the thtl_dty field. 5.14.8.4 active cooling active cooling involves fans. the gpio signals from the ich7 can be used to turn on/off a fan. 5.14.9 event input signals and their usage the ich7 has various input signals that trig ger specific events. this section describes those signals and how they should be used. 5.14.9.1 pwrbtn# (power button) the ich7 pwrbtn# signal operates as a ?fixed power button? as described in the advanced configuration and power interface, version 2.0b. pwrbtn# signal has a 16 ms de-bounce on the input. the state transition descriptions are included in table 5-34 . note that the transitions start as soon as the pwrbtn# is pressed (but after the debounce logic), and does not depend on when the power button is released. note: during the time that the slp_s4# signal is stretched for the minimum assertion width (if enabled), the power button is not a wake event. refer to power button override function section below for further detail. table 5-34. transitions due to power button present state event transition/action comment s0/cx pwrbtn# goes low smi# or sci generated (depending on sci_en) software typically initiates a sleep state s1?s5 pwrbtn# goes low wake event. transitions to s0 state standard wakeup g3 pwrbtn# pressed none no effect since no power not latched nor detected s0?s4 pwrbtn# held low for at least 4 consecutive seconds unconditional transition to s5 state no dependence on processor (e.g., stop-grant cycles) or any other subsystem free datasheet http://www..net/
functional description 168 intel ? ich7 family datasheet power button override function if pwrbtn# is observed active for at least four consecutive seconds, the state machine should unconditionally transition to the g2 /s5 state, regardless of present state (s0? s4), even if pwrok is not active. in this ca se, the transition to the g2/s5 state should not depend on any particular response from the processor (e.g., a stop-grant cycle), nor any similar dependency from any other subsystem. the pwrbtn# status is readable to check if the button is currently being pressed or has been released. the status is taken after the de-bounce, and is readable via the pwrbtn_lvl bit. note: the 4-second pwrbtn# assertion should only be used if a system lock-up has occurred. the 4-second timer starts counting when the ich7 is in a s0 state. if the pwrbtn# signal is asserted and held active when the system is in a suspend state (s1?s5), the assertion causes a wake event. once the system has resumed to the s0 state, the 4- second timer starts. note: during the time that the slp_s4# signal is stretched for the minimum assertion width (if enabled by d31:f0:a4h bit 3), the power button is not a wake event. as a result, it is conceivable that the user will press and continue to hold the power button waiting for the system to awake. since a 4-second press of the power button is alread y defined as an unconditional power down, the power button timer will be forced to inactive while the power-cycle timer is in progress. once the power-cycle timer has expired, the power button awakes the system. once the minimum slp_s4# power cycle expires, the power button must be pressed for another 4 to 5 seconds to create the override condition to s5. sleep button the advanced configuration and power interface, version 2.0b defines an optional sleep button. it differs from the power button in that it only is a request to go from s0 to s1?s4 (not s5). also, in an s5 state, the power button can wake the system, but the sleep button cannot. although the ich7 does not include a specific signal designated as a sleep button, one of the gpio signals can be used to create a ?control method? sleep button. see the advanced configuration and power interface, version 2.0b for implementation details. 5.14.9.2 ri# (ring indicator) the ring indicator can cause a wake event (if enabled) from the s1?s5 states. table 5-35 shows when the wake event is generated or ignored in different states. if in the g0/s0/cx states, the ich7 generates an interrupt based on ri# active, and the interrupt will be set up as a break event. note: filtering/debounce on ri# will not be done in ich7. it can be in modem or external. table 5-35. transitions due to ri# signal present state event ri_en event s0 ri# active x ignored s1?s5 ri# active 0 1 ignored wake event free datasheet http://www..net/
intel ? ich7 family datasheet 169 functional description 5.14.9.3 pme# (pci power management event) the pme# signal comes from a pci device to request that the system be restarted. the pme# signal can generate an smi#, sci, or optionally a wake event. the event occurs when the pme# signal goes from high to low. no event is caused when it goes from low to high. there is also an internal pme_b0 bit. this is separate from the external pme# signal and can cause the same effect. 5.14.9.4 sys_reset# signal when the sys_reset# pin is detected as active after the 16 ms debounce logic, the ich7 attempts to perform a ?graceful? reset, by waiting up to 25 ms for the smbus to go idle. if the smbus is idle when the pin is detected active, the reset occurs immediately; otherwise, the counter starts. if at any point during the count the smbus goes idle the reset occurs. if, however, the counter expires and the smbus is still active, a reset is forced upon the system ev en though activity is still occurring. once the reset is asserted, it remains assert ed for 5 to 6 ms regardless of whether the sysreset# input remains asserted or not. it cannot occur again until sys_reset# has been detected inactive after the debounce logic, and the system is back to a full s0 state with pltrst# inactive. note that if bit 3 of the cf9h i/o register is set then sys_reset# will result in a full power cycle reset. 5.14.9.5 thrmtrip# signal if thrmtrip# goes active, the processor is indicating an overheat condition, and the ich7 immediately transitions to an s5 state. however, since the processor has overheated, it does not respond to the ich7?s stpclk# pin with a stop grant special cycle. therefore, the ich7 does not wait for one. immediately upon seeing thrmtrip# low, the ich7 initiates a transition to the s5 state, drive slp_s3#, slp_s4#, slp_s5# low, and set the cts bit. the transition looks like a power button override. it is extremely important that when a th rmtrip# event occurs, the ich7 power down immediately without following the normal s0 -> s5 path. this path may be taken in parallel, but ich7 must immediately enter a po wer down state. it does this by driving slp_s3#, slp_s4#, and slp_s5# immediately after sampling thrmtrip# active. if the processor is running extremely hot and is heating up, it is possible (although very unlikely) that components around it, such as the ich7, are no longer executing cycles properly. therefore, if thrmtrip# goes ac tive, and the ich7 is relying on state machine logic to perform the power down, th e state machine may not be working, and the system will not power down. the ich7 follows this flow for thrmtrip#. 1. at boot (pltrst# low), thrmtrip# ignored. 2. after power-up (pltrst# high), if thrmtrip# sampled active, slp_s3#, slp_s4#, and slp_s5# assert, and normal sequence of sleep machine starts. 3. until sleep machine enters the s5 state, slp_s3#, slp_s4#, and slp_s5# stay active, even if thrmtrip# is now inactive. this is the equivalent of ?latching? the thermal trip event. 4. if s5 state reached, go to step #1, othe rwise stay here. if the ich7 does not reach s5, the ich7 does not reboot until power is cycled. free datasheet http://www..net/
functional description 170 intel ? ich7 family datasheet during boot, thrmtrip# is ignored until slp_s3#, pwrok, vrmpwrgd/vgate, and pltrst# are all ?1?. during entry into a powered-down state (due to s3, s4, s5 entry, power cycle reset, etc.) thrmtrip# is ignored until either slp_s3# = 0, or pwrok = 0, or vrmpwrgd/vgate = 0. note: a thermal trip event will: ? set the afterg3_en bit ? clear the pwrbtn_sts bit ? clear all the gpe0_en register bits ? clear the smb_wak_sts bit only if smb_sak_sts was set due to smbus slave receiving message and not set due to smbalert 5.14.9.6 bm_busy# (mobile /ultra mobile only) the bm_busy# signal is an input from a graphics component to indicate if it is busy. if prior to going to the c3 stat e, the bm_busy# signal is ac tive, then the bm_sts bit will be set. if after going to the c3 state, the bm_busy# signal goes back active, the ich7 will treat this as if one of the pci req# sign als went active. this is treated as a break event. 5.14.10 alt access mode before entering a low power state, several registers from powered down parts may need to be saved. in the majority of cases, this is not an issue, as registers have read and write paths. however, several of the isa compatible registers are either read only or write only. to get data out of write-only registers, and to restore data in to read-only registers, the ich7 implements an alt access mode. if the alt access mode is entered and exited after reading the registers of the ich7 timer (8254), the timer starts counting fa ster (13.5 ms). the following steps listed below can cause problems: 1. bios enters alt access mode for read ing the ich7 timer related registers. 2. bios exits alt access mode. 3. bios continues through the execution of other needed steps and passes control to the operating system. after getting control in step #3, if the oper ating system does not reprogram the system timer again, the timer ticks may be happeni ng faster than expected. for example dos and its associated software assume that the system timer is running at 54.6 ms and as a result the time-outs in the software may be happening faster than expected. operating systems (e.g., microsoft window s* 98, windows* 2000, and windows nt*) reprogram the system timer and therefore do not encounter this problem. for some other loss (e.g., microsoft ms-dos*) the bios should restore the timer back to 54.6 ms before passing control to the operating system. if the bios is entering alt access mode before entering the suspend state it is not necessary to restore the timer contents after the exit from alt access mode. free datasheet http://www..net/
intel ? ich7 family datasheet 171 functional description 5.14.10.1 write only registers with read paths in alt access mode the registers described in table 5-36 have read paths in alt access mode. the access number field in the table indicates which register will be returned per access to that port. table 5-36. write only registers with read paths in alt access mode (sheet 1 of 2) restore data restore data i/o addr # of rds access data i/o addr # of rds access data 00h 2 1 dma chan 0 base address low byte 40h 7 1 timer counter 0 status, bits [5:0] 2 dma chan 0 base address high byte 2 timer counter 0 base count low byte 01h 2 1 dma chan 0 base count low byte 3 timer counter 0 base count high byte 2 dma chan 0 base count high byte 4 timer counter 1 base count low byte 02h 2 1 dma chan 1 base address low byte 5 timer counter 1 base count high byte 2 dma chan 1 base address high byte 6 timer counter 2 base count low byte 03h 2 1 dma chan 1 base count low byte 7 timer counter 2 base count high byte 2 dma chan 1 base count high byte 41h 1 timer counter 1 status, bits [5:0] 04h 2 1 dma chan 2 base address low byte 42h 1 timer counter 2 status, bits [5:0] 2 dma chan 2 base address high byte 70h 1 bit 7 = nmi enable, bits [6:0] = rtc address 05h 2 1 dma chan 2 base count low byte c4h 2 1 dma chan 5 base address low byte 2 dma chan 2 base count high byte 2 dma chan 5 base address high byte 06h 2 1 dma chan 3 base address low byte c6h 2 1 dma chan 5 base count low byte 2 dma chan 3 base address high byte 2 dma chan 5 base count high byte 07h 2 1 dma chan 3 base count low byte c8h 2 1 dma chan 6 base address low byte 2 dma chan 3 base count high byte 2 dma chan 6 base address high byte free datasheet http://www..net/
functional description 172 intel ? ich7 family datasheet notes: 1. bits 5, 3, 1, and 0 return 0. 2. the ocw1 register must be read before entering alt access mode. 08h 6 1 dma chan 0?3 command 2 cah 2 1 dma chan 6 base count low byte 2 dma chan 0?3 request 2 dma chan 6 base count high byte 3 dma chan 0 mode: bits(1:0) = 00 cch 2 1 dma chan 7 base address low byte 4 dma chan 1 mode: bits(1:0) = 01 2 dma chan 7 base address high byte 5 dma chan 2 mode: bits(1:0) = 10 ceh 2 1 dma chan 7 base count low byte 6 dma chan 3 mode: bits(1:0) = 11. 2 dma chan 7 base count high byte 20h 12 1 pic icw2 of master controller d0h 6 1 dma chan 4?7 command 1 2 pic icw3 of master controller 2 dma chan 4?7 request 3 pic icw4 of master controller 3 dma chan 4 mode: bits(1:0) = 00 4 pic ocw1 of master controller 2 4 dma chan 5 mode: bits(1:0) = 01 5 pic ocw2 of master controller 5 dma chan 6 mode: bits(1:0) = 10 6 pic ocw3 of master controller 6 dma chan 7 mode: bits(1:0) = 11. 7 pic icw2 of slave controller 8 pic icw3 of slave controller 9 pic icw4 of slave controller 10 pic ocw1 of slave controller 1 11 pic ocw2 of slave controller 12 pic ocw3 of slave controller table 5-36. write only registers with read paths in alt access mode (sheet 2 of 2) restore data restore data i/o addr # of rds access data i/o addr # of rds access data free datasheet http://www..net/
intel ? ich7 family datasheet 173 functional description 5.14.10.2 pic reserved bits many bits within the pic are reserved, and must have certain values written in order for the pic to operate properly. therefore, there is no need to return these values in alt access mode. when reading pic registers from 20h and a0h, the reserved bits shall return the values listed in table 5-37 . 5.14.10.3 read only registers with write paths in alt access mode the registers described in table 5-38 have write paths to them in alt access mode. software restores these values after returning from a powered down state. these registers must be handled special by softwa re. when in normal mode, writing to the base address/count register also writes to the current address/count register. therefore, the base address/count must be written first, then the part is put into alt access mode and the current address/count register is written. 5.14.11 system power supplies, planes, and signals 5.14.11.1 power plane control with slp_s3#, slp_s4# and slp_s5# the usage of slp_s3# and slp_s4# depends on whether the platform is configured for s3 hot and s3 cold . s3 hot the slp_s3# output signal is used to cut power only to the processor and associated subsystems and to optionally stop system clocks. s3 cold the slp_s3# output signal can be used to cut power to the system core supply, since it only goes active for the str state (typically mapped to acpi s3). power must be maintained to the ich7 resume well, and to any other circuits that need to generate wake signals from the str state. table 5-37. pic reserved bits return values pic reserved bits value returned icw2(2:0) 000 icw4(7:5) 000 icw4(3:2) 00 icw4(0) 0 ocw2(4:3) 00 ocw3(7) 0 ocw3(5) reflects bit 6 ocw3(4:3) 01 table 5-38. register write accesses in alt access mode i/o address register write value 08h dma status register for channels 0?3. d0h dma status register for channels 4?7. free datasheet http://www..net/
functional description 174 intel ? ich7 family datasheet cutting power to the core may be done via the power supply, or by external fets to the motherboard. the slp_s4# or slp_s5# output signal can be used to cut power to the system core supply, as well as power to the system memory, since the context of the system is saved on the disk. cutting power to the memo ry may be done via the power supply, or by external fets to the motherboard. the slp_s4# output signal is used to remove power to additional subsystems that are powered during slp_s3#. slp_s5# output signal can be used to cut power to the system core supply, as well as power to the system memory, since the context of the system is saved on the disk. cutting power to the memory may be done via the power supply, or by external fets to the motherboard. 5.14.11.2 slp_s4# and su spend-to-ram sequencing the system memory suspend voltage regulator is controlled by the glue logic. the slp_s4# signal should be used to remove power to system memory rather than the slp_s5# signal. the slp_s4# logic in the ic h7 provides a mechanism to fully cycle the power to the dram and/or detect if th e power is not cycled for a minimum time. note: to utilize the minimum dram power-down fe ature that is enabled by the slp_s4# assertion stretch enable bit (d31:f0:a4h bi t 3), the dram power must be controlled by the slp_s4# signal. 5.14.11.3 pwrok signal the pwrok input should go active based on the core supply voltages becoming valid. pwrok should go active no sooner than 100 ms after vcc3_3 and vcc1_5 have reached their nominal values. note: 1. sysreset# is recommended for implementing the system reset button. this saves external logic that is needed if the pwrok input is used. additionally, it allows for better handling of the smbus and proce ssor resets, and avoids improperly reporting power failures. 2. if the pwrok input is used to implemen t the system reset button, the ich7 does not provide any mechanism to limit the amount of time that the processor is held in reset. the platform must externally ensure that maximum reset assertion specifications are met. 3. if a design has an active-low reset button electrically and?d with the pwrok signal from the power supply and the processor?s voltage regulator module the ich7 pwrok_flr bit will be set. the ich7 treats this internally as if the rsmrst# signal had gone active. however, it is not treated as a full power failure. if pwrok goes inactive and then active (but rsmrst # stays high), then the ich7 reboots (regardless of the state of the afterg3 bi t). if the rsmrst# signal also goes low before pwrok goes high, then this is a full power failure, and the reboot policy is controlled by the afterg3 bit. 4. pwrok and rsmrst# are sampled using the rtc clock. therefore, low times that are less than one rtc clock period may not be detected by the ich7. 5. in the case of true pwrok failure, pw rok goes low first before the vrmpwrgd. free datasheet http://www..net/
intel ? ich7 family datasheet 175 functional description 5.14.11.4 cpupwrgd signal this signal is connected to the processor?s vrm via the vrmpwrgd signal and is internally and?d with the pwrok signal that comes from the system power supply. 5.14.11.5 vrmpwrgd signal vrmpwrgd is an input from the regulator indicating that all of the outputs from the regulator are on and within specification. vr mpwrgd may go active before or after the pwrok from the main power supply. ich7 ha s no dependency on the order in which these two signals go active or inactive. 5.14.11.6 batlow# (battery low) (mobile/ultra mobile only) the batlow# input can inhibit waking from s3, s4, and s5 states if there is not sufficient power. it also causes an smi# if the system is already in an s0 state. 5.14.11.7 controlling leakag e and power consumption during low-power states to control leakage in the system, various signals tri-state or go low during some low- power states. general principles: ? all signals going to powered down planes (e ither internally or externally) must be either tri-stated or driven low. ? signals with pull-up resistors should not be low during low-power states. this is to avoid the power consumed in the pull-up resistor. ? buses should be halted (and held) in a known state to avoid a floating input (perhaps to some other device). floating inputs can cause extra power consumption. based on the above principles, the following measures are taken: ? during s3 (str), all signals attached to powered down planes are tri-stated or driven low. free datasheet http://www..net/
functional description 176 intel ? ich7 family datasheet 5.14.12 clock generators the clock generator is expected to provide the frequencies shown in table 5-39 . 5.14.12.1 clock contro l signals from intel ? ich7 to clock synthesizer (mobile/ultra mobile only) the clock generator is assumed to have a direct connection from the following ich7 signals: ? stp_cpu#: stops processor clocks in c3 and c4 states ? stp_pci#: stops system pci clocks (not the ich7 free-running 33 mhz clock) due to clkrun# protocol ? slp_s3#: expected to drive clock chip pwrdown (through inverter), to stop clocks in s3 hot and on the way to s3 cold to s5. table 5-39. intel ? ich7 clock inputs clock domain frequency source usage sata_clk (desktop and mobile only) 100 mhz differential main clock generator used by sata controller. st opped in s3 ~ s5 based on slp_s3# assertion. dmi_clk 100 mhz differential main clock generator used by dmi and pci expres s*. stopped in s3 ~ s5 based on slp_s3# assertion. pciclk 33 mhz main clock generator desktop only: free-running pci clock to intel ? ich7. stopped in s3 ~ s5 based on slp_s3# assertion. mobile only: free-running (n ot affected by stp_pci# pci clock to ich7. this is not the system pci clock. this clock must keep running in s0 while the system pci clock may stop based on clkrun# protocol. stopped in s3 ~ s5 based on slp_s3# assertion. clk48 48.000 mhz main clock generator used by usb controllers and intel ? high definition audio controller. stopped in s3 ~ s5 based on slp_s3# assertion. clk14 14.318 mhz main clock generator used by acpi timers. stopped in s3 ~ s5 based on slp_s3# assertion. acz_bit_clk (desktop and mobile) 12.288 mhz ac ?97 codec ac-link. control policy is determined by the clock source. note: becomes clock output when intel high definition audio is enabled. lan_clk (desktop and mobile only) 0.8 to 50 mhz lan connect lan connect interface. control policy is determined by the clock source. free datasheet http://www..net/
intel ? ich7 family datasheet 177 functional description 5.14.13 legacy power management theory of operation instead of relying on acpi software, legacy power management uses bios and various hardware mechanisms. the scheme relies on th e concept of detecting when individual subsystems are idle, detecting when the whole system is idle, and detecting when accesses are attempted to idle subsystems. however, the operating system is assumed to be at least apm enabled. without apm calls, there is no quick way to know when the system is idle between keystrokes. the ich7 does not support burst modes. 5.14.13.1 apm power mana gement (desktop only) the ich7 has a timer that, when enabled by the 1min_en bit in the smi control and enable register, generates an smi# once per minute. the smi handler can check for system activity by reading the devact_sts regi ster. if none of the system bits are set, the smi handler can increment a software counter. when the counter reaches a sufficient number of consecutive minutes with no activity, the smi handler can then put the system into a lower power state. if there is activity, various bits in the deva ct_sts register will be set. software clears the bits by writing a 1 to the bit position. the devact_sts register allows for monitori ng various internal devices, or super i/o devices (sp, pp, fdc) on lpc or pci, keyb oard controller accesses, or audio functions on lpc or pci. other pci activity can be monitored by checking the pci interrupts. 5.14.13.2 mobile apm power manageme nt (mobile/ultra mobile only) in mobile/ultra mobile systems, there are additional requirements associated with device power management. to handle this, th e ich7 has specific smi# traps available. the following algorithm is used: 1. the periodic smi# timer checks if a device is idle for the required time. if so, it puts the device into a low-power state and sets the associated smi# trap. 2. when software (not the smi# handler) attempts to access the device, a trap occurs (the cycle does not really go to the device and an smi# is generated). 3. the smi# handler turns on the device and turns off the trap the smi# handler exits with an i/o restart. this allows the original software to continue. free datasheet http://www..net/
functional description 178 intel ? ich7 family datasheet 5.15 system management (d31:f0) the ich7 provides various functions to make a system easier to manage and to lower the total cost of ownership (tco) of the system. in addition, ich7 provides integrated asf management support. features and functions can be augmented via external a/d converters and gpio, as well as an external microcontroller. the following features and functi ons are supported by the ich7: ? processor present detection ? detects if processor fails to fetch the first instruction after reset ? various error detection (such as ecc errors) indicated by host controller ? can generate smi#, sci, serr, nmi, or tco interrupt ? intruder detect input ? can generate tco interrupt or smi# when the system cover is removed ? intruder# allowed to go active in any power state, including g3 ? detection of bad firmware hub programming ? detects if data on first read is ffh (indicates unprogrammed firmware hub) ? ability to hide a pci device ? allows software to hide a pci device in terms of configuration space through the use of a device hide register (see section 7.1.56 ) ? integrated asf management suppo rt (desktop and mobile only) note: voltage id from the processor can be read via gpi signals. 5.15.1 theory of operation the system management functions are designed to allow the system to diagnose failing subsystems. the intent of this logic is that some of the system management functionality be provided without the aid of an external microcontroller. 5.15.1.1 detecting a system lockup when the processor is reset, it is expected to fetch its first instruction. if the processor fails to fetch the first instruction after reset, the tco timer times out twice and the ich7 asserts pltrst#. 5.15.1.2 handling an intruder the ich7 has an input signal, intruder#, that can be attached to a switch that is activated by the system?s case being open. this input has a two rtc clock debounce. if intruder# goes active (after the debouncer ), this will set the intrd_det bit in the tco_sts register. the intrd_sel bits in the tco_cnt register can enable the ich7 to cause an smi# or interrupt. the bios or in terrupt handler can then cause a transition to the s5 state by writing to the slp_en bit. the software can also directly read the status of the intruder# signal (high or low) by clearing and then reading the intrd_det bit. th is allows the signal to be used as a gpi if the intruder function is not required. free datasheet http://www..net/
intel ? ich7 family datasheet 179 functional description if the intruder# signal goes inactive some point after the intrd_det bit is written as a 1, then the intrd_det signal will go to a 0 when intruder# input signal goes inactive. note that this is slightly different than a classic sticky bit, since most sticky bits would remain active indefinitely when the signal goes active and would immediately go inactive when a 1 is written to the bit. note: the intrd_det bit resides in the ich7?s rtc well, and is set and cleared synchronously with the rtc clock. thus, wh en software attempts to clear intrd_det (by writing a 1 to the bit location) there may be as much as two rtc clocks (about 65 s) delay before the bit is actually cleare d. also, the intruder# signal should be asserted for a minimum of 1 ms to ensu re that the intrd_det bit will be set. note: if the intruder# signal is still active when software attempts to clear the intrd_det bit, the bit remains set and the smi is ge nerated again immediately. the smi handler can clear the intrd_sel bits to avoid furthe r smis. however, if the intruder# signal goes inactive and then active again, there will not be further smis, since the intrd_sel bits would select that no smi# be generated. 5.15.1.3 detecting improper firmware hub programming the ich7 can detect the case where the firm ware hub is not programmed. this results in the first instruction fetched to have a value of ffh. if this occurs, the ich7 sets the bad_bios bit, which can then be reported via the heartbeat and event reporting using an external, alert on lan* enabled lan controller (see section 5.15.2 ). 5.15.2 heartbeat and event repo rting via smbus (desktop and mobile only) the ich7 integrated lan controller supp orts asf heartbeat and event reporting functionality when used with the 825 62em or 82562ex platform lan connect component. this allows the integrated lan controller to report messages to a network management console without the aid of the sy stem processor. this is crucial in cases where the processor is malfunctioning or cannot function due to being in a low-power state. all heartbeat and event messages are sent on the smbus interface. this allows an external lan controller to act upon these me ssages if the internal lan controller is not used. the basic scheme is for the ich7 integrated lan controller to send a prepared ethernet message to a network management console. the prepared message is stored in the non-volatile eeprom that is connected to the ich7. messages are sent by the lan controller either because a specific event has occurred, or they are sent periodically (also know n as a heartbeat). the event and heartbeat messages have the exact same format. the event messages are sent based on events occurring. the heartbeat messages are sent every 30 to 32 seconds. when an event occurs, the ich7 sends a new message and increments the seq[3:0] field. for heartbeat messages, the sequence number does not increment. free datasheet http://www..net/
functional description 180 intel ? ich7 family datasheet the following rules/steps apply if the system is in a g0 state and the policy is for the ich7 to reboot the system after a hardware lockup: 1. on detecting the lockup, the second_to_st s bit is set. the ich7 may send up to 1 event message to the lan controller. the ich7 then attempts to reboot the processor. 2. if the reboot at step 1 is successful then the bios should clear the second_to_sts bit. this prevents any fu rther heartbeats from being sent. the bios may then perform addition recovery/boot steps. (see note 2, below.) 3. if the reboot attempt in step 1 is not su ccessful, the timer will timeout a third time. at this point the system has locked up and was unsuccessful in rebooting. the ich7 does not attempt to automatically rebo ot again. the ich7 starts sending a message every heartbeat period (30?32 seconds). the heartbeats continue until some external intervention occurs (reset, power failure, etc.). 4. after step 3 (unsuccessful reboot after third timeout), if the user does a power button override, the system goes to an s5 state. the ich7 continues sending the messages every heartbeat period. 5. after step 4 (power button override afte r unsuccessful reboot) if the user presses the power button again, the system should wake to an s0 state and the processor should start executing the bios. 6. if step 5 (power button press) is successful in waking the system, the ich7 continues sending messages every heartb eat period until the bios clears the second_to_sts bit. (see note 2) 7. if step 5 (power button press) is unsu ccessful in waking the system, the ich7 continues sending a message every heartbeat period. the ich7 does not attempt to automatically reboot again. the ich7 starts sending a message every heartbeat period (30?32 seconds). the heartbeats continue until some external intervention occurs (reset, power failure, etc.). (see note 3) 8. after step 3 (unsuccessful reboot after thir d timeout), if a reset is attempted (using a button that pulses pwrok low or via the message on the smbus slave i/f), the ich7 attempts to reset the system. 9. after step 8 (reset attempt) if the rese t is successful, the bios is run. the ich7 continues sending a message every heartbeat period until the bios clears the second_to_sts bit. (see note 2) 10. after step 8 (reset attempt), if the reset is unsuccessful, the ich7 continues sending a message every heartbeat period. the ich7 does not attempt to reboot the system again without extern al intervention. (see note 3) the following rules/steps apply if the system is in a g0 state and the policy is for the ich7 to not reboot the system after a hardware lockup. 1. on detecting the lockup the second_to_st s bit is set. the ich7 sends a message with the watchdog (wd) event status bit set (and any other bits that must also be set). this message is sent as soon as the lockup is detected, and is sent with the next (incremented) sequence number. 2. after step 1, the ich7 sends a message every heartbeat period until some external intervention occurs. 3. rules/steps 4?10 apply if no user inte rvention (resets, power button presses, smbus reset messages) occur after a third timeout of the watchdog timer. if the intervention occurs before the third timeout, then jump to rule/step 11. 4. after step 3 (third timeout), if the user does a power button override, the system goes to an s5 state. the ich7 conti nues sending heartbeats at this point. free datasheet http://www..net/
intel ? ich7 family datasheet 181 functional description 5. after step 4 (power button override), if the user presses the power button again, the system should wake to an s0 state and the processor should start executing the bios. 6. if step 5 (power button press) is su ccessful in waking the system, the ich7 continues sending heartbeats until the bi os clears the second_to_sts bit. (see note 2) 7. if step 5 (power button press) is unsuccessful in waking the system, the ich7 continues sending heartbeats. the ich7 do es not attempt to reboot the system again until some external intervention occurs (reset, power failure, etc.). (see note 3) 8. after step 3 (third timeout), if a reset is attempted (using a button that pulses pwrok low or via the message on the sm bus slave i/f), the ich7 attempts to reset the system. 9. if step 8 (reset attempt) is successful, th e bios is run. the ich7 continues sending heartbeats until the bios clears th e second_to_sts bit. (see note 2) 10. if step 8 (reset attempt), is unsuccessf ul, the ich7 continues sending heartbeats. the ich7 does not attempt to reboot the system again without external intervention. note: a system that has locked up and can not be restarted with power button press is probably broken (bad power supply, short circuit on some bus, etc.) 11. this and the following rules/steps apply if the user intervention (power button press, reset, smbus message, etc.) occur pr ior to the third timeout of the watchdog timer. 12. after step 1 (second timeout), if the us er does a power button override, the system goes to an s5 state. the ich7 continues sending heartbeats at this point. 13. after step 12 (power button override), if the user presses the power button again, the system should wake to an s0 state and the processor should start executing the bios. 14. if step 13 (power button press) is su ccessful in waking the system, the ich7 continues sending heartbeats until the bi os clears the second_to_sts bit. (see note 2) 15. if step 13 (power button press) is uns uccessful in waking the system, the ich7 continues sending heartbeats. the ich7 do es not attempt to reboot the system again until some external intervention occurs (reset, power failure, etc.). (see note 3) 16. after step 1 (second timeout), if a rese t is attempted (using a button that pulses pwrok low or via the message on the sm bus slave i/f), the ich7 attempts to reset the system. 17. if step 16 (reset attempt) is successful, the bios is run. the ich7 continues sending heartbeats until the bios clears the second_to_sts bit. (see note 2) 18. if step 16 (reset attempt), is unsuccessf ul, the ich7 continues sending heartbeats. the ich7 does not attempt to reboot the system again without external intervention. (see note 3) if the system is in a g1 (s1?s4) state, the ich7 sends a heartbeat message every 30? 32 seconds. if an event occurs prior to the system being shutdown, the ich7 immediately sends an event message with the next incremented sequence number. after the event message, the ich7 resumes sending heartbeat messages. free datasheet http://www..net/
functional description 182 intel ? ich7 family datasheet note: notes for previous two numbered lists. 1. normally, the ich7 does not send heartbeat messages while in the g0 state (except in the case of a lockup). howeve r, if a hardware event (or heartbeat) occurs just as the system is transitioning into a g0 state, the hardware continues to send the message even though the system is in a g0 state (and the status bits may indicate this). these messages are sent via the smbus. the ich7 abides by the smbus rules associated with collision detection. it delays starting a message until the bus is idle, and detects collisions. if a collision is detected the ich7 waits until the bus is idle, and tries again. 2. warning: it is important the bios clears the second_to_sts bit, as the alerts interfere with the lan device driver from working properly. the alerts reset part of the lan controller and would prevent an operating system?s device driver from sending or receiving some messages. 3. a system that has locked up and can not be restarted with power button press is assumed to have broken hardware (bad power supply, short circuit on some bus, etc.), and is beyond ich7?s recovery mechanisms. 4. a spurious alert could occur in the following sequence: ? the processor has initiated an alert using the send_now bit ? during the alert, the thrm#, in truder# or gpio11 changes state ? the system then goes to a non-s0 state. once the system transitions to the non-s0 state, it may send a single alert with an incremental sequence number. 5. an inaccurate alert message can be generated in the following scenario ? the system successfully boots after a second watchdog timeout occurs. ? pwrok goes low (typically due to a reset button press) or a power button override occurs (before the second_to_sts bit is cleared). ? an alert message indicating that the processor is missing or locked up is generated with a new sequence number. table 5-40 shows the data included in the alert on lan messages. table 5-40. heartbeat message data (sheet 1 of 2) field comment cover tamper status 1 = this bit is set if the intruder detect bit is set (intrd_det). temp event status 1 = this bit is set if the intel ? ich7 therm# input signal is asserted. processor missing event status 1 = this bit is set if the processor failed to fetch it s first instruction. tco timer event status 1 = this bit is set when the tco timer expires. software event status 1 = this bit is set when software writes a 1 to the send_now bit. unprogrammed firmware hub event status 1 = first bios fetch returned a va lue of ffh, indicating that the firmware hub has not yet been programmed (still erased). gpio status 1 = this bit is set when gpio11 signal is high. 0 = this bit is cleared when gpio11 signal is low. an event message is triggered on an transition of gpio11. free datasheet http://www..net/
intel ? ich7 family datasheet 183 functional description 5.16 ide controller (d31:f1) the ich7 ide controller features one sets of interface signals that can be enabled, tri- stated or driven low. the ide interfaces of the ich7 can su pport several types of data transfers: ? programmed i/o (pio): processor is in control of the data transfer. ? 8237 style dma: dma protocol that resembles the dma on the isa bus, although it does not use the 8237 in the ich7. this protocol off loads the processor from moving data. this allows higher transfer rate of up to 16 mb/s. ? ultra ata/33: dma protocol that redefines signals on the ide cable to allow both host and target throttling of data and transfer rates of up to 33 mb/s. ? ultra ata/66: dma protocol that redefines signal s on the ide cable to allow both host and target throttling of data and transfer rates of up to 66 mb/s. ? ultra ata/100: dma protocol that redefines signals on the ide cable to allow both host and target throttling of data and transfer rates of up to 100 mb/s. note: ich7-u ultra mobile only supports one ide device. 5.16.1 pio transfers the ich7 ide controller includes both compatible and fast timing modes. the fast timing modes can be enabled only for the ide data ports. all other transactions to the ide registers are run in single transaction mode with compatible timings. up to two ide devices may be attached to the ide connector (drive 0 and drive 1); one device (connector drive 0) on ich7-u ultra mobile. the ide_ timp and ide_tims registers permit different timing modes to be programmed for drive 0 and drive 1 of the same connector. the ultra ata/33/66/100 synchronous dma timing modes can also be applied to each drive by programming the ide i/o configuration register and the synchronous dma control and timing registers. when a dr ive is enabled for synchronous dma mode operation, the dma transfers are executed with the synchronous dma timings. the pio transfers are executed using compatible timings or fast timings if also enabled. seq[3:0] this is a sequence number. it initia lly is 0, and increments each time the ich7 sends a new message. upon reaching 1111, the sequence number rolls over to 0000. msb (seq3) sent first. system power state 00 = g0, 01 = g1, 10 = g2, 11 = pre-boot. msb sent first message1 will be the same as the message1 register. msb sent first. message2 will be the same as the message2 register. msb sent first. wdstatus will be the same as the wdstatus register. msb sent first. table 5-40. heartbeat message data (sheet 2 of 2) field comment free datasheet http://www..net/
functional description 184 intel ? ich7 family datasheet 5.16.1.1 pio ide timing modes ide data port transaction latency consists of startup latency, cycle latency, and shutdown latency. startup latency is incurred when a pci master cycle targeting the ide data port is decoded and the da[2:0] and csxx# lines are not set up. startup latency provides the setup time for the da[2 :0] and csxx# lines prior to assertion of the read and write strobes (dior# and diow#). cycle latency consists of the i/o command st robe assertion length and recovery time. recovery time is provided so that transactions may occur back-to-back on the ide interface (without incurring startup and shutdown latency) without violating minimum cycle periods for the ide interface. the command strobe assertion width for the enhanced timing mode is selected by the ide_tim register and may be set to 2, 3, 4, or 5 pci clocks. the recovery time is selected by the ide_tim register and may be set to 1, 2, 3, or 4 pci clocks. if iordy is asserted when the initial sample point is reached, no wait-states are added to the command strobe assertion length. if iordy is negated when the initial sample point is reached, additional wait-states are added. since the rising edge of iordy must be synchronized, at least two ad ditional pci clocks are added. shutdown latency is incurred after outstanding scheduled ide data port transactions (either a non-empty write post buffer or an outstanding read prefetch cycles) have completed and before other transactions can proceed. it provides hold time on the da[2:0] and csxx# lines with respect to the read and write strobes (dior# and diow#). shutdown latency is two pci clocks in duration. the ide timings for various transaction types are shown in table 5-41 . 5.16.1.2 iordy masking the iordy signal can be ignored and assumed asserted at the first iordy sample point (isp) on a drive by drive basis via the idetim register. 5.16.1.3 pio 32-bit ide data port accesses a 32-bit pci transaction run to the ide data address (01f0h primary) results in two back to back 16-bit transactions to the ide data port. the 32-bit data port feature is enabled for all timings, not just enhanced timing. for compatible timings, a shutdown and startup latency is incurred between the tw o, 16-bit halves of the ide transaction. this ensures that the chip selects are dea sserted for at least tw o pci clocks between the two cycles. table 5-41. ide transact ion timings (pci clocks) ide transaction type startup latency iordy sample point (isp) recovery time (rct) shutdown latency non-data port compatible 4 11 22 2 data port compatible 3 6 14 2 fast timing mode 2 2?5 1?4 2 free datasheet http://www..net/
intel ? ich7 family datasheet 185 functional description 5.16.1.4 pio ide data port prefetching and posting the ich7 can be programmed via the idetim registers to allow data to be posted to and prefetched from the ide data ports. data prefetching is initiated when a data port read occurs. the read prefetch eliminates latency to the ide data ports and allows them to be performed back to back for the highest possible pio data transfer rates. the fi rst data port read of a sector is called the demand read. subsequent data port reads fr om the sector are called prefetch reads. the demand read and all prefetch reads much be of the same size (16 or 32 bits) ? software must not mix 32-bit and 16-bit reads. data posting is performed for writes to the ide data ports. the transaction is completed on the pci bus after the data is received by the ich7. the ich7 then runs the ide cycle to transfer the data to the drive. if the ic h7 write buffer is non-empty and an unrelated (non-data or opposite channel) ide transaction occurs, that transaction will be stalled until all current data in the write buffer is transferred to the drive. only 16-bit buffer writes are supported. 5.16.2 bus master function the ich7 can act as a pci bus master on behalf of an ide device. one pci bus master channel is provided for the ide connector. by performing the ide data transfer as a pci bus master, the ich7 off-loads the proce ssor and improves system performance in multitasking environments. for desktop an d mobile, both devices attached to the connector can be programmed for bus master transfers, but only one device can be active at a time. 5.16.2.1 physical region descriptor format the physical memory region to be transferred is described by a physical region descriptor (prd). the prds are stored sequ entially in a descriptor table in memory. the data transfer proceeds until all regions described by the prds in the table have been transferred. descriptor tables must not cross a 64-kb boundary. each prd entry in the table is 8 bytes in length. the first 4 bytes specify the byte address of a physical memory region. this memory region must be dword-aligned and must not cross a 64-kb boundary. the next two bytes specify the size or transfer co unt of the region in bytes (64-kb limit per region). a value of 0 in these two bytes indicates 64-kb (thus the minimum transfer count is 1). if bit 7 (eot) of the last byte is a 1, it indicates that this is the final prd in the descriptor table. bus master operation terminates when the last descriptor has been retired. when the bus master ide controller is readin g data from the memory regions, bit 1 of the base address is masked and byte enables are asserted for all read transfers. when writing data, bit 1 of the base address is not masked and if set, will cause the lower word byte enables to be deasserted for the first dword transfer. the write to pci typically consists of a 32-byte cache line. if valid data ends prior to end of the cache line, the byte enables will be deasserted for invalid data. the total sum of the byte counts in every pr d of the descriptor table must be equal to or greater than the size of the disk transfer request. if greater than the disk transfer request, the driver must terminate the bus master transaction (by setting bit 0 in the bus master ide command register to 0) when the drive issues an interrupt to signal transfer completion. free datasheet http://www..net/
functional description 186 intel ? ich7 family datasheet 5.16.2.2 bus master ide timings the timing modes used for bus master ide transfers are identical to those for pio transfers. the dma timing enable only bits in ide timing register can be used to program fast timing mode for dma transactio ns only. this is useful for ide devices whose dma transfer timings are faster than its pio transfer timings. the ide device dma request signal is sampled on the same pci clock that dior# or diow# is deasserted. if inactive, the dma acknowledg e signal is deasserted on the next pci clock and no more transfers take place until dma request is asserted again. 5.16.2.3 interrupts the ich7 can generate interrupts based upon a signal coming from the pata device, or due to the completion of a prd with the ?i? bit set. the interrupt is edge triggered and active high. the pata host controller generates ideirq. when the ich7 ide controller is operatin g independently from the sata controller (d31:f2), ideirq will generate irq14. when operating in conjunction with the sata controller (combined mode), ide interrupts w ill still generate ideirq, but this may in turn generate either irq14 or irq15, depending upon the value of the map.mv (d31:f2:90h:bits 1:0) register. when in combined mode and the sata controller is emulating the logical secondary channel (map.mv = 1h), the pata channel will emulate the logical primary channel and ideirq will generate irq14. conversely, if the sata controller in combined mode is emulating the logical primary channel (map.mv=2h), ideirq will generate irq15. note: ide interrupts cannot be communicated throug h pci devices or the serial irq stream. note: the combined mode is not supported on ich7 -u ultra mobile. ich7-u does not contain a sata controller. figure 5-8. physical region descriptor table entry eot reserved byte count [15:1] memory region physical base address [31:1] byte 3 byte 2 byte 1 byte 0 memory region main memory o o free datasheet http://www..net/
intel ? ich7 family datasheet 187 functional description 5.16.2.4 bus master ide operation to initiate a bus master transfer between memory and an ide device, the following steps are required: 1. software prepares a prd table in system memory. the prd table must be dword- aligned and must not cross a 64-kb boundary. 2. software provides the starting address of the prd table by loading the prd table pointer register. the direction of the data transfer is specified by setting the read/ write control bit. the interrupt bit and error bit in the status register are cleared. 3. software issues the appropriate dma transfer command to the disk device. 4. the bus master function is engaged by so ftware writing a 1 to the start bit in the command register. the first entry in the prd table is fetched and loaded into two registers which are not visible by software, the current base and current count registers. these registers hold the current value of the address and byte count loaded from the prd table. the value in th ese registers is only valid when there is an active command to an ide device. 5. once the prd is loaded internally, the ide device will receive a dma acknowledge. 6. the controller transfers data to/from memo ry responding to dma requests from the ide device. the ide device and the host controller may or may not throttle the transfer several times. when the last data transfer for a region has been completed on the ide interface, the next descriptor is fetched from the table. the descriptor contents are loaded into the current base and current count registers. 7. at the end of the transfer, the ide device signals an interrupt. 8. in response to the interrupt, software resets the start/stop bit in the command register. it then reads the controller status followed by the drive status to determine if the transfer completed successfully. the last prd in a table has the end of list (eol) bit set. the pci bus master data transfers terminate when the physical region described by the last prd in the table has been completely transferred. the active bi t in the status register is reset and the ddrq signal is masked. the buffer is flushed (when in the write state) or invalidated (when in the read state) when a terminal count condition exists; that is, the current region descriptor has the eol bit set and that region has been exhausted. the buffer is also flushed (write state) or invalidated (read state) when the interrupt bit in the bus master ide status register is set. software that reads the status regist er and finds the error bit reset, and either the active bit reset or the interrupt bit set, can be assured that all data destined for system memory has been transferred and that data is valid in system memory. table 5-42 describes how to interpret the interrupt and active bits in the status register after a dma transfer has started. free datasheet http://www..net/
functional description 188 intel ? ich7 family datasheet 5.16.2.5 error conditions ide devices are sector based mass storage devices. the drivers handle errors on a sector basis; either a sector is transferred successfully or it is not. a sector is 512 bytes. if the ide device does not complete the transfer due to a hardware or software error, the command will eventually be stopped by the driver setting command start bit to 0 when the driver times out the disk transactio n. information in the ide device registers help isolate the cause of the problem. if the controller encounters an error while doing the bus master transfers it will stop the transfer (i.e., reset the active bit in the command register) and set the error bit in the bus master ide status register. the controller does not generate an interrupt when this happens. the device driver can use devi ce specific information (pci configuration space status register and ide drive register) to determine what caused the error. whenever a requested transfer does not complete properly, information in the ide device registers (sector count) can be used to determine how much of the transfer was completed and to construct a new prd table to complete the requested operation. in most cases the existing prd table can be used to complete the operation. 5.16.3 ultra ata/100/66/33 protocol the ich7 supports ultra ata/100/66/33 bus mastering protocol, providing support for a variety of transfer speeds with ide device s. ultra ata/33 provides transfers up to 33 mb/s, ultra ata/66 provides transfers at up to 44 mb/s or 66 mb/s, and ultra ata/ 100 can achieve read transfer rates up to 100 mb/s and write transfer rates up to 88.9 mb/s. the ultra ata/100/66/33 definition also incorporates a cyclic redundancy checking (crc-16) error checking protocol. table 5-42. interrupt/active bit interaction definition interrupt active description 0 1 dma transfer is in progress. no inte rrupt has been generated by the ide device. 1 0 the ide device generated an interru pt. the controller exhausted the physical region descriptors. this is the normal completion case where the size of the physical memory re gions was equal to the ide device transfer size. 1 1 the ide device generated an interru pt. the controller has not reached the end of the physical memory region s. this is a valid completion case where the size of the physical memo ry regions was larger than the ide device transfer size. 0 0 this bit combination signals an error condition. if the error bit in the status register is set, then the cont roller has some problem transferring data to/from memory. specifics of the error have to be determined using bus-specific information. if the e rror bit is not set, then the prd's specified a smaller size than the ide transfer size. free datasheet http://www..net/
intel ? ich7 family datasheet 189 functional description 5.16.3.1 operation initial setup programming consists of enablin g and performing the proper configuration of the ich7 and the ide device for ultra ata/100/66/33 operation. for the ich7, this consists of enabling synchronous dma mode and setting up appropriate synchronous dma timings. when ready to transfer data to or fr om an ide device, the bus master ide programming model is followed. once prog rammed, the drive and ich7 control the transfer of data via the ultra ata/100/66/33 protocol. the actual data transfer consists of three phases, a start-up phase, a data transfer phase, and a burst termination phase. the ide device begins the start-up phase by asserting dmarq signal. when ready to begin the transfer, the ich7 asserts dmack# signal. when dmack# signal is asserted, the host controller drives cs0# and cs1# in active, da0?da2 low. for write cycles, the ich7 deasserts stop, waits for the ide device to assert dmardy#, and then drives the first data word and strobe signal. for read cycles, the ich7 tri-states the dd lines, deasserts stop, and asserts dmardy#. the ide device then sends the first data word and strobe. the data transfer phase continues the burst transfers with the data transmitter (ich7 ? writes, ide device ? reads) providing data and toggling strobe. data is transferred (latched by receiver) on each rising and falling edge of strobe. the transmitter can pause the burst by holding strobe high or low, resuming the burst by again toggling strobe. the receiver can pause the burst by deasserting dmardy# and resumes the transfers by asserting dmardy#. the ich7 pauses a burst transaction to prevent an internal line buffer over or under flow co ndition, resuming once the condition has cleared. it may also pause a transaction if the current prd byte count has expired, resuming once it has fetched the next prd. the current burst can be terminated by ei ther the transmitter or receiver. a burst termination consists of a stop request, st op acknowledge and tr ansfer of crc data. the ich7 can stop a burst by asserting stop, with the ide device acknowledging by deasserting dmarq. the ide device stops a burst by deasserting dmarq and the ich7 acknowledges by asserting stop. the transmitter then drives the strobe signal to a high level. the ich7 then drives the cr c value onto the dd lines and deassert dmack#. the ide device latches the crc valu e on rising edge of dmack#. the ich7 terminates a burst transfer if it needs to service the opposite ide channel, if a programmed i/o (pio) cycle is executed to the ide channel currently running the burst, or upon transferring the last data from the final prd. free datasheet http://www..net/
functional description 190 intel ? ich7 family datasheet 5.16.4 ultra ata/33/66/100 timing the timings for ultra ata/33/66/100 modes are programmed via the synchronous dma timing register and the ide configurat ion register. different timings can be programmed for each drive in the system. th e base clock frequency for each drive is selected in the ide configuration register. the cycle time (ct) and ready to pause (rp) time (defined as multiples of the base clock) are programmed in the synchronous dma timing register. the cycle time represents the minimum pulse width of the data strobe (strobe) signal. the ready to pause time represents the number of base clock periods that the ich7 waits from deassertion of dmardy# to the assertion of stop when it desires to stop a burst read transaction. note: the internal base clock for ultra ata/100 (mode 5) runs at 133 mhz, and the cycle time (ct) must be set for three base cloc ks. the ich7 thus toggles the write strobe signal every 22.5 ns, transfe rring two bytes of data on ea ch strobe edge. this means that the ich7 performs mode 5 write transf ers at a maximum rate of 88.9 mb/s. for read transfers, the read stro be is driven by the ata/100 device, and the ich7 supports reads at the maximum rate of 100 mb/s. 5.16.5 ata swap bay to support pata swap bay, the ich7 allows the ide output signals to be tri-stated and input buffers to be turned off. this should be done prior to the removal of the drive. the output signals can also be driven low. this can be used to remove charge built up on the signals. configuration bits are included in the ide i/o configuration register, offset 54h in the ide pci configuration space. in a pata swap bay operation, an ide devi ce is removed and a new one inserted while the ide interface is powered down and the rest of the system is in a fully powered-on state (so). during a pata swap bay operation, if the operating system executes cycles to the ide interface after it has been powere d down it will cause the ich7 to hang the system that is waiting for iordy to be asserted from the drive. to correct this issue, the following bios procedures are required for performing an ide swap: 1. program ide sig_mode (configuration register at offset 54h) to 10b (drive low mode). 2. clear iordy sample point enable (bits 1 or 5 of ide timing reg.). this prevents the ich7 from waiting for iordy assertion when the operating system accesses the ide device after the ide drive powers do wn, and ensures that 0s are always be returned for read cycles that occur during swap operation. warning: software should not attempt to control the outputs (either tri-state or driving low), while an ide transfer is in progress. unpr edictable results could occur, including a system lockup. 5.16.6 smi trapping device 31:function 1: offset c0h (see section 15.1.26 ) contain control for generating smi# on accesses to the ide i/o spaces. these bits map to the legacy ranges (1f0 ? 1f7h and 3f6h). accesses to one of these ra nges with the appropriate bit set causes the cycle to not be forwarded to the ide contro ller, and for an smi# to be generated. if an access to the bus-master ide registers occurs while trapping is enabled for the device being accessed, then the register is updated, an smi# is generated, and the device activity status bits (device 31:func tion 1:offset c4h) are updated indicating that a trap occurred. free datasheet http://www..net/
intel ? ich7 family datasheet 191 functional description 5.17 sata host controller (d31:f2) (desktop and mobile only) the sata function in the ich7 has dual modes of operation to support different operating system conditions. in the case of native ide enabled operating systems, the ich7 has separate pci functions for serial and parallel ata (?enhanced mode?). to support legacy operating systems, there is on ly one pci function for both the serial and parallel ata ports if functionality from both sata and pata devices is desired (?combined mode?). the map register, section 12.1.33 , provides the ability to share pci functions. when sharing is enabled, all decode of i/o is do ne through the sata registers. device 31, function 1 (ide controller) is hidden by software writing to the function disable register (d31, f0, offset f2h, bit 1), and its configuration registers are not used. the ich7 sata controller features four (d esktop only) / two (mobile only) sets of interface signals (ports) that can be indepe ndently enabled or disabled (they cannot be tri-stated or driven low). each interface is supported by an independent dma controller. the ich7 sata controller interacts with an attached mass storage device through a register interface that is equivalent to that presented by a traditional ide host adapter. the host software follows existing standards and conventions when accessing the register interface and follows standard command protocol conventions. table 5-43 lists ich7 sata feature support information. table 5-44 contains descriptions for the sata features listed in table 5-43 . note: sata interface transfer rates are independen t of udma mode settings. sata interface transfer rates will operate at the bus?s ma ximum speed, regardless of the udma mode reported by the sata device or the system bios. table 5-43. sata features support in intel ? ich7 feature ich7 & ich7-m (ahci/raid disabled) ich7 & ich7-m (ahci/raid enabled) native command queing (ncq) n/a supported auto activate for dma n/a supported hot plug support n/a supported asynchronous signal recovery n/a supported 3 gb/s transfer rate supported (desktop only) supported (desktop only) atapi asynchronous notification n/a supported host initiated power management n/a supported (mobile only) staggered spin-up supported supported command completion coalescing n/a n/a port multiplier n/a n/a external sata n/a n/a free datasheet http://www..net/
functional description 192 intel ? ich7 family datasheet 5.17.1 theory of operation 5.17.1.1 standard ata emulation the ich7 contains a set of registers that shadow the contents of the legacy ide registers. the behavior of the command and control block registers, pio, and dma data transfers, resets, and interrupts are all emulated. note: the ich7 will assert intr when the ma ster device completes the edd command regardless of the command completion status of the slave device. if the master completes edd first, an intr is generated and bsy will remain '1' until the slave completes the command. if the slave comple tes edd first, bsy will be '0' when the master completes the edd command and asserts intr. software must wait for busy to clear (0) before completing an edd command, as required by the ata5 through ata7 (t13) industry standards. 5.17.1.2 48-bit lba operation the sata host controller supports 48-bit lba through the host-to-device register fis when accesses are performed via writes to th e task file. the sata host controller will ensure that the correct data is put into the correct byte of the host-to-device fis. there are special considerations when reading from the task file to support 48-bit lba operation. software may need to read all 16 -bits. since the registers are only 8-bits wide and act as a fifo, a bit must be set in the device/control register, which is at offset 3f6h for primary and 376h for secondary (or their native counterparts). table 5-44. sata feature description feature description native command queing (ncq) allows the device to reorde r commands for more efficient data transfers auto activate for dma collapses a dma setup then dm a activate sequence into a dma setup only hot plug support allows for device detection wi thout power being applied and ability to connect and disconnect devices without prior notification to the system asynchronous signal recovery provides a recovery from a loss of signal or establishing communication after hot plug 3 gb/s transfer rate capable of data transfers up to 3gb/s atapi asynchronous notification a mechanism for a device to send a notification to the host that the device re quires attention host initiated power management capability for the host contro ller to request partial and slumber interface power states staggered spin-up enables the host the ability to spin up hard drives sequentially to prevent po wer load problems on boot command completion coalescing reduces interrupt an d completion overhead by allowing a specified number of commands to complete and then generating an interrupt to process the commands port multiplier a mechanism for one active host connection to communicate with multiple devices external sata technology that allows for an outside the box connection of up to 2 meters (when using the cable defined in sata-io) free datasheet http://www..net/
intel ? ich7 family datasheet 193 functional description if software clears bit 7 of the control register before performing a read, the last item written will be returned from the fifo. if so ftware sets bit 7 of the control register before performing a read, the first item written will be returned from the fifo. 5.17.2 sata swap bay support dynamic hot-plug (e.g., surprise removal) is not supported by the sata host controller without special support from ahci and the proper board hardware. however, the ich7 does provide for basic sata swap bay support using the psc register configuration bits and power management flows. a device can be powered down by software and the port can then be disabled, allowing removal and insertion of a new device. note: this sata swap bay operation requires bo ard hardware (implementation specific), bios, and operating system support. 5.17.3 intel ? matrix storage technolo gy configuration (intel ? ich7r, ich7dh, and ich7-m dh only) the intel ? matrix storage technology offers several diverse options for raid (redundant array of independent disks) to meet the needs of the end user. ahci support provides higher performance and alleviates disk bottlenecks by taking advantage of the independent dma engines that each sata port offers in ich7. ? raid level 0 performance scaling up to 4 drives, enabling higher throughput for data intensive applications such as video editing. ? data security is offered thru raid level 1, which performs mirroring. ? raid level 10 (ich7r/ich7dh only) provides high levels of storage performance with data protection, combining the fault-tolerance of raid level 1 with the performance of raid level 0. by striping raid level 1 segments, high i/o rates can be achieved on systems that require both performance and fault-tolerance. raid level 10 requires 4 hard drives, an d provides the capacity of two drives. ? raid level 5 (ich7r/ich7dh only) prov ides highly efficient storage while maintaining fault-tolerance on 3 or more drives. by striping parity, and rotating it across all disks, fault tolerance of any sing le drive is achieved while only consuming 1 drive worth of capacity. that is, a 3 driv e raid 5 has the capacity of 2 drives, or a 4 drive raid 5 has the capacity of 3 drives. raid 5 has high read transaction rates, with a medium write rate. raid 5 is well suited for applications that require high amounts of storage while maintaining fault tolerance. by using the ich7?s built-in intel matrix storage technology, there is no loss of pci resources (request/grant pair) or add-in card slot. intel matrix storage technology is not ava ilable in all ich7 components. ich7-m dh supports raid level 0, 1. see section 1.2 . intel matrix storage technology functi onality requires the following items: 1. ich7 component enabled for intel matrix storage technology (see section 1.2 ) 2. intel ? matrix storage manager raid option rom must be on the platform 3. intel ? matrix storage manager drivers, most recent revision. 4. at least two sata hard disk drives (minimum depends on raid configuration). intel matrix storage technology is not av ailable in the following configurations: 1. the sata controller in compatible mode. free datasheet http://www..net/
functional description 194 intel ? ich7 family datasheet 5.17.3.1 intel ? matrix storage mana ger raid option rom the intel matrix storage manager raid option rom is a standard pnp option rom that is easily integrated into any system bios. when in place, it provides the following three primary functions: ? provides a text mode user interface that allows the user to manage the raid configuration on the system in a pre-operating system environment. its feature set is kept simple to keep size to a minimum, but allows the user to create & delete raid volumes and select recovery options when problems occur. ? provides boot support when using a raid vo lume as a boot disk. it does this by providing int13 services when a raid volume needs to be accessed by dos applications (such as ntldr) and by ex porting the raid volumes to the system bios for selection in the boot order. ? at each boot up, provides the user with a status of the raid volumes and the option to enter the user interface by pressing ctrl-i. 5.17.4 power management operation power management of the ich7 sata controller and ports will cover operations of the host controller and the sata wire. 5.17.4.1 power state mappings the d0 pci power management state for device is supported by the ich7 sata controller. sata devices may also have multiple power states. from parallel ata, three device states are supported through acpi. they are: ? d0 ? device is working and instantly available. ? d1 ? device enters when it receives a standby immediate command. exit latency from this state is in seconds ? d3 ? from the sata device?s perspective, no different than a d1 state, in that it is entered via the standby immediate command. however, an acpi method is also called which will reset the device and then cut its power. each of these device states are subsets of the host controller?s d0 state. finally, sata defines three phy layer power states, which have no equivalent mappings to parallel ata. they are: ? phy ready ? phy logic and pll are both on and active ? partial ? phy logic is powered, but in a reduced state. exit latency is no longer than 10 ns ? slumber ? phy logic is powered, but in a reduced state. exit latency can be up to 10 ms. since these states have much lower exit latency than the acpi d1 and d3 states, the sata controller defines these states as sub-states of the device d0 state. free datasheet http://www..net/
intel ? ich7 family datasheet 195 functional description 5.17.4.2 power state transitions 5.17.4.2.1 partial and slumber state entry/exit the partial and slumber states save interface power when the interface is idle. it would be most analogous to pci clkrun# (in power savings, not in mechanism), where the interface can have power saved while no commands are pending. the sata controller defines phy layer power management (as performed via primitives) as a driver operation from the host side, and a device proprietary mechanism on the device side. the sata controller accepts device transition types, but does not issue any transitions as a host. all received requests from a sata device will be acked. when an operation is performed to the sata controller such that it needs to use the sata cable, the controller must check whether the link is in the partial or slumber states, and if so, must issue a com_wake to bring the link back on line. similarly, the sata device must perform the same action. 5.17.4.2.2 device d1, d3 states these states are entered after some period of time when software has determined that no commands will be sent to this device for some time. the mechanism for putting a device in these states does not involve any work on the host controller, other then sending commands over the interface to the device. the command most likely to be used in ata/atapi is the ?standby immediate? command. 5.17.4.2.3 host controller d3 hot state after the interface and device have been pu t into a low power state, the sata host controller may be put into a low power state. this is performed via the pci power management registers in configuration space. there are two very important aspects to note when using pci power management. 1. when the power state is d3, only accesses to configuration space are allowed. any attempt to access the memory or i/o spaces will result in master abort. 2. when the power state is d3, no interrupts may be generated, even if they are enabled. if an interrupt status bit is pe nding when the controller transitions to d0, an interrupt may be generated. when the controller is put into d3, it is a ssumed that software has properly shut down the device and disabled the ports. therefore, there is no need to sustain any values on the port wires. the interface will be treated as if no device is present on the cable, and power will be minimized. when returning from a d3 state, an internal reset will not be performed. figure 5-9. sata power states intel ? ich sata controller = d0 device = d3 power res ume latency device = d0 phy = ready device = d1 phy = slumber phy = partial phy = off (port disabled) phy = slumber phy = off (port disabled) phy = slumber phy = off (port disabled) free datasheet http://www..net/
functional description 196 intel ? ich7 family datasheet 5.17.4.2.4 non-ahci mode pme# generation when in non-ahci mode (legacy mode) of operation, the sata controller does not generate pme#. this includes attach events (since the port must be disabled), or interlock switch events (via the satagp pins). 5.17.4.3 smi trapping (apm) device 31:function2:offset c0h (see section 12.1.40 ) contain control for generating smi# on accesses to the ide i/o spaces. these bits map to the legacy ranges (1f0 ? 1f7h, 3f6h, 170 ? 177h, and 376h). if the sata controller is in legacy mode and is using these addresses, accesses to one of these ranges with the appropriate bit set causes the cycle to not be forwarded to the sata co ntroller, and for an smi# to be generated. if an access to the bus-master ide registers occurs while trapping is enabled for the device being accessed, then the register is updated, an smi# is generated, and the device activity status bits ( section 12.1.41 ) are updated indicating that a trap occurred. 5.17.5 sata led the sataled# output is driven whenever the bsy bit is set in any sata port. the sataled# is an active-low open-collector output. when sataled# is low, the led should be active. when sataled# is high, the led should be inactive. 5.17.6 ahci operation (intel ? ich7r, ich7dh, and mobile only) the ich7 provides hardware support for advanced host controller interface (ahci), a programming interface for sata host controlle rs developed thru a joint industry effort (ahci not available on all ich7 components; see section 1.2 ). ahci defines transactions between the sata controller and software and enables advanced performance and usability with sata. platfo rms supporting ahci may take advantage of performance features such as no master/slave designation for sata devices?each device is treated as a master?and hardware assisted native command queuing. ahci also provides usability enhancements such as hot-plug. ahci requires appropriate software support (e.g., an ahci driver) and for some features, hardware support in the sata device or additional platform hardware. the ich7 supports all of the mandatory features of the serial ata advanced host controller interface specification , revision 1.0 and many optional features, such as hardware assisted native command queuing, aggressive power management, led indicator support, and hot-plug thru the us e of interlock switch support (additional platform hardware and software may be re quired depending upon the implementation). note: for reliable device removal notification wh ile in ahci operation without the use of interlock switches (surprise removal), interf ace power management should be disabled for the associated port. see section 7.3.1 of the ahci specification for more information. note: when there are more than two prd entries for a pio data transfer that spans multiple data fises, the ich7 does not support interm ediate prd entries that are less than 144 words in size when the ich7 is op erating in ahci mode at 1.5 gb/s. free datasheet http://www..net/
intel ? ich7 family datasheet 197 functional description 5.17.7 serial ata referenc e clock low power request (sataclkreq#) the 100 mhz serial ata reference clock (sataclkp, sataclkn) is implemented on the system as a ground-terminated low-voltage differential signal pair driven by the system clock chip. when all the sata links are in slumber or disabled, the sata reference clock is not needed and may be stopped and tri-stated at the clock chip allowing system-level power reductions. the ich7 uses the sataclkreq# output signal to communicate with the system clock chip to request either sata clock running or to tell the system clock chip that it can stop the sata reference clock. ich7 drives this signal low to request clock running, and tristates the signal to indicate that the sata reference clock may be stopped (the ich7 does not drive the pin high). when the sataclkreq# is tristated by the ich7, the clock chip may stop the sata reference clock within 100 ns, anytime after 100 ns, or not at all. if the sata reference clock is not already running, it will start within 100 ns after a sataclkreq# is driven low by the ich7. to enable sata reference clock low power request: 1. configure gpio35 to native function 2. set sata clock request enable (scre) bit to ?1? (dev 31:f2:offset 94h:bit 28). note: the reset default for sataclkreq# is low to insure that the sata reference clock is running after system reset. 5.18 high precision event timers this function provides a set of timers that can be used by the operating system. the timers are defined such that in the future, the operating system may be able to assign specific timers to used directly by specific applications. each timer can be configured to cause a separate interrupt. ich7 provides three timers. the three timers are implemented as a single counter each with its own comparator and value register. this counter increases monotonically. each individual timer can generate an interrupt wh en the value in its value register matches the value in the main counter. the registers associated with these timers are mapped to a memory space (much like the i/o apic). however, it is not implemen ted as a standard pci function. the bios reports to the operating system the location of the register space. the hardware can support an assignable decode space; however, the bios sets this space prior to handing it over to the operating system (see section 6.4 ). it is not expected that the operating system will move the location of these timers once it is set by the bios. 5.18.1 timer accuracy 1. the timers are accurate over any 1 ms peri od to within 0.05% of the time specified in the timer resolution fields. 2. within any 100 microsecond period, the timer reports a time that is up to two ticks too early or too late. each tick is less than or equal to 100 ns, so this represents an error of less than 0.2%. 3. the timer is monotonic. it does not return the same value on two consecutive reads (unless the counter has rolled over and reached the same value). free datasheet http://www..net/
functional description 198 intel ? ich7 family datasheet the main counter is clocked by the 14.31818 mhz clock, synchronized into the 66.666 mhz domain. this results in a non-uniform du ty cycle on the synchronized clock, but does have the correct average period. the accuracy of the main counter is as accurate as the 14.3818 mhz clock. 5.18.2 interrupt mapping mapping option #1 (legacy replacement option) in this case, the legacy replacement rout bit (leg_rt_cnf) is set. this forces the mapping found in table 5-45 . mapping option #2 (standard option) in this case, the legacy replacement rout bit (leg_rt_cnf) is 0. each timer has its own routing control. the supported interru pt values are irq 20, 21, 22, and 23. 5.18.3 periodic vs. no n-periodic modes non-periodic mode timer 0 is configurable to 32 (default) or 64-bit mode, whereas timers 1 and 2 only support 32-bit mode (see section 20.1.5 ). all three timers support non-periodic mode. consult section 2.3.9.2.1 of the ia-pc hpet specification for a description of this mode. periodic mode timer 0 is the only timer that supports periodic mode. consult section 2.3.9.2.2 of the ia-pc hpet specification for a description of this mode. the following usage model is expected: 1. software clears the enable_cnf bit to prevent any interrupts 2. software clears the main counter by writing a value of 00h to it. 3. software sets the timer0_val_set_cnf bit. 4. software writes the new value in the timer0_comparator_val register 5. software sets the enable_c nf bit to enable interrupts. table 5-45. legacy replacement routing timer 8259 mapping apic mapping comment 0 irq0 irq2 in this case, the 8254 timer will not cause any interrupts 1 irq8 irq8 in this case, the rtc will not cause any interrupts. 2 per irq routing field. per irq routing field free datasheet http://www..net/
intel ? ich7 family datasheet 199 functional description the timer 0 comparator value register cannot be programmed reliably by a single 64- bit write in a 32-bit environment except if only the periodic rate is being changed during run-time. if the actual timer 0 comparator value needs to be reinitialized, then the following software solution will always work regardless of the environment: 1. set timer0_val_set_cnf bit 2. set the lower 32 bits of the timer0 comparator value register 3. set timer0_val_set_cnf bit 4. 4) set the upper 32 bits of the timer0 comparator value register 5.18.4 enabling the timers the bios or operating system pnp code shou ld route the interrupts. this includes the legacy rout bit, interrupt rout bit (for each timer), interrupt type (to select the edge or level type for each timer) the device driver code should do the following for an available timer: 1. set the overall enable bit (offset 04h, bit 0). 2. set the timer type field (selects one-shot or periodic). 3. set the interrupt enable 4. set the comparator value 5.18.5 interrupt levels interrupts directed to the internal 8259s are active high. see section 5.10 for information regarding the polarity programmin g of the i/o apic for detecting internal interrupts. if the interrupts are mapped to the i/o apic and set for level-triggered mode, they can be shared with pci interrupts. this may be shared although it?s unlikely for the operating system to attempt to do this. if more than one timer is configured to share the same irq (using the timern_int_rout_cnf fields), then the software must configure the timers to level- triggered mode. edge-triggered interrupts cannot be shared. 5.18.6 handling interrupts if each timer has a unique interrupt and the timer has been configured for edge- triggered mode, then there are no specific steps required. no read is required to process the interrupt. if a timer has been configured to level-tr iggered mode, then its interrupt must be cleared by the software. this is done by reading the interrupt status register and writing a 1 back to the bit position for the interrupt to be cleared. independent of the mode, software can read the value in the main counter to see how time has passed between when the interrupt was generated and when it was first serviced. if timer 0 is set up to generate a periodic interrupt, the software can check to see how much time remains until the next interrupt by checking the timer value register. free datasheet http://www..net/
functional description 200 intel ? ich7 family datasheet 5.18.7 issues related to 64-bit timers with 32-bit processors a 32-bit timer can be read directly using processors that are capable of 32-bit or 64-bit instructions. however, a 32-bit processor may not be able to directly read 64-bit timer. a race condition comes up if a 32-bit proc essor reads the 64-bit register using two separate 32-bit reads. the danger is that ju st after reading one half, the other half rolls over and changes the first half. if a 32-bit processor needs to access a 64-bit timer, it must first halt the timer before reading both the upper and lower 32-bits of the timer. if a 32-bit processor does not want to halt the timer, it can use the 64-bit timer as a 32-bit timer by setting the timern_32mode_cnf bit. this causes the time r to behave as a 32-bit timer. the upper 32-bits are always 0. 5.19 usb uhci host controllers (d29:f0, f1, f2, and f3) the ich7 contains four usb 2.0 full/low-speed host controllers that support the standard universal host controller interfac e (uhci), revision 1.1. each uhci host controller (uhc) includes a root hub with two separate usb ports each, for a total of eight usb ports. ? overcurrent detection on all eight usb po rts is supported. the overcurrent inputs are not 5 v tolerant, and can be used as gpis if not needed. ? the ich7?s uhci host controllers are arbitrated differently than standard pci devices to improve arbitration latency. ? the uhci controllers use the analog fr ont end (afe) embedded cell that allows support for usb full-speed signaling rates, instead of usb i/o buffers. 5.19.1 data structures in main memory section 3.1 - 3.3 of the universal host controller interface specification, revision 1.1 details the data structures used to commu nicate control, status, and data between software and the ich7. 5.19.2 data transfers to/from main memory section 3.4 of the universal host controller interface specification, revision 1.1 describes the details on how hcd and the ich7 communicate via the schedule data structures. 5.19.3 data encoding and bit stuffing the ich7 usb employs nrzi data encoding (non-return to zero inverted) when transmitting packets. full details on this implementation are given in the universal serial bus specification, revision 2.0 . 5.19.4 bus protocol 5.19.4.1 bit ordering bits are sent out onto the bus least signific ant bit (lsb) first, followed by next lsb, through to the most significant bit (msb) last. free datasheet http://www..net/
intel ? ich7 family datasheet 201 functional description 5.19.4.2 sync field all packets begin with a synchronization (sync) field, which is a coded sequence that generates a maximum edge transition densit y. the sync field appears on the bus as idle followed by the binary string ?kjkjkjkk,? in its nrzi encoding. it is used by the input circuitry to align incoming data with the local clock and is defined to be 8 bits in length. sync serves only as a synchroniz ation mechanism and is not shown in the following packet diagrams. the last two bits in the sync field are a marker that is used to identify the first bit of the pid. all subs equent bits in the packet must be indexed from this point. 5.19.4.3 packet field formats all packets have distinct start and end of pa cket delimiters. full details are given in the universal serial bus specif ication, revision 2.0, in section 8.3.1. 5.19.4.4 address fields function endpoints are addressed using th e function address field and the endpoint field. full details on this are given in the universal serial bus specification, revision 2.0 , in section 8.3.2. 5.19.4.5 frame number field the frame number field is an 11-bit field that is incremented by the host on a per frame basis. the frame number field rolls over upon reaching its maximum value of 7ffh, and is sent only for sof tokens at the start of each frame. 5.19.4.6 data field the data field may range from 0 to 1023 by tes and must be an integral numbers of bytes. data bits within each byte are shifted out lsb first. 5.19.4.7 cyclic redundancy check (crc) crc is used to protect the all non-pid fields in token and data packets. in this context, these fields are considered to be protected fields. full details on this are given in the universal serial bus specification, revision 2.0 , in section 8.3.5. 5.19.5 packet formats the usb protocol calls out several packet types: token, data, and handshake packets. full details on this are given in the universal serial bus specification, revision 2.0 , in section 8.4. 5.19.6 usb interrupts there are two general groups of usb interrupt sources, those resulting from execution of transactions in the schedule, and those re sulting from an ich7 operation error. all transaction-based sources can be masked by software through the ich7?s interrupt enable register. additionally, individual tran sfer descriptors can be marked to generate an interrupt on completion. when the ich7 drives an interrupt for usb, it internally drives the pirqa# pin for usb function #0 and usb function #3, pirqd# pin for usb function #1, and the pirqc# pin for usb function #2, until all sources of the interrupt are cleared. in order to accommodate some operating systems, the interrupt pin register must contain a different value for each function of this new multi-function device. free datasheet http://www..net/
functional description 202 intel ? ich7 family datasheet 5.19.6.1 transactio n-based interrupts these interrupts are not signaled until after the status for the last complete transaction in the frame has been written back to host memory. this ensures that software can safely process through (frame list current in dex -1) when it is servicing an interrupt. crc error / time-out a crc/time-out error occurs when a packet transmitted from the ich7 to a usb device or a packet transmitted from a usb device to the ich7 generates a crc error. the ich7 is informed of this event by a time-out from the usb device or by the ich7?s crc checker generating an error on reception of the packet. additionally, a usb bus time- out occurs when usb devices do not respond to a transaction phase within 19-bit times of an eop. either of these conditions caus es the c_err field of the td to decrement. when the c_err field decrements to 0, the following occurs: ? the active bit in the td is cleared ? the stalled bit in the td is set ? the crc/time-out bit in the td is set. ? at the end of the frame, the usb error interrupt bit is set in the hc status register. if the crc/time out interrupt is enabled in the interrupt enable register, a hardware interrupt will be signaled to the system. interrupt on completion transfer descriptors contain a bit that ca n be set to cause an interrupt on their completion. the completion of the transaction associated with that block causes the usb interrupt bit in the hc status register to be set at the end of the frame in which the transfer completed. when a td is encoun tered with the ioc bit set to 1, the ioc bit in the hc status register is set to 1 at the end of the frame if the active bit in the td is set to 0 (even if it was set to 0 when initially read). if the ioc enable bit of interrupt enable regi ster (bit 2 of i/o offset 04h) is set, a hardware interrupt is signaled to the syst em. the usb interrupt bit in the hc status register is set either when the td complete s successfully or because of errors. if the completion is because of errors, the usb error bit in the hc status register is also set. short packet detect a transfer set is a collection of data which requires more than one usb transaction to completely move the data across the usb. an example might be a large print file which requires numerous tds in multiple frames to completely transfer the data. reception of a data packet that is less than the endpoint?s max packet size during control, bulk or interrupt transfers signals the completion of the transfer set, even if there are active tds remaining for this transfer set. setting the spd bit in a td indicates to the hc to set the usb interrupt bit in the hc status register at the end of the frame in which this event occurs. this feature streamlines the processing of input on these transfer types. if the short packet interrupt enable bit in the interrupt enable register is set, a hardware interrupt is signaled to the syst em at the end of the frame where the event occurred. free datasheet http://www..net/
intel ? ich7 family datasheet 203 functional description serial bus babble when a device transmits on the usb for a time greater than its assigned max length, it is said to be babbling. since isochrony can be destroyed by a babbling device, this error results in the active bit in the td being cl eared to 0 and the stalled and babble bits being set to 1. the c_err field is not decremented for a babble. the usb error interrupt bit in the hc status register is se t to 1 at the end of the frame. a hardware interrupt is signaled to the system. if an eof babble was caused by the ich7 (d ue to incorrect schedule for instance), the ich7 forces a bit stuff error followed by an eop and the start of the next frame. stalled this event indicates that a device/endpo int returned a stall handshake during a transaction or that the transaction ended in an error condition. the tds stalled bit is set and the active bit is cleared. reception of a stall does not decrement the error counter. a hardware interrupt is signaled to the system. data buffer error this event indicates that an overrun of inco ming data or a under-run of outgoing data has occurred for this transaction. this would generally be caused by the ich7 not being able to access required data buffers in me mory within necessary latency requirements. either of these conditions causes the c_ err field of the td to be decremented. when c_err decrements to 0, the active bit in the td is cleared, the stalled bit is set, the usb error interrupt bit in the hc status re gister is set to 1 at the end of the frame and a hardware interrupt is signaled to the system. bit stuff error a bit stuff error results from the detection of a sequence of more that six 1s in a row within the incoming data stream. this causes the c_err field of the td to be decremented. when the c_err field decrements to 0, the active bit in the td is cleared to 0, the stalled bit is set to 1, the usb erro r interrupt bit in the hc status register is set to 1 at the end of the frame and a hard ware interrupt is signaled to the system. 5.19.6.2 non-transaction based interrupts if an ich7 process error or system error occur, the ich7 halts and immediately issues a hardware interrupt to the system. resume received this event indicates that the ich7 received a resume signal from a device on the usb bus during a global suspend. if this interrupt is enabled in the interrupt enable register, a hardware interrupt is signaled to the system allowing the usb to be brought out of the suspend state and returned to normal operation. ich7 process error the hc monitors certain critical fields during operation to ensure that it does not process corrupted data structures. these include checking for a valid pid and verifying that the maxlength field is less than 1280. if it detects a condition that would indicate that it is processing corrupted data structures, it immediately halts processing, sets the hc process error bit in the hc status register and signals a hardware interrupt to the system. this interrupt cannot be disabled th rough the interrupt enable register. free datasheet http://www..net/
functional description 204 intel ? ich7 family datasheet host system error the ich7 sets this bit to 1 when a parity e rror, master abort, or target abort occur. when this error occurs, the ich7 clears th e run/stop bit in the command register to prevent further execution of the scheduled tds. this interrupt cannot be disabled through the interrupt enable register. 5.19.7 usb power management the host controller can be put into a suspended state and its power can be removed. this requires that certain bits of information are retained in the resume power plane of the ich7 so that a device on a port may wake the system. such a device may be a fax- modem, which will wake up the machine to re ceive a fax or take a voice message. the settings of the following bits in i/o space will be maintained when the ich7 enters the s3, s4, or s5 states. when the ich7 detects a resume event on any of its ports, it sets the corresponding usb_sts bit in acpi space. if usb is en abled as a wake/break event, the system wakes up and an sci generated. 5.19.8 usb legacy keyboard operation when a usb keyboard is plugged into the sy stem, and a standard keyboard is not, the system may not boot, and ms-dos legacy so ftware will not run, because the keyboard will not be identified. the ich7 implements a series of trapping operations which will snoop accesses that go to the keyboard cont roller, and put the expected data from the usb keyboard into the keyboard controller. note: the scheme described below assumes that the keyboard controller (8042 or equivalent) is on the lpc bus. this legacy operation is performed through smm space. figure 5-10 shows the enable and status path. the latched smi source (60r, 60w, 64r, 64w) is available in the status register. because the enable is after the latch, it is possible to check for other events that didn't necessarily cause an sm i. it is the software's responsibility to logically and the value with the appropriate enable bits. note also that the smi is generated before the pci cycle completes (e.g., before trdy# goes active) to ensure that the processor doesn't complete the cycle before the smi is observed. this method is used on mpiix and has been validated. the logic also needs to block the accesses to the 8042. if there is an external 8042, then this is simply accomplished by not activating the 8042 cs. this is simply done by logically anding the four enables (60r, 60w, 64r, 64w) with the 4 types of accesses to determine if 8042cs should go active. an a dditional term is required for the ?pass- through? case. the state table for the diagram is shown in table 5-47 . table 5-46. bits maintained in low power states register offset bit description command 00h 3 enter global suspend mode (egsm) status 02h 2 resume detect port status and control 10h & 12h 2 port enabled/disabled 6 resume detect 8 low-speed device attached 12 suspend free datasheet http://www..net/
intel ? ich7 family datasheet 205 functional description figure 5-10. usb legacy keyboard flow diagram table 5-47. usb legacy keyboard state transitions (sheet 1 of 2) current state action data value next state comment idle 64h / write d1h gatestate1 standard d1 command. cycle passed through to 8042. smi# doesn't go active. pstate (offset c0, bit 6) goes to 1. idle 64h / write not d1h idle bit 3 in config register determines if cycle passed through to 8042 and if smi# generated. idle 64h / read n/a idle bit 2 in config register determines if cycle passed through to 8042 and if smi# generated. idle 60h / write don't care idle bit 1 in config register determines if cycle passed through to 8042 and if smi# generated. idle 60h / read n/a idle bit 0 in config register determines if cycle passed through to 8042 and if smi# generated. gatestate1 60h / write xxh gatestate2 cycle passed through to 8042, even if trap enabled in bit 1 in config register. no smi# generated. pstate remains 1. if data value is not dfh or ddh then the 8042 may chose to ignore it. kbc accesses pci config read, write 60 read clear smi_60_r en_smi_on_60r comb. decoder and same for 60w, 64r, 64w smi or to individual "caused by" "bits" to pirqd# to "caused by" bit and and en_pirqd# usb_irq clear usb_irq en_smi_on_irq s d r s d r free datasheet http://www..net/
functional description 206 intel ? ich7 family datasheet gatestate1 64h / write d1h gatestate1 cycle passed through to 8042, even if trap enabled via bit 3 in conf ig register. no smi# generated. pstate remains 1. stay in gatestate1 because this is part of the double-trigger sequence. gatestate1 64h / write not d1h ilde bit 3 in config space determines if cycle passed through to 8042 and if smi# generated. pstate goes to 0. if bit 7 in config register is set, then smi# should be generated. gatestate1 60h / read n/a idle this is an invalid sequence. bit 0 in config register determines if cycle passed through to 8042 and if smi# generated. pstate goes to 0. if bit 7 in config register is set, then smi# should be generated. gatestate1 64h / read n/a gatestate1 just stay in same state. generate an smi# if enabled in bit 2 of config register. pstate remains 1. gatestate2 64 / write ffh idle standard end of sequence. cycle passed through to 8042. pstate goes to 0. bit 7 in config space determines if smi# should be generated. gatestate2 64h / write not ffh idle improper end of sequence. bit 3 in config register determines if cycle passed through to 8042 and if smi# generated. pstate goes to 0. if bit 7 in config register is set, then smi# should be generated. gatestate2 64h / read n/a gatestate2 just stay in same state. generate an smi# if enabled in bit 2 of config register. pstate remains 1. gatestate2 60h / write xxh idle improper end of sequence. bit 1 in config register determines if cycle passed through to 8042 and if smi# generated. pstate goes to 0. if bit 7 in config register is set, then smi# should be generated. gatestate2 60h / read n/a idle improper end of sequence. bit 0 in config register determines if cycle passed through to 8042 and if smi# generated. pstate goes to 0. if bit 7 in config register is set, then smi# should be generated. table 5-47. usb legacy keyboard state transitions (sheet 2 of 2) current state action data value next state comment free datasheet http://www..net/
intel ? ich7 family datasheet 207 functional description 5.20 usb ehci host controller (d29:f7) the ich7 contains an enhanced host controller interface (ehci) host controller which supports up to eight usb 2.0 high-speed root ports. usb 2.0 allows data transfers up to 480 mb/s using the same pins as the eight usb full-speed/low-speed ports. the ich7 contains port-routing logic that determines whether a usb port is controlled by one of the uhci controllers or by the ehci controller. usb 2.0 based debug port is also implemented in the ich7. a summary of the key architectural differences between the usb uhci host controllers and the ehci host controller are shown in table 5-48 . 5.20.1 ehc initialization the following descriptions step through the expected ich7 enhanced host controller (ehc) initialization sequence in chronologica l order, beginning with a complete power cycle in which the suspend well and core well have been off. 5.20.1.1 bios initialization bios performs a number of platform customization steps after the core well has powered up. contact your intel field representative for additional ich7 bios information. 5.20.1.2 driver initialization see chapter 4 of the enhanced host controller interface specification for universal serial bus, revision 1.0. table 5-48. uhci vs. ehci parameter usb uhci usb ehci accessible by i/o space memory space memory data structure single linked list separated in to period ic and asynchronous lists differential signaling voltage 3.3 v 400 mv ports per controller 2 8 free datasheet http://www..net/
functional description 208 intel ? ich7 family datasheet 5.20.1.3 ehc resets in addition to the standard ich7 hardware resets, portions of the ehc are reset by the hcreset bit and the transition from the d3 hot device power management state to the d0 state. the effects of each of these resets are: if the detailed register descriptions give exceptions to these rules, those exceptions override these rules. this summary is provid ed to help explain the reasons for the reset policies. 5.20.2 data structures in main memory see section 3 and appendix b of the enhanced host controller interface specification for universal serial bus, revision 1.0 for details. 5.20.3 usb 2.0 enhanced host controller dma the ich7 usb 2.0 ehc implements three source s of usb packets. they are, in order of priority on usb during each microframe: 1. the usb 2.0 debug port (see section usb 2.0 based debug port), 2. the periodic dma engine, and 3. the asynchronous dma engine. the ich7 always performs any currently-pending debug port transaction at the beginning of a microframe, followed by any pending periodic traffic for the current microframe. if there is time left in the microframe, then the ehc performs any pending asynchronous traffic until the end of the microframe (eof1). note that the debug port traffic is only presented on one port (port #0), while the other ports are idle during this time. 5.20.4 data encoding and bit stuffing see chapter 8 of the universal serial bus specification, revision 2.0. 5.20.5 packet formats see chapter 8 of the universal serial bus specification, revision 2.0 . the ich7 ehci allows entrance to usb test modes, as defined in the usb 2.0 specification, including test j, test packet, et c. however, note that the ich7 test packet test mode interpacket gap timing ma y not meet the usb 2.0 specification. reset does reset does not reset comments hcreset bit set. memory space registers except structural parameters (which is written by bios). configuration registers. the hcreset must only affect registers that the ehci driver controls. pci configuration space and bios-programmed parameters can not be reset. software writes the device power state from d3 hot (11b) to d0 (00b). core well registers (except bios- programmed registers). suspend well registers; bios- programmed core well registers. the d3-to-d0 transition must not cause wake information (suspend well) to be lost. it also must not clear bios- programmed registers because bios may not be invoked following the d3-to-d0 transition. free datasheet http://www..net/
intel ? ich7 family datasheet 209 functional description 5.20.6 usb 2.0 interrupts and error conditions section 4 of the enhanced host controller interface specification for universal serial bus, revision 1.0 goes into detail on the ehc interrupts and the error conditions that cause them. all error conditions that the ehc detects can be reported through the ehci interrupt status bits. only ich7-specific interrupt and error-reporting behavior is documented in this section. the ehci interrupts section must be read first, followed by this section of the datasheet to fully comp rehend the ehc interrupt and error-reporting functionality. ? based on the ehc?s buffer sizes and buffer management policies, the data buffer error can not occur on the ich7. ? master abort and target abort responses from hub interface on ehc-initiated read packets will be treated as fatal host erro rs. the ehc halts when these conditions are encountered. ? the ich7 may assert the interrupts which are based on the interrupt threshold as soon as the status for the last complete transaction in the interrupt interval has been posted in the internal writ e buffers. the requirement in the enhanced host controller interface specificatio n for universal serial bus, revision 1.0 (that the status is written to memory) is met internally, even though the write may not be seen on dmi before the interrupt is asserted. ? since the ich7 supports the 1024-element frame list size, the frame list rollover interrupt occurs every 1024 milliseconds. ? the ich7 delivers interrupts using pirqh#. ? the ich7 does not modify the cerr count on an interrupt in when the ?do complete-split? execution criteria are not met. ? for complete-split transactions in the peri odic list, the ?missed microframe? bit does not get set on a control-structure-fetch that fails the late-start test. if subsequent accesses to that control structure do not fail the late-start test, then the ?missed microframe? bit will get set and written back. 5.20.6.1 aborts on usb 2. 0-initiated memory reads if a read initiated by the ehc is aborted, th e ehc treats it as a fatal host error. the following actions are taken when this occurs: ? the host system error status bit is set ? the dma engines are halted after completi ng up to one more transaction on the usb interface ? if enabled (by the host system error enable), then an interrupt is generated ? if the status is master abort, then the received master abort bit in configuration space is set ? if the status is target abort, then the received target abort bit in configuration space is set ? if enabled (by the serr enable bit in the function?s configuration space), then the signaled system error bit in configuration bit is set. free datasheet http://www..net/
functional description 210 intel ? ich7 family datasheet 5.20.7 usb 2.0 power management 5.20.7.1 pause feature this feature allows platforms (especially mobile systems) to dynamically enter low- power states during brief periods when the sy stem is idle (i.e., between keystrokes). this is useful for enabling power ma nagement features like intel speedstep technology in the ich7 mobile/ultra mobile only. the poli cies for entering these states typically are based on the recent history of system bus ac tivity to incrementally enter deeper power management states. normally, when the ehc is enabled, it regularly accesses main memory while traversing the dma schedules lo oking for work to do; this activity is viewed by the power management software as a non-idle system, thus preventing the power managed states to be entered. suspending all of the enabled ports can prevent the memory accesses from occurring, but there is an inherent latency overhead with entering and exiting the suspended state on the usb ports that makes this unacceptable for the purpose of dynamic power management. as a result, the ehci software drivers are allowed to pause the ehc?s dma engines when it knows that the traffic patterns of the attached devices can afford the delay. the pause only prevents the ehc from generating memory accesses; the sof packets continue to be generated on the usb ports (unlike the suspended state). 5.20.7.2 suspend feature the enhanced host controller interface (ehci) for universal serial bus specification , section 4.3 describes the details of port suspend and resume. 5.20.7.3 acpi device states the usb 2.0 function only supports the d0 and d3 pci power management states. notes regarding the ich7 implementation of the device states: 1. the ehc hardware does not inherently consume any more power when it is in the d0 state than it does in the d3 state. however, software is required to suspend or disable all ports prior to entering the d3 state such that the maximum power consumption is reduced. 2. in the d0 state, all implemented ehc features are enabled. 3. in the d3 state, accesses to the ehc me mory-mapped i/o range will master abort. note that, since the debug port uses the same memory range, the debug port is only operational when the ehc is in the d0 state. 4. in the d3 state, the ehc interrupt must not assert for any reason. the internal pme# signal is used to signal wake events, etc. 5. when the device power state field is wri tten to d0 from d3, an internal reset is generated. see section ehc resets for gene ral rules on the effects of this reset. 6. attempts to write any other value into the device power state field other than 00b (d0 state) and 11b (d3 state) will complete normally without changing the current value in this field. free datasheet http://www..net/
intel ? ich7 family datasheet 211 functional description 5.20.7.4 acpi system states the ehc behavior as it relates to other power management states in the system is summarized in the following list: ? the system is always in the s0 state when the ehc is in the d0 state. however, when the ehc is in the d3 state, the system may be in any power management state (including s0). ? when in d0, the pause feature (see section 5.20.7.1 ) enables dynamic processor low-power states to be entered. ? the pll in the ehc is disabled when entering the s3 hot state (48 mhz clock stops), or the s3 cold /s4/s5 states (core power turns off). ? all core well logic is reset in the s3/s4/s5 states. 5.20.7.5 mobile/ultra mob ile only co nsiderations the ich7 usb 2.0 implementation does not behave differently in the mobile configurations versus the desktop configurations. however, some features may be especially useful for the mobile configurations. ? if a system (e.g., mobile) does not implement all eight usb 2.0 ports, the ich7 provides mechanisms for changing the stru ctural parameters of the ehc and hiding unused uhci controllers. see the intel ? ich7 bios specification for information on how bios should configure the ich7. ? mobile/ultra mobile systems may want to minimize the conditions that will wake the system. the ich7 implements the ?wake enable? bits in the port status and control registers, as specified in the ehci spec, for this purpose. ? mobile/ultra mobile systems may want to cut suspend well power to some or all usb ports when in a low-power state. the ich7 implements the optional port wake capability register in the ehc configuration space for this platform-specific information to be communicated to software. 5.20.8 interaction with uhci host controllers the enhanced host controller shares the eight usb ports with four uhci host controllers in the ich7. the uhc at d29:f0 shares ports 0 and 1; the uhc at d29:f1 shares ports 2 and 3; the uhc at d29:f2 shares ports 4 and 5; and the uhc at d29:f3 shares ports 6 and 7 with the ehc. there is very little interaction between the enhanced and the uhci controllers other than the muxing control which is provided as part of the ehc. figure 5-11 shows the usb port connections at a conceptual level. 5.20.8.1 port-routing logic integrated into the ehc functionality is port -routing logic, which performs the muxing between the uhci and ehci host controllers . the ich7 conceptually implements this logic as described in section 4.2 of the enhanced host controller interface specification for universal serial bus, revision 1.0. if a device is connected that is not capable of usb 2.0?s high-speed signaling protocol or if the ehci software drivers are not present as indicated by the configured flag, then the uhci controller owns the port. owning the port means that the differential output is driven by the owner and the input stream is only visible to the owner. the host controller that is not the owner of the port internally sees a disconnected port. free datasheet http://www..net/
functional description 212 intel ? ich7 family datasheet note that the port-routing logic is the only block of logic within the ich7 that observes the physical (real) connect/disconnect information. the port status logic inside each of the host controllers observes the electrical connect/disconnect information that is generated by the port-routing logic. only the differential signal pairs are mult iplexed/demultiplexed between the uhci and ehci host controllers. the other usb functional signals are handled as follows: ? the overcurrent inputs (oc[7:0]#) are di rectly routed to both controllers. an overcurrent event is recorded in both controllers? status registers. the port-routing logic is implemented in the suspend power well so that re- enumeration and re-mapping of the usb ports is not required following entering and exiting a system sleep state in which the core power is turned off. the ich7 also allows the usb debug port traffic to be routed in and out of port #0. when in this mode, the enhanced host controller is the owner of port #0. figure 5-11. intel ? ich7-usb port connections uhci #3 (d29:f3) uchi #0 (d29:f0) uhci #1 (d29:f1) uhci #2 (d29:f2) enhanced host controller logic debug port port 7 port 3 port 4 port 5 port 6 port 2 port 1 port 0 free datasheet http://www..net/
intel ? ich7 family datasheet 213 functional description 5.20.8.2 device connects the enhanced host controller interface specification for universal serial bus, revision 1.0 describes the details of handling device connects in section 4.2. there are four general scenarios that are summarized below. 1. configure flag = 0 and a full-speed/low-speed-only device is connected ? in this case, the uhc is the owner of th e port both before and after the connect occurs. the ehc (except for the port-routing logic) does not see the connect occur. the uhci driver handles the connection and initialization process. 2. configure flag = 0 and a high-speed-capable device is connected ? in this case, the uhc is the owner of th e port both before and after the connect occurs. the ehc (except for the port-routing logic) not see the connect occur. the uhci driver handles the connection and initialization process. since the uhc does not perform the high-speed chir p handshake, the device operates in compatible mode. 3. configure flag = 1 and a full-speed/low-speed-only device is connected ? in this case, the ehc is the owner of the port before the connect occurs. the ehci driver handles the connection and pe rforms the port reset. after the reset process completes, the ehc hardware has cleared (not set) the port enable bit in the ehc?s portsc register. the ehci dr iver then writes a 1 to the port owner bit in the same register, causing the uh c to see a connect event and the ehc to see an ?electrical? disconnect event. the uhci driver and hardware handle the connection and initialization process from that point on. the ehci driver and hardware handle the perceived disconnect. 4. configure flag = 1 and a high-speed-capable device is connected ? in this case, the ehc is the owner of the port before, and remains the owner after, the connect occurs. the ehci driver handles the connection and performs the port reset. after the reset process completes, the ehc hardware has set the port enable bit in the ehc?s portsc register . the port is functional at this point. the uhc continues to see an unconnected port. 5.20.8.3 device disconnects the enhanced host controller interface specification for universal serial bus, revision 1.0 describes the details of handling device connects in section 4.2. there are three general scenarios that are summarized below. 1. configure flag = 0 and the device is disconnected ? in this case, the uhc is the owner of the port both before and after the disconnect occurs. the ehc (except for the port-routing logic) not see a device attached. the uhci driver handles disconnection process. 2. configure flag = 1 and a full-speed/low -speed-capable device is disconnected ? in this case, the uhc is the owner of th e port before the disconnect occurs. the disconnect is reported by the uhc and se rviced by the associated uhci driver. the port-routing logic in the ehc cluster forces the port owner bit to 0, indicating that the ehc owns the unconnected port. 3. configure flag = 1 and a high-speed-capable device is disconnected ? in this case, the ehc is the owner of the port before, and remains the owner after, the disconnect occurs. the ehci hardware and driver handle the disconnection process. the uhc does not see a device attached. free datasheet http://www..net/
functional description 214 intel ? ich7 family datasheet 5.20.8.4 effect of resets on port-routing logic as mentioned above, the port routing logic is implemented in the suspend power well so that remuneration and re-mapping of the usb ports is not required following entering and exiting a system sleep state in which the core power is turned off. 5.20.9 usb 2.0 legacy keyboard operation the ich7 must support the possibility of a keyboard downstream from either a full- speed/low-speed or a high-speed port. the description of the legacy keyboard support is unchanged from usb 1.1 (see section 5.19.8 ). the ehc provides the basic ability to generate smis on an interrupt event, along with more sophisticated control of the generation of smis. 5.20.10 usb 2.0 based debug port the ich7 supports the elimination of the le gacy com ports by providing the ability for new debugger software to interact with devices on a usb 2.0 port. high-level restrictions and features are: ? operational before usb 2.0 drivers are loaded. ? functions even when the port is disabled. ? works even though non-configured port is default-routed to the uhci. note that the debug port can not be used to debug an issue that requires a full-speed/low- speed device on port #0 using the uhci drivers. ? allows normal system usb 2.0 traffic in a system that may only have one usb port. ? debug port device (dpd) must be high-speed capable and connect directly to port #0 on ich7 systems (e.g., the dpd cannot be connected to port #0 thru a hub). ? debug port fifo always makes forward progress (a bad status on usb is simply presented back to software). ? the debug port fifo is only given one usb access per microframe. the debug port facilitates operating system and device driver debug. it allows the software to communicate with an external console using a usb 2.0 connection. because the interface to this link does not go through the normal usb 2.0 stack, it allows communication with the external console during cases where the operating system is not loaded, the usb 2.0 software is broken, or where the usb 2.0 software is being debugged. specific features of this implementation of a debug port are: ? only works with an external usb 2.0 debug device (console) ? implemented for a specific port on the host controller ? operational anytime the port is not suspended and the host controller is in d0 power state. ? capability is interrupted when port is driving usb reset reset event effect on configur e flag effect on port owner bits suspend well reset cleared (0) set (1) core well reset no effect no effect d3-to-d0 reset no effect no effect hcreset cleared (0) set (1) free datasheet http://www..net/
intel ? ich7 family datasheet 215 functional description 5.20.10.1 theory of operation there are two operational modes for the usb debug port: 1. mode 1 is when the usb port is in a disa bled state from the viewpoint of a standard host controller driver. in mode 1, the debug port controller is required to generate a ?keepalive? packets less than 2 ms apart to keep the attached debug device from suspending. the keepalive packet should be a standalone 32-bit sync field. 2. mode 2 is when the host controller is running (i.e., host controller?s run/stop# bit is 1). in mode 2, the normal transmission of sof packets will keep the debug device from suspending. behavioral rules 1. in both modes 1 and 2, the debug port controller must check for software requested debug transactions at least every 125 microseconds. 2. if the debug port is enabled by the debug driver, and the standard host controller driver resets the usb port, usb debug transactions are held off for the duration of the reset and until after the first sof is sent. 3. if the standard host controller driver suspends the usb port, then usb debug transactions are held off for the duration of the suspend/resume sequence and until after the first sof is sent. 4. the enabled_cnt bit in the debug register space is independent of the similar port control bit in the associated port status and control register. table 5-49 shows the debug port behavior relate d to the state of bits in the debug registers as well as bits in the associated port status and control register. table 5-49. debug port behavior (sheet 1 of 2) owner_cnt enabled_ct port enable run / stop suspend debug port behavior 0 x x x x debug port is not being used. normal operation. 1 0 x x x debug port is not being used. normal operation. 1 1 0 0 x debug port in mode 1. sync keepalives sent plus debug traffic 1 1 0 1 x debug port in mode 2. sof (and only sof) is sent as keepalive. debug traffic is also sent. note that no other normal traffic is sent out this port, because th e port is not enabled. 1 1 1 0 0 invalid. host controller driver should not put the controller into this state (enabled, not running and not suspended). free datasheet http://www..net/
functional description 216 intel ? ich7 family datasheet 5.20.10.1.1 out transactions an out transaction sends data to the debug device. it can occur only when the following are true: ? the debug port is enabled ? the debug software sets the go_cnt bit ? the write_read#_cnt bit is set the sequence of the transaction is: 1. software sets the appropriate values in the following bits: ? usb_address_cnf ? usb_endpoint_cnf ? data_buffer[63:0] ? token_pid_cnt[7:0] ? send_pid_cnt[15:8] ? data_len_cnt ? write_read#_cnt (note: this will always be 1 for out transactions) ? go_cnt (note: this will always be 1 to initiate the transaction) 2. the debug port controller sends a token packet consisting of: ? sync ? token_pid_cnt field ? usb_address_cnt field ? usb_endpoint_cnt field ? 5-bit crc field 3. after sending the token packet, the debug port controller sends a data packet consisting of: ? sync ? send_pid_cnt field ? the number of data bytes indicated in data_len_cnt from the data_buffer ? 16-bit crc note: a data_len_cnt value of 0 is valid in which case no data bytes would be included in the packet. 1 1 1 0 1 port is suspen ded. no debug traffic sent. 1 1 1 1 0 debug port in mode 2. debug traffic is interspersed with normal traffic. 1 1 1 1 1 port is suspen ded. no debug traffic sent. table 5-49. debug port be havior (sheet 2 of 2) owner_cnt enabled_ct port enable run / stop suspend debug port behavior free datasheet http://www..net/
intel ? ich7 family datasheet 217 functional description 4. after sending the data packet, the controller waits for a handshake response from the debug device. ? if a handshake is received, the debug port controller: ? a. places the received pid in the received_pid_sts field ? b. resets the error_good#_sts bit ? c. sets the done_sts bit ? if no handshake pid is received, the debug port controller: ? a. sets the exception_sts field to 001b ? b. sets the error_good#_sts bit ? c. sets the done_sts bit 5.20.10.1.2 in transactions an in transaction receives data from the debug device. it can occur only when the following are true: ? the debug port is enabled ? the debug software sets the go_cnt bit ? the write_read#_cnt bit is reset the sequence of the transaction is: 1. software sets the appropriate values in the following bits: ? usb_address_cnf ? usb_endpoint_cnf ? token_pid_cnt[7:0] ? data_len_cnt ? write_read#_cnt (note: this will always be 0 for in transactions) ? go_cnt (note: this will always be 1 to initiate the transaction) 2. the debug port controller sends a token packet consisting of: ? sync ? token_pid_cnt field ? usb_address_cnt field ? usb_endpoint_cnt field ? 5-bit crc field. 3. after sending the token packet, the debug port controller waits for a response from the debug device. if a response is received: ? the received pid is placed into the received_pid_sts field ? any subsequent bytes are pl aced into the data_buffer ? the data_len_cnt field is updated to show the number of bytes that were received after the pid. 4. if valid packet was received from the devi ce that was one byte in length (indicating it was a handshake packet), then the debug port controller: ? resets the error_good#_sts bit ? sets the done_sts bit free datasheet http://www..net/
functional description 218 intel ? ich7 family datasheet 5. if valid packet was received from the device that was more than one byte in length (indicating it was a data packet), then the debug port controller: ? transmits an ack handshake packet ? resets the error_good#_sts bit ? sets the done_sts bit 6. if no valid packet is received, then the debug port controller: ? sets the exception_sts field to 001b ? sets the error_good#_sts bit ? sets the done_sts bit. 5.20.10.1.3 debug software enabling the debug port there are two mutually exclusive conditions that debug software must address as part of its startup processing: ? the ehci has been initialized by system software ? the ehci has not been initialized by system software debug software can determine the current ?ini tialized? state of the ehci by examining the configure flag in the ehci usb 2.0 command register. if this flag is set, then system software has initialized the ehci. ot herwise the ehci should not be considered initialized. debug software will initialize th e debug port registers depending on the state the ehci. however, before this can be accomplished, debug software must determine which root usb port is designated as the debug port. determining the debug port debug software can easily determine which usb root port has been designated as the debug port by examining bits 20:23 of the ehci host controller structural parameters register. this 4-bit field represents the numeric value assigned to the debug port (i.e., 0001=port 0). debug software startup with non-initialized ehci debug software can attempt to use the debug port if after setting the owner_cnt bit, the current connect status bit in the appropriate (see determining the debug port) portsc register is set. if the current connect status bit is not set, then debug software may choose to terminate or it may choose to wait until a device is connected. if a device is connected to the port, then debug software must reset/enable the port. debug software does this by setting and then clearing the port reset bit the portsc register. to ensure a successful reset, debug software should wait at least 50 ms before clearing the port reset bit. due to possible delays, this bit may not change to 0 immediately; reset is complete when this bi t reads as 0. software must not continue until this bit reads 0. if a high-speed device is attached, the eh ci will automatically set the port enabled/ disabled bit in the portsc register and the debug software can proceed. debug software should set the enabled_cnt bit in the debug port control/status register, and then reset (clear) the port enabled/disabled bit in the portsc register (so that the system host controller driver does not see an enabled port when it is first loaded). free datasheet http://www..net/
intel ? ich7 family datasheet 219 functional description debug software startup with initialized ehci debug software can attempt to use the debug port if the current connect status bit in the appropriate (see determining the debug port) portsc register is set. if the current connect status bit is not set, then debug software may choose to terminate or it may choose to wait until a device is connected. if a device is connected, then debug software must set the owner_cnt bit and then the enabled_cnt bit in the debug port control/status register. determining debug peripheral presence after enabling the debug port functionality, debug software can determine if a debug peripheral is attached by attempting to send data to the debug peripheral. if all attempts result in an error (exception bits in the debug port control/status register indicates a transaction error), then the attached device is not a debug peripheral. if the debug port peripheral is not present, then debug software may choose to terminate or it may choose to wait until a debug peripheral is connected. 5.21 smbus controller (d31:f3) the ich7 provides an system management bus (smbus) 2.0 host controller as well as an smbus slave interface. the host controller provides a mechanism for the processor to initiate communications with smbus peripherals (slaves). the ich7 is also capable of operating in a mode in which it can communicate with i 2 c compatible devices. the ich7 can perform smbus messages with either packet error checking (pec) enabled or disabled. the actual pec calculation and checking is performed in hardware by the ich7. the slave interface allows an external master to read from or write to the ich7. write cycles can be used to cause certain events or pass messages, and the read cycles can be used to determine the state of variou s status bits. the ich7?s internal host controller cannot access the ich7?s internal slave interface. the ich7 smbus logic exists in device 31:f unction 3 configuration space, and consists of a transmit data path, and host controller. the transmit data path provides the data flow logic needed to implement the seven different smbus command protocols and is controlled by the host controller. the ich7 smbus controller logic is clocked by rtc clock. the smbus address resolution protocol (arp) is supported by using the existing host controller commands through software, except for the new host notify command (which is actually a received message). the programming model of the host controlle r is combined into two portions: a pci configuration portion, and a system i/o mapped portion. all static configuration, such as the i/o base address, is done via the pci configuration space. real-time programming of the host interface is done in system i/o space. the ich7 smbus host controller checks for pa rity errors as a target. if an error is detected, the detected parity error bit in the pci status register (device 31:function 3:offset 06h:bit 15) is set. if bit 6 and bit 8 of the pci command register (device 31:function 3:offset 04h) are set, an serr# is generated and the signaled serr# bit in the pci status register (bit 14) is set. free datasheet http://www..net/
functional description 220 intel ? ich7 family datasheet 5.21.1 host controller the smbus host controller is used to send commands to other smbus slave devices. software sets up the host controller with an address, command, and, for writes, data and optional pec; and then tells the controller to start. when the controller has finished transmitting data on writes, or receiving data on reads, it generates an smi# or interrupt, if enabled. the host controller supports 8 command protocols of the smbus interface (see system management bus (smbus) specification, version 2.0 ): quick command, send byte, receive byte, write byte/word, read byte/w ord, process call, block read/write, block write?block read process call, and host notify. the smbus host controller requires that the various data and command fields be setup for the type of command to be sent. when software sets the start bit, the smbus host controller performs the requested transaction, and interrupts the processor (or generates an smi#) when the transaction is completed. once a start command has been issued, the values of the ?active registers? (host control, host command, transmit slave address, data 0, data 1) should not be changed or read until the interrupt status bit (intr) has been set (indicating the completion of the command). any register values needed for computation purposes should be saved prior to issuing of a new command, as the smbus host controller updates all registers while completing the new command. using the smb host controller to send commands to the ich7?s smb slave port is supported. the ich7 supports the system management bus (smbus) specification, version 2.0 . slave functionality, including the host notify protocol, is available on the smbus pins. the smlink and smbus signals sh ould not be tied together externally. 5.21.1.1 command protocols in all of the following commands, the host status register (offset 00h) is used to determine the progress of the command. wh ile the command is in operation, the host_busy bit is set. if the command completes successfully, the intr bit will be set in the host status register. if the device does not respond with an acknowledge, and the transaction times out, the dev_err bit is set. if software sets the kill bit in the host control register while the command is running, the transaction will stop and the failed bit will be set. quick command when programmed for a quick command, the transmit slave address register is sent. the pec byte is not appended to the quick protocol. software should force the pec_en bit to 0 when performing the quick command. software must force the i2c_en bit to 0 when running this command. see section 5.5.1 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. send byte / receive byte for the send byte command, the transmit slave address and device command registers are sent for the receive byte command, the transmit slave address register is sent. the data received is stored in the data0 register. so ftware must force the i2c_en bit to 0 when running this command. the receive byte is similar to a send byte, the only difference is the direction of data transfer. see sections 5.5.2 and 5.5.3 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. free datasheet http://www..net/
intel ? ich7 family datasheet 221 functional description write byte/word the first byte of a write byte/word access is the command code. the next 1 or 2 bytes are the data to be written. when programmed for a write byte/word command, the transmit slave address, device command, an d data0 registers are sent. in addition, the data1 register is sent on a write word command. software must force the i2c_en bit to 0 when running this command. see section 5.5.4 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. read byte/word reading data is slightly more complicated th an writing data. first the ich7 must write a command to the slave device. then it must follow that command with a repeated start condition to denote a read fr om that device's address. the slave then returns 1 or 2 bytes of data. software must force the i2c_en bit to 0 when running this command. when programmed for the read byte/word command, the transmit slave address and device command registers are sent. data is received into the data0 on the read byte, and the dat0 and data1 registers on the read word. see section 5.5.5 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. process call the process call is so named because a command sends data and waits for the slave to return a value dependent on that data. the pr otocol is simply a write word followed by a read word, but without a second command or stop condition. when programmed for the process call command, the ich7 transmits the transmit slave address, host command, data0 and data1 registers. data received from the device is stored in the data0 and data1 registers. the process call command with i2c_en set and the pec_en bit set produces undefined results. software must force either i2c_en or pec_en to 0 when runnin g this command. see section 5.5.6 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. note: for process call command, the value written into bit 0 of the transmit slave address register (smb i/o register, offset 04h) needs to be 0. note: if the i2c_en bit is set, the protocol sequence changes slightly: the command code (bits 18:11 in the bit sequence) are not sent - as a result, the slave will not acknowledge (bit 19 in the sequence). block read/write the ich7 contains a 32-byte buffer for read and write data which can be enabled by setting bit 1 of the auxiliary control register at offset 0dh in i/o space, as opposed to a single byte of buffering. this 32-byte buffer is filled with write data before transmission, and filled with read data on reception. in the ich7, the interrupt is generated only after a transmission or recept ion of 32 bytes, or when the entire byte count has been transmitted/received. the byte count field is transmitted but ignored by the ich7 as software will end the transfer after all bytes it cares about have been sent or received. for a block write, software must either force the i2c_en bit or both the pec_en and aac bits to 0 when running this command. free datasheet http://www..net/
functional description 222 intel ? ich7 family datasheet the block write begins with a slave address and a write condition. after the command code the ich7 issues a byte count describing how many more bytes will follow in the message. if a slave had 20 bytes to send, th e first byte would be the number 20 (14h), followed by 20 bytes of data. the byte count may not be 0. a block read or write is allowed to transfer a maximum of 32 data bytes. when programmed for a block write command, the transmit slave address, device command, and data0 (count) registers are sent. data is then sent from the block data byte register; the total data sent being the value stored in the data0 register. on block read commands, the first byte received is stored in the data0 register, and the remaining bytes are stored in the block data byte register. see section 5.5.7 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. note: for block write, if the i2c_en bit is set, the format of the command changes slightly. the ich7 will still send the number of bytes (on writes) or receive the number of bytes (on reads) indicated in the data0 register. however, it will not send the contents of the data0 register as part of the message. also, the block write protocol sequence changes slightly: the byte count (bits 27:20 in the bit sequence) are not sent - as a result, the slave will not acknowledge (bit 28 in the sequence). i 2 c read this command allows the ich7 to perform block reads to certain i 2 c devices, such as serial e 2 proms. the smbus block read supports the 7-bit addressing mode only. however, this does not allow access to devices using the i 2 c ?combined format? that has data bytes after the address. typically these data bytes correspond to an offset (address) within the serial memory chips. note: this command is supported independent of the setting of the i2c_en bit. the i 2 c read command with the pec_en bit set produces undefined results. software must force both the pec_en and aac bit to 0 when running this command. for i 2 c read command, the value written into bit 0 of the transmit slave address register (smb i/o register, offset 04h) needs to be 0. free datasheet http://www..net/
intel ? ich7 family datasheet 223 functional description the format that is used for the command is shown in table 5-50 . the ich7 will continue reading data from the peripheral until the nak is received. block write?block read process call the block write-block read process call is a two-part message. the call begins with a slave address and a write condition. after the command code the host issues a write byte count (m) that describes how many more bytes will be written in the first part of the message. if a master has 6 bytes to send, the byte count field will have the value 6 (0000 0110b), followed by the 6 bytes of data. the write byte count (m) cannot be 0. the second part of the message is a block of read data beginning with a repeated start condition followed by the slave address and a re ad bit. the next byte is the read byte count (n), which may differ from the write byte count (m). the read byte count (n) cannot be 0. the combined data payload must not exceed 32 bytes. the byte leng th restrictions of this process call are summarized as follows: ? m 1 byte ? n 1 byte ? m + n 32 bytes the read byte count does not include the pe c byte. the pec is computed on the total message beginning with the first slav e address and using the normal pec computational rules. it is highly recommende d that a pec byte be used with the block write-block read process call. software mu st do a read to the command register (offset 2h) to reset the 32 byte buffer pointe r prior to reading the block data register. table 5-50. i 2 c block read bit description 1 start 8:2 slave address ? 7 bits 9 write 10 acknowledge from slave 18:11 send data1 register 19 acknowledge from slave 20 repeated start 27:21 slave address ? 7 bits 28 read 29 acknowledge from slave 37:30 data byte 1 from slave ? 8 bits 38 acknowledge 46:39 data byte 2 from slave ? 8 bits 47 acknowledge ? data bytes from slave / acknowledge ? data byte n from slave ? 8 bits ? not acknowledge ? stop free datasheet http://www..net/
functional description 224 intel ? ich7 family datasheet note that there is no stop condition before the repeated start condition, and that a nack signifies the end of the read transfer. note: e32b bit in the auxiliary control register must be set when using this protocol. see section 5.5.8 of the system management bus (smbus) specification, version 2.0 for the format of the protocol. 5.21.2 bus arbitration several masters may attempt to get on the bus at the same time by driving the smbdata line low to signal a start condition. the ich7 continuously monitors the smbdata line. when the ich7 is attempting to drive the bus to a 1 by letting go of the smbdata line, and it samples smbdata low, th en some other master is driving the bus and the ich7 will stop transferring data. if the ich7 sees that it has lost arbitratio n, the condition is called a collision. the ich7 will set the bus_err bit in the host status register, and if enabled, generate an interrupt or smi#. the processor is resp onsible for restarting the transaction. when the ich7 is a smbus master, it drives the clock. when the ich7 is sending address or command as an smbus master, or data bytes as a master on writes, it drives data relative to the clock it is also driving. it will not start toggling the clock until the start or stop condition meets proper setup and hold time. the ich7 will also provide minimum time between smbus transactions as a master. note: the ich7 supports the same arbitration protocol for both the smbus and the system management (smlink) interfaces. 5.21.3 bus timing 5.21.3.1 clock stretching some devices may not be able to handle thei r clock toggling at the rate that the ich7 as an smbus master would like. they have the capability of stretching the low time of the clock. when the ich7 attempts to releas e the clock (allowing the clock to go high), the clock will remain low for an extended period of time. the ich7 monitors the smbus clock line after it releases the bus to determine whether to enable the counter for the high time of the clock. while the bus is still low, the high time counter must not be enabled. simila rly, the low period of the clock can be stretched by an smbus master if it is not ready to send or receive data. 5.21.3.2 bus time out (intel ? ich7 as smbus master) if there is an error in the transaction, such that an smbus device does not signal an acknowledge, or holds the clock lower than the allowed time-out time, the transaction will time out. the ich7 will discard the cy cle and set the dev_err bit. the time out minimum is 25 ms (800 rtc clocks). the time-out counter inside the ich7 will start after the last bit of data is transferred by the ich7 and it is waiting for a response. the 25 ms timeout counter will not co unt under the following conditions: 1. byte_done_status bit (smbus i/o offset 00h, bit 7) is set 2. the second_to_sts bit (tco i/o offset 06h, bit 1) is not set (this indicates that the system has not locked up). free datasheet http://www..net/
intel ? ich7 family datasheet 225 functional description 5.21.4 interrupts / smi# the ich7 smbus controller uses pirqb# as it s interrupt pin. however, the system can alternatively be set up to generate smi# instead of an interrupt, by setting the smbus_smi_en bit (device 31:function 0:offset 40h:bit 1). table 5-52 and table 5-53 specify how the various enable bits in the smbus function control the generation of the interrupt, host and slave smi, and wake internal signals. the rows in the tables are additive, which mean s that if more than one row is true for a particular scenario then the results for all of the activated rows will occur. table 5-51. enable for smbalert# event intren (host control i/o register, offset 02h, bit 0) smb_smi_en (host configuration register, d31:f3:offset 40h, bit 1) smbalert_dis (slave command i/o register, offset 11h, bit 2) result smbalert# asserted low (always reported in host status register, bit 5) x x x wake generated x 1 0 slave smi# generated (smbus_smi_sts) 1 0 0 interrupt generated table 5-52. enables for smbus slave write and smbus host events event intren (host control i/o register, offset 02h, bit 0) smb_smi_en (host configuration register, d31:f3:offset 40h, bit1) event slave write to wake/smi# command x x wake generated when asleep. slave smi# generated when awake (smbus_smi_sts). slave write to smlink_slave_s mi command x x slave smi# generated when in the s0 state (smbus_smi_sts) any combination of host status register [4:1] asserted 0 x none 1 0 interrupt generated 1 1 host smi# generated free datasheet http://www..net/
functional description 226 intel ? ich7 family datasheet 5.21.5 smbalert# smbalert# is multiplexed with gpio11. when enable and the signal is asserted, the ich7 can generate an interrupt, an smi#, or a wake event from s1 ? s5. note: any event on smbalert# (regardless whether it is programmed as a gpi or not), causes the event message to be sent in heartbeat mode. 5.21.6 smbus crc gene ration and checking if the aac bit is set in the auxiliary control register, the ich7 automatically calculates and drives crc at the end of the transmitte d packet for write cycles, and will check the crc for read cycles. it will not transmit the contents of the pec register for crc. the pec bit must not be set in the host control re gister if this bit is set, or unspecified behavior will result. if the read cycle results in a crc error, the dev_err bit and the crce bit in the auxiliary status register at offset 0ch will be set. 5.21.7 smbus slave interface the ich7?s smbus slave interface is accesse d via the smbus. the smbus slave logic will not generate or handle receiving the pec by te and will only act as a legacy alerting protocol device. the slave interface allows the ich7 to decode cycles, and allows an external microcontroller to perform specif ic actions. key features and capabilities include: ? supports decode of three types of messages: byte write, byte read, and host notify. ? receive slave address register: this is the address that the ich7 decodes. a default value is provided so that the slave interface can be used without the processor having to program this register. ? receive slave data register in the smbus i/o space that includes the data written by the external microcontroller. ? registers that the external microcontrolle r can read to get the state of the ich7. ? status bits to indicate that the smbus sl ave logic caused an interrupt or smi# due to the reception of a message that matched the slave address. ? bit 0 of the slave status register for the host notify command ? bit 16 of the smi status register ( section 10.8.3.13 ) for all others table 5-53. enables for the host notify command host_notify_intre n (slave control i/o register, offset 11h, bit 0) smb_smi_en (host config register, d31:f3:off40h, bit 1) host_notify_wken (slave control i/o register, offset 11h, bit 1) result 0 x 0 none x x 1 wake generated 1 0 x interrupt generated 1 1 x slave smi# generated (smbus_smi_sts) free datasheet http://www..net/
intel ? ich7 family datasheet 227 functional description note: the external microcontroller should not atte mpt to access the ich7?s smbus slave logic until either: ? 800 milliseconds after both: rtest# is high and rsmrst# is high, or ? the pltrst# de-asserts the 800 ms case is based on the scenario where the rtc battery is dead or missing such that the rtc power well comes up simult aneously with suspend well. in this case, the rtc clock may take a while to stabilize. the ich7 uses the rtc clock to extend the internal rsmrst# by ~100 ms. therefore, if th e clock is slow to toggle, this time could be extended. 800 ms is assumed to be sufficient guardband for this. if a master leaves the clock and data bits of the smbus interface at 1 for 50 s or more in the middle of a cycle, the ich7 slave logic' s behavior is undefined. this is interpreted as an unexpected idle and should be avoided when performing management activities to the slave logic. note: when an external microcontroller accesses the smbus slave interface over the smbus a translation in the address is needed to a ccommodate the least significant bit used for read/write control. for example, if the ich7 slave address (rcv_slva) is left at 44h (default), the external micro controller woul d use an address of 88h/89h (write/read). 5.21.7.1 format of slave write cycle the external master performs byte write co mmands to the ich7 smbus slave i/f. the ?command? field (bits 11 : 18) indicate which register is being accessed. the data field (bits 20 : 27) indicate the value that should be written to that register. note: if the ich7 is sent a ?hard reset without cycling? command on smbus while the system is in s4 or s5, the reset command will no t be executed until the next wake event. smbus write commands sent after the hard reset without cycling command and before the wake event will be naked by the ic h7. this also applies to any smbus wake commands sent after a hard reset without cycling command, such that the smbus wake command will not cause the system to wake. any smbus read that is accepted by the ich7 will complete normally. intel ? active management technology is not impacted as intel amt does not use the hard reset without cycling command while the system is in s4 or s5. table 5-54 has the values associated with the registers. note: the external microcontroller is responsible to make sure th at it does not update the contents of the data byte registers until they have been read by the system processor. the ich7 overwrites the old value with any new value received. a race condition is possible where the new value is being written to the regist er just at the time it is being read. ich7 will not attempt to cover this race condition (i.e., unpredictable results in this case). table 5-54. slave write registers register function 0 command register. see table 5-55 below for legal values written to this register. 1?3 reserved 4 data message byte 0 5 data message byte 1 6?7 reserved 8 reserved 9?ffh reserved free datasheet http://www..net/
functional description 228 intel ? ich7 family datasheet . table 5-55. command types command type description 0 reserved 1 wake/smi#. this command wakes the system if it is not already awake. if system is already awake, an smi# is generated. note: the smb_wak_sts bit will be set by this command, even if the system is already awake. the smi handler should then clear this bit. 2 unconditional powerdown. this command sets the pwrbtnor_sts bit, and has the same effect as the po werbutton override occurring. 3 hard reset without cycling: this command causes a hard reset of the system (does not include cycling of the power supply). this is equivalent to a write to the cf9h register with bits 2:1 set to 1, but bit 3 set to 0. 4 hard reset system. this command causes a hard reset of the system (including cycling of the power supply). th is is equivalent to a write to the cf9h register with bits 3:1 set to 1. 5 disable the tco messages. this command will disable the intel ? ich7 from sending heartbeat and event messages (as described in section 5.15.2 ). once this command has been executed, heartbeat an d event message reporting can only be re-enabled by assertion and deas sertion of the rsmrst# signal. 6 wd reload: reload watchdog timer. 7 reserved 8 smlink_slv_smi. when ich7 detects this command type while in the s0 state, it sets the smlink_slv_smi_sts bit (see section 10.9.5 ). this command should only be used if the system is in an s0 state. if the me ssage is received during s1? s5 states, the ich7 acknowledges it, bu t the smlink_slv_smi_sts bit does not get set. note: it is possible that the system transitions out of the s0 state at the same time that the smlink_slv_smi command is received. in this case, the smlink_slv_smi_sts bit may get set but no t serviced before th e system goes to sleep. once the system returns to s0, the smi associated with this bit would then be generated. software must be able to handle this scenario. 9?ffh reserved free datasheet http://www..net/
intel ? ich7 family datasheet 229 functional description 5.21.7.2 format of read command the external master performs byte read commands to the ich7 smbus slave i/f. the ?command? field (bits 18 : 11) indicate which register is being accessed. the data field (bits 30 : 37) contain the value that should be read from that register. table table 5-56 shows the read cycle format. table 5-57 shows the register mapping for the data byte. table 5-56. read cycle format bit description driven by comment 1 start external microcontroller 8:2 slave address - 7 bits external microcontroller must match value in receive slave address register 9 write external microcontroller always 0 10 ack intel ? ich7 18:11 command code - 8 bits external microcontroller indicates which register is being accessed see table 5-57 19 ack ich7 20 repeated start exter nal microcontroller 27:21 slave address - 7 bits external microcontroller must match value in receive slave address register 28 read external microcontroller always 1 29 ack ich7 37:30 datay byte ich7 value depends on register being accessed. see table 5-57 38 not ack external microcontroller 39 stop external microcontroller table 5-57. data values for slave read registers register bits description 0 7:0 reserved 1 2:0 system power state 000 = s0 001 = s1 010 = reserved 011 = s3 100 = s4 101 = s5 110 = reserved 111 = reserved 1 7:3 reserved 2 3:0 frequency strap register 2 7:4 reserved 3 5:0 watchdog timer current value 3 7:6 reserved free datasheet http://www..net/
functional description 230 intel ? ich7 family datasheet 5.21.7.2.1 behavioral notes according to smbus protocol, read and write messages always begin with a start bit ? address ? write bit sequence. when the ich7 detects that the address matches the value in the receive slave address register, it will assume that the protocol is always followed and ignore the write bit (bit 9) and signal an acknowledge during bit 10. in 4 0 1 = the intruder detect (intrd_det) bit is set. this indicates that the system cover has probably been opened. 4 1 1 = bti temperature event occurred. this bit will be set if the intel ? ich7?s thrm# input signal is active. need to take after polarity control. 4 2 boot-status. this bit will be 1 when the processor does not fetch the first instruction. 4 3 this bit will be set after the tco timer times out a second time (both timeout and second_to_sts bits set). 4 6:4 reserved 4 7 the bit will reflect the state of the gpi11/smbalert# signal, and will depend on the gp_inv11 bit. it does not matter if the pin is configured as gpi11 or smbalert#. ? if the gp_inv11 bit is 1, the value of register 4 bit 7 will equal the level of the gpi11/smbalert# pin (high = 1, low = 0). ? if the gp_inv11 bit is 0, the value of register 4 bit 7 will equal the inverse of the level of the gpi11/ smbalert# pin (high = 1, low = 0). 5 0 unprogrammed flash bios bit. this bi t will be 1 to indicate that the first bios fetch returned ffh, that indicates that the flash bios is probably blank. 5 1 reserved (desktop only) battery low status (mobile/ultra mobile only). 1 if batlow# is ?0? 5 2 processor power failure status. 1 if the cpupwr_flr bit in the gen_pmcon_2 register is set. 5 3 init# due to receiving shutdown message. this event is visible from the reception of the shutdown message until a platform reset is done. events on signal will not create an event message. 5 4 lt range: lt reset indication. even ts on signal will not create an event message. 5 5 power_ok_bad: indicates the failure core power well ramp during boot/resume. this bit will be active if the slp_s3# pin is de- asserted and pwrok pi n is not asserted. 5 6 thermal trip: this bit will shadow the state of cpu thermal trip status bit (cts). events on signal will not create an event message. 5 7 reserved 6 7:0 contents of the message 1 register. 7 7:0 contents of the message 2 register. 8 7:0 contents of the wdstatus register. 9-ffh 7:0 reserved table 5-57. data values for slave read registers register bits description free datasheet http://www..net/
intel ? ich7 family datasheet 231 functional description other words, if a start ? address ? read occurs (which is inva lid for smbus read or write protocol), and the address matches the ich7 ?s slave address, the ich7 will still grab the cycle. also according to smbus protocol, a read cycle contains a repeated start ? address ? read sequence beginning at bit 20. once again, if the address matches the ich7?s receive slave address, it will assume that th e protocol is followed, ignore bit 28, and proceed with the slave read cycle. note: an external microcontroller must not attempt to access the ich7?s smbus slave logic until at least 1 second after both rtcrst# and rsmrst# are deasserted (high). 5.21.7.3 format of host notify command the ich7 tracks and responds to the standard host notify command as specified in the system management bus (smbus) specification, version 2.0. the host address for this command is fixed to 0001000b. if the ich7 already has data for a previously-received host notify command which has not been serviced yet by the host software (as indicated by the host_notify_sts bit), then it will nack following the host address byte of the protocol. this allows the host to communicate non-acceptance to the master and retain the host notify address and data values for the previous cycle until host software completely services the interrupt. note: host software must always clear the host_notify_sts bit after completing any necessary reads of the address and data registers. table 5-58 shows the host notify format. table 5-58. host notify format bit description driven by comment 1 start external master 8:2 smb host address ? 7 bits external master always 0001_000 9 write external master always 0 10 ack (or nack) intel ? ich7 ich7 nacks if host_notify_sts is 1 17:11 device address ? 7 bits external master indicates the address of the master; loaded into the notify device address register 18 unused ? always 0 external master 7-bit-only address; this bit is inserted to complete the byte 19 ack ich7 27:20 data byte low ? 8 bits external master loaded into the notify data low byte register 28 ack ich7 36:29 data byte high ? 8 bits external master loaded into the notify data high byte register 37 ack ich7 38 stop external master free datasheet http://www..net/
functional description 232 intel ? ich7 family datasheet 5.22 ac ?97 controller (audio d30:f2, modem d30:f3) (desktop and mobile only) note: all references to ac ?97 in this document refer to the ac ?97 specification , version 2.3. for further information on the operation of the ac-link protocol, see the ac ?97 specification , version 2.3. the ich7 ac ?97 controller features include: ? independent pci functions for audio and modem. ? independent bus master logic for dual microphone input, dual pcm audio input (2- channel stereo per input), pcm audio output (2-, 4- or 6-channel audio), modem input, modem output and s/pdif output. ? 20-bit sample resolution ? multiple sample rates up to 48 khz ? support for 16 codec-implemented gpios ? single modem line ? configure up to three code cs with three acz_sdin pins table 5-59 shows a detailed list of features supported by the ich7 ac ?97 digital controller . table 5-59. features supported by intel ? ich7 (sheet 1 of 2) feature description system interface ? isochronous low latency bus master memory interface ? scatter/gather support for wo rd-aligned buffers in memory (all mono or stereo 20-bit and 16-bit data types are supported, no 8-bit data types are supported) ? data buffer size in system memory from 3 to 65535 samples per input ? data buffer size in system memory from 0 to 65535 samples per output ? independent pci audio and modem functions with configuration and i/o spaces ? ac ?97 codec registers are shadowed in system memory via driver ? ac ?97 codec register accesses are serialized via semaphore bit in pci i/o space (new accesses are not allowed while a prior access is still in progress) power management ? power management via pci power management pci audio function ? read/write access to audio codec registers 00h?3ah and vendor registers 5ah?7eh ? 20-bit stereo pcm output, up to 48 khz (l,r, center, sub-woofer, l-rear and r-rear channels on slot s 3,4,6,7,8,9,10,11) ? 16-bit stereo pcm input, up to 48 khz (l,r channels on slots 3,4) ? 16-bit mono mic in w/ or w/o mono mix, up to 48 khz (l,r channel, slots 3,4) (mono mix supports mono hardware aec reference for speakerphone) ? 16-bit mono pcm input, up to 48 khz from dedicated mic adc (slot 6) (supports speech recognition or stereo hardware aec ref for speakerphone) ? during cold reset acz_rst# is held low unt il after post and software deassertion of acz_rst# (supports passive pc_beep to speaker connection during post) pci modem function ? read/write access to modem codec registers 3ch?58h and vendor registers 5ah?7eh ? 16-bit mono modem line 1 output and input, up to 48 khz (slot 5) ? low latency gpio[15:0] via hardwired update between slot 12 and pci i/o register ? programmable pci interrupt on modem gp io input changes via slot 12 gpio_int ? sci event generation on acz_sdin[2:0] wake-up signal free datasheet http://www..net/
intel ? ich7 family datasheet 233 functional description note: throughout this document, references to d31: f5 indicate that the audio function exists in pci device 31, function 5. references to d31:f6 indicate that the modem function exists in pci device 31, function 6. note: throughout this document references to tert iary, third, or triple codecs refer to the third codec in the system connected to the acz_sdin2 pin. the ac ?97 specification , version 2.3 refers to non-primary codecs as multiple secondary codecs. to avoid confusion and excess verbiage, this datasheet re fers to it as the third or tertiary codec. ac-link ? ac ?97 2.3 ac-link interface ? variable sample rate output support via ac ?97 slotreq protocol (slots 3,4,5,6,7,8,9,10,11) ? variable sample rate input support via monito ring of slot valid tag bits (slots 3,4,5,6) ? 3.3 v digital operation meets ac ?97 2.3 dc switching levels ? ac-link i/o driver capability meets ac ?97 2.3 triple co dec specifications ? codec register status reads must be returned with data in the next ac-link frame, per ac ?97 specification, version 2.3. multiple codec ? triple codec addressing: all ac ?97 audio codec register accesses are addressable to codec id 00 (primary), codec id 01 (s econdary), or codec id 10 (tertiary). ? modem codec addressing: all ac ?97 modem codec register accesses are addressable to codec id 00 (primary) or codec id 01 (secondary). ? triple codec receive capability via acz_sdin[2:0] pins (acz_sdin[2:0] frames are internally vali dated, synchronized, and or?d depending on the steer enable bit status in the sdm register) ? acz_sdin mapping to dma engine mapping capability allows for simultaneous input from two different audio codecs. notes: 1. audio codec ids are remappabl e and not limited to 00,01,10. 2. modem codec ids are remappa ble and limited to 00, 01. 3. when using multiple codecs, the modem codec must be id 01. figure 5-12. intel ? ich7-based audio codec ?97 specification, version 2.3 table 5-59. features supported by intel ? ich7 (sheet 2 of 2) feature description a udio in (record) a udio out (6 channel playback) pc mic.2 s/pdif* output mic.1 modem free datasheet http://www..net/
functional description 234 intel ? ich7 family datasheet 5.22.1 pci power management this power management section applies for all ac ?97 controller functions. after a power management event is detected, the ac ?97 controller wakes the host system. the following sections describe these events and the ac ?97 controller power states. device power states the ac ?97 controller supports d0 and d3 pci power management states. the following are notes regarding the ac ?97 controller implementation of the device states: 1. the ac ?97 controller hardware does not inherently consume any more power when it is in the d0 state than it does in d3 state. however, software can halt the dma engine prior to entering these low power states such that the maximum power consumption is reduced. 2. in the d0 state, all implemented ac ?97 controller features are enabled. 3. in d3 state, accesses to the ac ?97 co ntroller memory-mapped or i/o range results in master abort. 4. in d3 state, the ac ?97 controller interrupt will not assert for any reason. the internal pme# signal is used to signal wake events, etc. 5. when the device power state field is written from d3 hot to d0, an internal reset is generated. see section 17.1 for general rules on the effects of this reset. 6. ac97 sts bit is set only when the audi o or modem resume events were detected and their respective pme enable bits were set. 7. gpio status change interrupt no longer has a direct path to the ac97 sts bit. this causes a wake up event only if the modem controller was in d3 8. resume events on acz_sdin[2:0] cause resume interrupt status bits to be set only if their respective controllers are not in d3. 9. edge detect logic prevents the interrupts from being asserted in case the ac97 controller is switched from d3 to d0 after a wake event. 10. once the interrupt status bits are set, they will cause pirqb# if their respective enable bits were set. one of the audio or the modem drivers will handle the interrupt. 5.22.2 ac-link overview the ich7 is an ac ?97 2.3 controller that communicates with companion codecs via a digital serial link called the ac-link. all digital audio/modem streams and command/ status information is communicated over the ac-link. the ac-link is a bi-directional, serial pcm digital stream. it handles multiple input and output data streams, as well as control register accesses, employing a time division multiplexed (tdm) scheme. the ac-link architec ture provides for data transfer through individual frames transmitted in a serial fashion. each frame is divided into 12 outgoing and 12 incoming data streams, or slots. th e architecture of the ich7 ac-link allows a maximum of three codecs to be connected. figure 5-13 shows a three codec topology of the ac-link for the ich7. the ac-link consists of a five signal interface between the ich7 and codec(s). note: the ich7?s ac ?97 controller shares the signal interface with the intel high definition audio controller. however, only one controller may be enabled at a time. free datasheet http://www..net/
intel ? ich7 family datasheet 235 functional description ich7 core well outputs may be used as stra pping options for the ich7, sampled during system reset. these signals may have weak pullups/pulldowns; however, this will not interfere with link operation. ich7 inputs in tegrate weak pulldowns to prevent floating traces when a secondary and/or tertiary codec is not attached. when the shut off bit in the control register is set, all buffers will be turned off and the pins will be held in a steady state, based on these pullups/pulldowns. acz_bit_clk is fixed at 12.288 mhz and is sourced by the primary codec. it provides the necessary clocking to support the twelve 20-bit time slots. ac-link serial data is transitioned on each rising edge of acz_bi t_clk. the receiver of ac-link data samples each serial bit on the fa lling edge of acz_bit_clk. if acz_bit_clk makes no transitions for four consecutive pci clocks, the ich7 assumes the primary codec is not present or not working. it sets bit 28 of the global status register (i/o offset 30h). all accesses to codec register s with this bit set will return data of ffh to prevent system hangs. figure 5-13. ac ?97 2.3 controller-codec connection intel ? ich7 primary codec ac / mc / amc ac97 ich codec conn acz_sdin2 acz_sdin1 acz_rst# acz_sdout acz_sync acz_bit_clk secondary codec ac / mc / amc tertiary codec ac / mc / amc acz_sdin0 free datasheet http://www..net/
functional description 236 intel ? ich7 family datasheet synchronization of all ac-link data transactio ns is signaled by the ac ?97 controller via the acz_sync signal, as shown in figure 5-14 . the primary codec drives the serial bit clock onto the ac-link, which the ac ?97 co ntroller then qualifies with the acz_sync signal to construct data frames. acz_sync, fixed at 48 khz, is derived by dividing down acz_bit_clk. acz_sync remains high for a total duration of 16 acz_bit_clk at the beginning of each frame. the portio n of the frame where acz_sync is high is defined as the tag phase. the remainder of the frame where acz_sync is low is defined as the data phase. each data bit is sampled on the falling edge of acz_bit_clk. the ich7 has three acz_sdin pins allo wing a single, dual, or triple codec configuration. when multiple codecs are connected, the primary, secondary, and tertiary codecs can be connected to any ac z_sdin line. the ich7 does not distinguish between codecs on its acz_sdin[2:0] pins, however the registers do distinguish between acz_sdin[0], acz_sdin [1], and acz_sdin[2] for wake events, etc. if using a modem codec it is recommended to connect it to acz_sdin1. the ich7 does not support optional test modes as outlined in the ac ?97 specification, version 2.3. 5.22.2.1 register access in the ich7 implementation of the ac-link, up to three codecs can be connected to the sdout pin. the following mechanism is used to address the primary, secondary, and tertiary codecs individually. the primary device uses bit 19 of slot 1 as the direction bit to specify read or write. bits [18:12] of slot 1 are used for the register index. for i/o writes to the primary codec, the valid bits [14:13] for slots 1 and 2 must be set in slot 0, as shown in table 5-60 . slot 1 is used to transmit the register address, and slot 2 is used to transmit data. for i/o reads to the primary codec, only slot 1 should be valid since only an address is transmitted. for i/o reads only slot 1 valid bit is set, while for i/o writes both slots 1 and 2 valid bits are set. the secondary and tertiary codec registers are accessed using slots 1 and 2 as described above, however the slot valid bits for slots 1 and 2 are marked invalid in slot 0 and the codec id bits [1:0] (bit 0 and bit 1 of slot 0) is set to a non-zero value. this allows the secondary or tertiary codec to monitor the slot valid bits of slots 1 and 2, and bits [1:0] of slot 0 to determine if the access is directed to the secondary or tertiary codec. if the register access is targeted to the secondary or tertiary codec, slot 1 and 2 will contain the address and data for the register access. since slots 1 and 2 are marked invalid, the primary codec will ignore these accesses. figure 5-14. ac-link protocol sync bit_clk sdin slot ( 1 ) time slot "valid" bits 20.8us (48 khz) slot 1 slot 2 0 19 0 19 0 19 0 slot 3 slot 12 81.4 ns 12.288 mhz slot ( 2 ) "0" "0" "0" slot ( 12 ) ("1" = time slot contains valid pcm 19 codec ready end of previous audio frame tag phase data phase free datasheet http://www..net/
intel ? ich7 family datasheet 237 functional description when accessing the codec registers, only one i/o cycle can be pending across the ac- link at any time. the ich7 implements write posting on i/o writes across the ac-link (i.e., writes across the link are indicated as complete before they are actually sent across the link). in order to prevent a second i/o write from occurring before the first one is complete, software must monitor the cas bit in the codec access semaphore register which indicates that a codec access is pending. once the cas bit is cleared, then another codec access (read or write) can go through. the exception to this being reads to offset 54h/d4h/154h (slot 12) which are returned immediately with the most recently received slot 12 data. writes to offset 54h, d4h, and 154h (primary, secondary and tertiary codecs), get transmitted across the ac-link in slots 1 and 2 as a normal register access. slot 12 is also updated im mediately to reflect the data being written. the controller does not issue back to back reads. it must get a response to the first read before issuing a second. in addition, codec reads and writes are only executed once across the link, and are not repeated. 5.22.3 ac-link low power mode the ac-link signals can be placed in a low-power mode. when the ac ?97 powerdown register (26h), is programmed to the appropriate value, both acz_bit_clk and acz_sdin will be brought to, and held at a logic low voltage level. table 5-60. output tag slot 0 bit primary access example secondary access example description 15 1 1 frame valid 14 1 0 slot 1 valid, command a ddress bit (primary codec only) 13 1 0 slot 2 valid, command da ta bit (primary codec only) 12: 3 x x slot 3?12 valid 2 0 0 reserved 1:0 00 01 codec id (00 reserved for primary; 01 indicate secondary; 10 indicate tertiary) figure 5-15. ac-link powerdown timing sdout tag sync bit_clk write to 0x20 data pr4 slot 12 prev. frame tag slot 12 prev. frame sdin note: bit_clk not to scale free datasheet http://www..net/
functional description 238 intel ? ich7 family datasheet acz_bit_clk and acz_sdin transition low immediately after a write to the powerdown register (26h) with pr4 enabled. wh en the ac ?97 controller driver is at the point where it is ready to program the ac-link into its low-power mode, slots 1 and 2 are assumed to be the only valid stream in the audio output frame. the ac ?97 controller also drives acz_sync, and acz_sdout low after programming ac ?97 to this low power, halted mode once the codec has been instructed to halt , acz_bit_clk, a special wake up protocol must be used to bring the ac-link to the active mode since normal output and input frames can not be communicated in the abse nce of acz_bit_clk. once in a low-power mode, the ich7 provides three methods for waking up the ac-link; external wake event, cold reset and warm reset. note: before entering any low-power mode where the link interface to the codec is expected to be powered down while the rest of the system is awake, the software must set the ?shut off? bit in the control register. 5.22.3.1 external wake event codecs can signal the controller to wake the ac-link, and wake the system using acz_sdin. the minimum acz_sdin wake up pulse width is 1 us. the rising edge of acz_sdin0, acz_sdin1 or acz_sdin2 causes the ich7 to sequence through an ac-link warm reset and set the ac97_sts bit in the gpe0_sts register to wake the system. the primary codec must wait to sample acz_sync high and low before restarting acz_bit_clk as diagrammed in figure 5-16 . the codec that signaled the wake event must keep its acz_sdin high until it ha s sampled acz_sync having gone high, and then low. the ac-link protocol provides for a cold rese t and a warm reset. the type of reset used depends on the system?s current power down state. unless a cold or register reset (a write to the reset register in the codec) is performed, wherein the ac ?97 codec registers are initialized to their default values, registers are required to keep state during all power down modes. once powered down, activation of the ac-link via re-assertion of the acz_sync signal must not occur for a minimum of four audio frame times following the frame in which the power down was triggered. when ac-link powers up, it indicates readiness via the codec ready bit. figure 5-16. sdin wake signaling sdout tag sync bit_clk write to 0x20 data pr4 slot 12 prev. frame tag slot 12 prev. frame sdin tag slot 1 slot 2 power down frame wake event sleep state new audio frame tag slot 1 slot 2 free datasheet http://www..net/
intel ? ich7 family datasheet 239 functional description 5.22.4 ac ?97 cold reset a cold reset is achieved by asserting acz_ rst# for 1 s. by driving acz_rst# low, acz_bit_clk, and acz_sdout will be acti vated and all codec registers will be initialized to their default power on reset va lues. acz_rst# is an asynchronous ac ?97 input to the codec. 5.22.5 ac ?97 warm reset a warm reset re-activates the ac-link without altering the current codec register values. a warm reset is signaled by drivin g acz_sync high for a minimum of 1 s in the absence of acz_bit_clk. within normal frames, acz_sync is a synchr onous ac ?97 input to the codec. however, in the absence of acz_bit_clk, acz_sync is treated as an asynchronous input to the codec used in the generation of a warm reset. the codec must not respond with the activa tion of acz_bit_clk until acz_sync has been sampled low again by the codec. this prevents the false detection of a new frame. note: on receipt of wake up signaling from the codec, the digital controller issues an interrupt if enabled. software then has to issue a warm or cold reset to th e codec by setting the appropriate bit in the global control register. 5.22.6 hardware assist to dete rmine acz_sdin used per codec software first performs a read to one of th e audio codecs. the read request goes out on acz_sdout. since the ich7 allows one read to be performed at a time on the link, eventually the read data will come back in on one of the acz_sdin[2:0] lines. the codec does this by indicating that status data is valid in its tag, then echoes the read address in slot 1 followed by the read data in slot 2. the new function of the ich7 hardware is to notice which acz_sdin line contains the read return data, and to set new bits in the new register indicating which acz_sdin line the register read data returned on. if it returned on acz_sdin[0], bits [1:0] contain the value 00. if it re turned on acz_sdin[1], the bits contain the value 01, etc. ich7 hardware can set these bits every time register read data is returned from a function 5 read. no special command is necessary to cause the bits to be set. the new driver/bios software reads the bits from this register when it cares to, and can ignore it otherwise. when software is attemp ting to establish the codec-to-acz_sdin mapping, it will single feed the read request and not pipeline to ensure it gets the right mapping, we cannot ensure the serialization of the access. free datasheet http://www..net/
functional description 240 intel ? ich7 family datasheet 5.23 intel ? high definition audio overview the ich7?s intel high definition audio controller shares pins with the ac ?97 controller. however, only one controller may be enabled at a time. note: the ich7-u ultra mobile component does not contain an ac ?97 controller. the ich7?s controller communicates with the external codec(s) over the intel high definition audio serial link. the controller consists of a set of dma engines that are used to move samples of digitally enco ded data between system memory and an external codec(s). the ich7 implements four output dma engines and 4 input dma engines. the output dma engines move digi tal data from system memory to a d-a converter in a codec. ich7 implements a single serial data output signal (acz_sdout) that is connected to all exte rnal codecs. the input dma engines move digital data from the a-d converter in the codec to system memory. the ich7 implements three serial digital input sign als (acz_sdi[2:0]) supporting up to three codecs. audio software renders outbound and processes inbound data to/from buffers in system memory. the location of individual buffers is described by a buffer descriptor list (bdl) that is fetched and processed by the controller. the data in the buffers is arranged in a predefined format. the output dma engines fetch the digital data from memory and reformat it based on the programmed sample rate, bit/sample and number of channels. the data from the ou tput dma engines is then combined and serially sent to the external codecs over th e intel high definition audio link. the input dma engines receive data from the codecs over the intel high definition audio link and format the data based on the programmable attributes for that stream. the data is then written to memory in the predefined format for software to process. each dma engine moves one stream of data. a single codec can accept or generate multiple streams of data, one for each a-d or d-a converter in the codec. multiple codecs can accept the same output stream processed by a single dma engine. codec commands and responses are also tran sported to and from the codecs via dma engines. 5.23.1 intel ? high definition audio docking (mobile only) 5.23.1.1 dock sequence note that this sequence is followed when the system is running and a docking event occurs. 1. since the ich7 supports docking, the do cking supported (dcksts. ds) bit defaults to a 1. post bios and acpi bios software uses this bit to determine if the hd audio controller supports docking. bios may write a 0 to this rwo bit during post to effectively turn off the docking feature. 2. after reset in the undocked quiescent stat e, the dock attach (dckctl.da) bit and the dock mate (dcksts.dm) bit are both de-asserted. the az_dock_en# signal is de-asserted and az_dock_rst# is assert ed. bclk, sync and sdo signals may or may not be running at the point in time that the docking event occurs. 3. the physical docking event is signaled to acpi bios software via acpi control methods. this is normally accomplished th rough a gpio signal on the ich7 and is outside the scope of this section. 4. acpi bios software first checks that the docking is supported via dcksts.ds=1 and that the dcksts.dm=0 and then initia tes the docking sequence by writing a 1 to the dckctl.da bit. free datasheet http://www..net/
intel ? ich7 family datasheet 241 functional description 5. the hd audio controller then asserts the az_dock_en# signal so that the bclk signal begins toggling to the dock co dec. az_dock_en# shall be asserted synchronously to bclk and timed such that bclk is low, sync is low, and sdo is low. pull-down resistors on these signals in the docking station discharge the signals low so that the state of the signal on both sides of the switch is the same when the switch is turned on. this reduces the potential for charge coupling glitches on these signals. note that in the ich7 the first 8 bits of the command field are ?reserved? and always driven to 0s. this creates a predictable point in time to assert az_dock_en#. note that the hd audio link reset exit specification that requires that sync and sdo be driven low during bclk startup is not ensured. note also that the sdo and bclk signal s may not be low while az_dock_rst# is asserted which also does not comply with the specification. 6. after the controller asserts az_dock_en # it waits for a minimum of 2400 bclks (100 us) and then de-asserts az_dock_rst# . this is accomplished in such a way to meet the hd audio link reset exit sp ecification. az_dock_rst# de-assertion should be synchronous to bclk and timed such that there are least 4 full bclks from the de-assertion of az_dock_rst# to the first frame sync assertion. 7. the connect/turnaround/address frame hard ware initialization sequence will now occur on the dock codecs' sdi signals. a dock codec is detected when sdi is high on the last bclk cycle of the frame sy nc of a connect frame. the appropriate bit(s) in the state change status (statest s) register will be set. the turnaround and address frame initialization sequence th en occurs on the dock codec's sdi(s). 8. after this hardware initialization sequence is complete (approximately 32 frames), the controller hardware sets the dcksts.dm bi t to 1 indicating that the dock is now mated. acpi bios polls the dcksts.dm bit and when it detects it is set to 1, conveys this to the os through a plug-n-play irp. this eventually invokes the hd audio bus driver, which then begins its codec discovery, enumeration, and configuration process. 9. alternatively to step #8, the hd audi o bus driver may choose to enable an interrupt by setting the wakeen bits for sdins that didn't originally have codecs attached to them. when a corresponding statests bit gets set, an interrupt is generated. in this case the hd audio bus dr iver is called directly by this interrupt instead of being notified by the plug-n-play irp. 10. hd audio bus driver software ?discovers? the dock codecs by comparing the bits now set in the statests register with the bits that were set prior to the docking event. 5.23.1.2 exiting d3/crst# when docked 1. in d3/crst#, crst# is asserted by the hd audio bus driver. crst# asserted resets the dock state machines, but does not reset the dckctl.da bit. because the dock state machines are reset, the dock is electrically isolated (az_dock_en# de- asserted) and dock_rst# is asserted. 2. the bus driver clears the statests bits, then de-asserts crst#, waits approximately 7ms, then checks the statests bits to see which codecs are present. 3. when crst# is de-asserted, the dock st ate machine detects that dckctl.da is still set and the controller hardware sequences through steps to electrically connect the dock by asserting az_dock_en# and then eventually de-asserts dock_rst#. this completes within the 7 ms mentioned in step 2). 4. the bus driver enumerates the codecs present as indicated via the statests bits. 5. note that this process did not require bi os or acpi bios to set the dckctl.da bit. free datasheet http://www..net/
functional description 242 intel ? ich7 family datasheet 5.23.1.3 cold boot/resume from s3 when docked 1. when booting and resuming from s3, pltrst# switches from asserted to de- asserted. this clears the dckctl.da bit and the dock state machines. because the dock state machines are reset, the dock is electrically isolated (az_dock_en# de- asserted) and dock_rst# is asserted. 2. post bios detects that the dock is attach ed and sets the dckctl.da bit to 1. note that at this point crst# is still asserted so the dock state machine will remain in its reset state. 3. the bus driver clears the statests bits, then de-asserts crst#, waits approximately 7 ms, then checks the statests bits to see which codecs are present. 4. when crst# is de-asserted, the dock st ate machine detects that dckctl.da is still set and the controller hardware sequences through steps to electrically connect the dock by asserting az_dock_en# and then eventually de-asserts dock_rst#. this completes within the 7 ms mentioned in step 3). 5. the bus driver enumerates the codecs present as indicated via the statests bits. 5.23.1.4 undock sequence there are two possible undocking scenarios. the first is the one that is initiated by the user that invokes software and gracefully shuts down the dock codecs before they are undocked. the second is referred to as th e ?surprise undock? where the user undocks while the dock codec is running. both of these situations appear the same to the controller as it is not cognizant of the ?surprise removal?. but both sequences will be discussed here. 5.23.1.4.1 normal undock 1. in the docked quiescent state, the dock attach (dckctl.da) bit and the dock mate (dcksts.dm) bit are both asserted. the az_dock_en# signal is asserted and az_dock_rst# is de-asserted. 2. the user initiates an undock event th rough the gui interface or by pushing a button. this mechanism is outside the scope of this section of the document. either way acpi bios software will be invoked to manage the undock process. 3. acpi bios will call the hd au dio bus driver software in order to halt the stream to the dock codec(s) prior to electrical undocking. if the hd audio bus driver is not capable of halting the stream to the dock ed codec, acpi bios will initiate the hardware undocking sequence as described in the next step while the dock stream is still running. from this standpoint, the result is similar to the ?surprise undock? scenario where an audio glitch may occur to the docked codec(s) during the undock process. 4. the acpi bios initiates the hardware und ocking sequence by writing a 0 to the dckctl.da bit. 5. the hd audio controller asserts az_doc k_rst#. az_dock_rst# assertion shall be synchronous to bclk. there are no other timing requirements for az_dock_rst# assertion. note that the hd audio link reset specification requirement that the last frame sync be skipped will not be met. 6. a minimum of 4 bclks after az_dock_rst# the controller will de-assert az_dock_en# to isolate the dock codec signals from the ich7 hd audio link signals. az_dock_en# is de-asserted sync hronously to bclk and timed such that bclk, sync, and sdo are low. 7. after this hardware undocking sequence is complete (a maximum of tbd from dckctl.da being written from ?1? to ?0?), the controller hardware clears the dcksts.dm bit to 0 indicating that the do ck is now un-mated. acpi bios software polls dcksts.dm and when it sees dm set, conveys to the end user that physical undocking can proceed. the controller is now ready for a subsequent docking event. free datasheet http://www..net/
intel ? ich7 family datasheet 243 functional description 5.23.1.4.2 surprise undock 1. in the surprise undock case the user undocks before software has had the opportunity to gracefully halt the stream to the dock codec and initiate the hardware undock sequence. 2. a signal on the docking connector is connec ted to the switch that isolates the dock codec signals from the ich7 hd audio link signals (dock_det# in the conceptual diagram). when the undock event begins to occur the switch will be put into isolate mode. 3. the undock event is communicated to the acpi bios via acpi control methods that are outside the scope of this section of the document. 4. acpi bios software writes a 0 to the dckctl.da bit. acpi bios then calls the hd audio bus driver via plug-n-play irp. the bus driver then posthumously cleans up the dock codec stream. 5. the hd audio controller hardware is obliv ious to the fact that a surprise undock occurred. the flow from this point on is identical to the normal undocking sequence described in section 0 starting at step 3). it finishes with the hardware clearing the dcksts.dm bit set to 0 indicating that the dock is now un-mated. the controller is now ready for a subsequent docking event. 5.23.1.5 interaction between dock/undock and power management states when exiting from s3, pltrst# will be asse rted. the post bios is responsible for initiating the docking sequence if the dock is already attached when pltrst# is de- asserted. post bios writes a 1 to the dckctl.da bit prior to the hd audio driver de- asserting crts# and detecting and enum erating the codecs attached to the az_dock_rst# signal. the hd audio controlle r does not directly monitor a hardware signal indicating that a dock is attached. th erefore, a method outside the scope of this document must be used to cause the post bios to initiate the docking sequence. when exiting from d3, crst# will be assert ed. when crst# bit is ?0? (asserted), the dckctl.da bit is not cleared. the dock state machine will be reset such that az_dock_en# will be de-asserted, az_d ock_rst# will be asserted and the dcksts.dm bit will be cleared to reflect this state. when the crst# bit is de-asserted, the dock state machine will detect that dckctl.da is set to ?1? and will begin sequencing through the dock process. note that this does not require any software intervention. 5.23.1.6 relationship between az_dock_rst# and az_rst# az_rst# will be asserted when a pltrst# occu rs or when the crst# bit is 0. as long as az_rst# is asserted, the dock_r st# signal will also be asserted. when pltrst# is asserted, the dckctl.da and dcksts.dm bits will be get cleared to their default state (0's), and the dock state machine will be reset such that az_dock_en# will be de-asserted, and az _dock_rst# will be asserted. after any pltrst#, post bios software is responsible for detecting that a dock is attached and then writing a ?1? to the dckctl.da bit prior to the hd audio bus driver de-asserting crst#. when crst# bit is ?0? (asserted), the dckc tl.da bit is not cleared. the dock state machine will be reset such that az_doc k_en# will be de-asserted, az_dock_rst# will be asserted and the dcksts.dm bit will be cleared to reflect this state. when the crst# bit is de-asserted, the dock state mach ine will detect that dckctl.da is set to ?1? and will begin sequencing th rough the dock process. note that this does not require any software intervention. free datasheet http://www..net/
functional description 244 intel ? ich7 family datasheet 5.24 intel ? active management technology (intel ? amt) (desktop and mobile only) intel active management technology is a set of advanced manageability features developed as a direct result of it custom er feedback gained through intel market research. reducing the total cost of ownership (tco) through improved asset tracking, remote manageability, and fewer desk-side visits were identified as key it priorities. pt extends the capabilities of existing mana gement solutions by making the asset information, remote diagnostics, and recovery capabilities always available, or out of band (oob), even when the system is in a low-power ?off? state or the os is hung. 5.24.1 intel ? amt features ? e-asset tag ? oob hw and sw inventory logs ? oob alerts ? ide redirect ? serial over lan for remote control ? remote diagnostics execution ? os lock-up alert ? os repair ? remote bios recovery and update 5.24.2 intel ? amt requirements intel amt is a platform-level solution that uses multiple system components including: ? intel amt-ready ich7 component for the smbus, pci express, spi flash bus, and system sensors ? intel ? pro 82573e gigabit ethernet controller with intel ? active management technology for remote access ? an embedded microcontroller to run oob firmware/software ? spi flash memory (4 mb for intel amt) to store asset information, management software code, and logs ? bios to provide asset detection and post diagnostics (bios and intel amt can optionally share same flash memory device) ? familiar isv software packages to take advantage of intel amt?s platform management capabilities free datasheet http://www..net/
intel ? ich7 family datasheet 245 functional description 5.25 serial peripheral interface (spi) (desktop and mobile only) the serial peripheral interface (spi) is a 4-pin interface that provides a potentially lower-cost alternative for system flash versus the firmware hub on the lpc bus. the 4-pin spi interface consists of clock (c lk), master data out (master out slave in (mosi)), master data in (master in slave out (miso)) and an active low chip select (cs#). communication on the spi bus is done with a master ? slave protocol. the typical bus topology consists of a single spi master (ich 7) with a single spi slave (flash device). the slave is connected to the ich7 an d is implemented as a tri-state bus. arbitration has been added that enables an optional shared flash configuration where the ich7 shares access to the spi flash de vice with the pci express based intel pro 82573e gigabit ethernet controller. this configuration allows a single larger density flash device to replace two smaller density flash devices on the motherboard to potentially reduce bill of material (bom) costs. note: when spi is selected by the boot bios dest ination strap and a spi device is detected by the ich7, lpc based bios flash is disabled. 5.25.1 spi arbitration between intel ? ich7 and intel pro 82573e the shared flash implementation consists of two spi masters (ich7 and intel pro 82573e) that arbitrate for access to a single shared spi device. this allows for consolidation of non-volatile memory requ ired by the intel pro 82573e gbe device with the system bios offering the potent ial for bom and board real estate savings. the arbitration between intel pro 82573e and ic h7 occurs with the addition of an arb signal. the spi flash device is connected to both the intel pro 82573e and ich7 chips and implemented as a shared tri-state bus; the arb signal is connected directly from intel pro 82573e to ich7 and not to the spi device. the shared flash configuration allows each master to complete write and erase commands to the spi flash, before allowing the other master to take ownership of the bus 5.25.2 flash device configurations the ich7, intel pro 82573e gbe lan with intel ? active management technology, and spi flash may be used in multiple configurations. table 5-61 focuses on these various configurations involving the ich7. note: the ich7 spi interface supports a single chip select pin for a single spi device. table 5-61. spi implementation options configuration intel pro 82573e with intel amt present intel pro 82573e firmware with intel amt system bios location system bios and intel amt shared flash fwh present number of spi device(s) 1 no no fwh no yes 0 2 no no spi no no 1 3 yes spi fwh no yes 1 4 yes spi spi no no 2 5 yes spi spi yes no 1 free datasheet http://www..net/
functional description 246 intel ? ich7 family datasheet 5.25.3 spi device compat ibility requirements a variety of spi flash devices exist in the market. in order for a spi device to be compatible with the ich7 it must meet the minimum requirements detailed in the following sections. 5.25.3.1 intel ? ich7 spi based bios only configuration requirements (non-shared flash configuration) a spi flash device must meet the following minimum requirements to be compatible with the ich7 in a non-shared flash configuration: ? erase size capability of at least one of the following: 64 kb, 32 kb, 4 kb, 2 kb, 512 bytes, or 256 bytes. ? required command set and associated opcodes (refer to section 5.25.4.1 ). ? device identification command (refer to section 5.25.4.2 ). ? device must support multiple writes to a page without requiring a preceding erase cycle (refer to section 5.25.4.3 ) ? serial flash device must ignore the upper address bits such that an address of ffffffh simply aliases to the top of the flash memory. ? spi compatible mode 0 support (clock phase is 0 and data is latched on the rising edge of the clock). ? if the device receives a command that is not supported, the device must complete the cycle gracefully without any impact on the flash content. ? an erase command (page, sector, block, chip, or etc.) must set to 1 (ffh) all bits inside the designated area (page, sector, block, chip, or etc.). ? minimum density of 4 mb (platform dependent based on size of bios). note: the ich7 only supports mode 0 on spi flash devices 5.25.3.2 intel ? ich7 with intel ? pro 82573e with intel amt firmware configuration requirements (shared flash configuration) a spi flash device must meet the following minimum requirements to be compatible with the ich7 and the intel pro 82573e gbe with intel amt device in a shared flash configuration: the following are requirements that are in common with the bios only configuration listed in section 5.25.3.1 : ? required command set and associated opcodes (refer to section 5.25.4.1 ) ? device identification command (refer to section 5.25.4.2 ) ? device must support multiple writes to a page without requiring a preceding erase cycle (refer to section 5.25.4.3 ) ? serial flash device must ignore the upper address bits such that an address of ffffffh simply aliases to the top of the flash memory. ? spi compatible mode 0 support (clock phase is 0 and data is latched on the rising edge of the clock). ? if the device receives a command that is not supported, the device must complete the cycle gracefully without any impact on the flash content. ? an erase command (page, sector, block, chip, or etc.) must set to 1 (ffh) all bits inside the designated area (page, sector, block, chip, or etc.). free datasheet http://www..net/
intel ? ich7 family datasheet 247 functional description the following is a list of additional requirements specific to the ich7 with intel pro 82573e configuration: ? erase size capability of at least one of the following: 4 kbytes (preferred) or 256 bytes . ? byte write must be supported. ? a serial flash device that requires the write enable command must automatically clear the write enable latch at the end of data program instructions ? status register bit 0 must be set to 1 when a write or erase is in progress and cleared to 0 when a write or erase is not in progress. ? minimum density of 4 mb for non-bios data storage ? minimum density of 8 mb for shared flash configurations (4 mb for non-bios data + 4 mb for bios - platform dependant based on size of bios) note: the ich7 only supports mode 0 on spi flash devices. 5.25.4 intel ? ich7 compatible command set 5.25.4.1 required command set for inter operability table 5-62 contains a list of commands and th e associated opcodes that a spi based serial flash device must support in order to be interoperable with the serial flash interface. 5.25.4.2 recommended standard commands the following table contains a list of standard commands that a spi device should support to be compatible with the ich7. this list only contains standard commands and is not meant to be an all inclusive list of commands that spi devices can support. table 5-62. required commands and opcodes commands opcode program data 02h read data 03h read status 05h table 5-63. intel ? ich7 standard spi commands commands opcode notes write status 01h if command is supported by a device, 01h must be supported. write disable 04h write enable 06h if command is supported by a device, 06h must be supported. fast read 0bh intel ? ich7 does not support this command. jedec id 9fh either jedec id (9fh) or an identi fy device with abh is required, not both. identify device abh either jedec id (9fh) or an identi fy device with abh is required, not both free datasheet http://www..net/
functional description 248 intel ? ich7 family datasheet 5.25.4.3 multiple page write usage model the system bios and intel ? active management technolo gy firmware usage models require that the serial flash device support multiple writes (minimum of 512 writes) to a page (256 bytes) without requiring a preceding erase command. bios commonly uses capabilities such as counters that are typically implemented by using byte writes to ?increment? the bits within a page that have been designated as the counter. the intel amt firmware usage model requires the capability for multiple data updates within any given page. these data updates occur via byte writes without executing a preceding erase to the given page. both th e bios and intel amt firmware multiple page write usage models apply to sequential and non-sequential data writes. note: this usage model requirement is based on any given bit only being written once from a ?1? to a ?0? without requiring the preceding erase. an erase would be required to change bits back to the ?1? state. 5.25.5 flash protection there are three types of flash protection mechanisms: 1. bios range write protection 2. smi#-based global write protection 3. shared flash address range protection the three mechanisms are conceptually or?d together such that if any of the mechanisms indicate that the access should be blocked, then it is blocked. table 5-64 provides a summary of the three mechanisms. a blocked command will appear to software to finish, except that the blocked access status bit is set in this case. 5.25.5.1 bios range write protection the ich7 provides a method for blocking writes to specific ranges in the spi flash when the protected bios ranges are enabled. this is achieved by checking the opcode type information (which can be locked down by th e initial boot bios) and the address of the requested command against the base and limit fields of a write protected bios range. note: once bios has locked down the protected bios range registers, this mechanism remains in place until the next system reset. table 5-64. flash protec tion mechanism summary mechanism accesses blocked range specific ? reset-override or smi#- override? equivalent function on fwh bios range write protection writes yes reset override fwh sector protection write protect writes no smi# override same as write protect in previous ich components for fwh bios bar reads and writes yes reset override not applicable- specific to flash sharing free datasheet http://www..net/
intel ? ich7 family datasheet 249 functional description 5.25.5.2 smi# based global write protection the ich7 provides a method for blocking writ es to the spi flash when the write protect bit is cleared (i.e., protected). this is achieved by checking the opcode type information (which can be locked down by the initial boot bios) of the requested command. the write protect and lock enable bits inte ract in the same manner for spi bios as they do for the fwh bios. 5.25.5.3 shared flash ad dress range protection the system flash (bios) occupies the top part of the spi flash memory device when sharing this space with the lan and manage ability functions. to prevent the system from inappropriately accessing or modifyin g information in the lan and manageability areas, the ich7 checks outgoing addresses with the bios base address register and blocks any cycles with addresses below that value. this includes direct memory reads to the spi flash. note: once bios has locked down the bios bar, this mechanism remains in place until the next system reset. 5.26 intel ? quick resume technology (digital home only) ich7 implements the following intel ? quick resume technology (qrt) features: ? visual off ? consumer electronics (ce) like on/off 5.26.1 visual off intel quick resume technology provides a ne w functional state called visual off. in visual off the pc appears to be off but is ac tually active and able to run program tasks. the visual off state is transparent to the user. it is entered by simply pressing the power button when the system is on. this turns off the display, sound, front panel lights and hid devices (e.g. keyboard and mous e) but the pc stays active. perceptually to the user, the system appears off in this state. pressing the power button again will turn back on the perceptual components that were ?muted? in visual off. from the visual off state, the system's power management can place the pc in a low power suspend state (s3) using existing mechan isms. again, this is transparent to the end user. 5.26.2 ce-like on/off intel quick resume technology redefines th e pc's power button behavior to switch between user perceived on and off states like a consumer electronics (ce) device. for example when a television is turned off ther e is no shutdown procedure. the viewer simply turns it off. likewise when a modern television is turned on it returns to the same channel, volume level, color balance, et c. as when it was turned off. intel quick resume technology gives the pc this similar functionality. a simple press of the power button turns it on or off. there is no user visible lengthy boot up or shutdown process as the visual off state is used. therefore, there is no need to exit running applications. free datasheet http://www..net/
functional description 250 intel ? ich7 family datasheet just as televisions may have multiple power buttons (e.g., on the tv and on a remote control) so may the pc (e.g., a power button on the system unit and another on the keyboard). however, all power buttons behave the same ? on/off. the pc will not turn on (wake up) when any key is pressed or the mouse moved just as pressing the volume button or tv channel button does not cause the tv to turn on. only a power button press turns it on and off. 5.26.3 intel ? quick resume technology signals (ich7dh only) to provide the end user notification of the system power state, it is recommended that the front panel led be used to indicate visual off in the same way that the front panel led is used to indicate the s3 system state. for example, if in the s3 state the front panel led is solid amber, also set the front panel led to be solid amber upon entrance into visual off. to provide for platform implementation fl exibility, the ich7dh implements two intel quick resume technology (qrt) signals that are multiplexed with gpios: el_state0/ gpio27 and el_state1/gpio28. the el_state [1:0] pins may be used to control led(s) to provide end-user notification of the current system state or may be used as gpio pins (independently or combined). see chapter 14 for further details on controlling these signals. the ich7dh has an additional intel qrt pin: el_rsvd/gpio26. when intel qrt is enabled, this signal is used exclusively as el_rsvd and should be left as no connect. note: el_rsvd should be left as a no connect on motherboards that will implement intel qrt. 5.26.4 power button sequence (ich7dh only) when intel quick resume technology (qrt) is enabled and the user presses the pwrbtn# to put the system into the visual off state, the following sequence is assumed: 1. user presses the power button, which causes the pwrbtn# signal to go low. 2. intel qrt logic sets the el_pb_sts bit. if the pwrbtn_int_en bit is set, the ich7 does not set the pwrbtn_sts bit at this point. 3. intel qrt logic causes an smi or sci (depending on the smi_option_cnt bit.) 4. if the intel qrt logic was set to cause an smi, the smi handler executes and then sets the sci_now_cnt bit. 5. the intel qrt sci handler executes. 6. the intel qrt sci handler needs to cause th e pwrbtn_sts bit to be set, it can do so by setting the pwrbtn_event bit. note: when pwrbtn_sts is set, the ich7 causes an sci and the normal os handler for pwrbtn_sts is called. free datasheet http://www..net/
intel ? ich7 family datasheet 251 functional description 5.27 feature capability mechanism a new set of registers have been added into ich7 lpc interface (device 31, function 0, offset e0h - ebh) that allows the system software or bios to easily determine the features supported by ich7. these registers can be accessed through lpc pci configuration space; thus allowing for convenient single point access mechanism for chipset feature detection. this set of registers consists of: capability id (fdcap) capability length (fdlen) capability version and vendor-s pecific capability id (fdver) feature vector (fvect) free datasheet http://www..net/
functional description 252 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 253 register and memory mapping 6 register and memory mapping the ich7 contains registers that are located in the processor?s i/o space and memory space and sets of pci configuration registers that are located in pci configuration space. this chapter describes the ich7 i/o an d memory maps at the register-set level. register access is also described. register-level address maps and individual register bit descriptions are provided in the followi ng chapters. the following notations and definitions are used in the register /instruction description chapters. ro read only. in some cases, if a regi ster is read only, writes to this register location have no effect. however, in other cases, two separate registers are located at the same location where a read accesses one of the registers and a write accesses the other register. see the i/o and memory map tables for details. wo write only. in some cases, if a register is write only, reads to this register location have no effect. however, in other cases, two separate registers are located at the same location where a read accesses one of the registers and a write accesses the other register. see the i/o and memory map tables for details. r/w read/write. a register with this attribute can be read and written. r/wc read/write clear. a register bit with this attribute can be read and written. however, a write of 1 clears (sets to 0) the corresponding bit and a write of 0 has no effect. r/wo read/write-once. a register bit with this attribute can be written only once after power up. after the first write, the bit becomes read only. r/wlo read/write, lock-once. a register bit with this attribute can be written to the non-locked value multiple times, but to the locked value only once. after the locked value has been written, the bit becomes read only. default when ich7 is reset, it sets its registers to predetermined default states. the default state repres ents the minimum functionality feature set required to successfu lly bring up the system. hence, it does not represent the optimal system configuration. it is the responsibility of the system initialization software to determine configuration, operating parameters, and optional system features that are applicable, and to program the ich7 registers accordingly. bold register bits that are highlighted in bold text indicate that the bit is implemented in the ich7. register bits that are not implemented or are hardwired will remain in plain text. all bit(s) or bit-fields must be correctly dealt with by software. on reads, software must use appropriate masks to extract the defined bits and not rely on reserved bits being any particular value. on writes, software must ensure that the values of reserved bit locations are preserved. any ich7 configur ation register or i/o or memory mapped location not explicitly indicated in this document must be considered reserved. free datasheet http://www..net/
register and memory mapping 254 intel ? ich7 family datasheet 6.1 pci devices and functions the ich7 incorporates a variety of pci functions as shown in table 6-1 . these functions are divided into six logical devices (b0: d30, b0:d31, b0:d29, b0:d28, b0:d27 and b1:d8). d30 contains the dmi interface-to-pci bridge and the ac ?97 audio and modem controller. d31 contains the pci-to-lpc brid ge, ide controller, sata controller, and the smbus controller. d29 contains the four usb uhci controllers and one usb ehci controller. d27 contains the intel high definition audio controller. b1:d8 is the integrated lan controller. note: from a software perspective, the integrat ed lan controller resides on the ich7?s external pci bus. this is typically bus 1, but may be assigned a different number depending on system configuration. if for some reason, the particular system platform does not want to support any one of the device functions, with the exception of d30:f0, they can individually be disabled. the integrated lan controller will be disabled if no platform lan connect component is detected (see chapter 5.3 ). when a function is disabled, it does not appear at all to the software. a disabled function will not respond to any register reads or writes, insuring that these devices appear hidden to software. b notes: 1. the lpc controller contains registers that control lpc, power management, system management, gpio, processor interfac e, rtc, interrupt s, timers, dma. table 6-1. pci devi ces and functions bus:device:function 1 function description bus 0:device 30:functi on 0 pci-to-pci bridge bus 0:device 30:function 2 ac ?97 audio controller (desktop and mobile only) bus 0:device 30:function 3 ac ?97 modem controller (desktop and mobile only) bus 0:device 31:function 0 lpc controller 1 bus 0:device 31:function 1 ide controller bus 0:device 31:function 2 sata cont roller (desktop and mobile only) bus 0:device 31:function 3 smbus controller bus 0:device 29:function 0 usb uhci controller #1 bus 0:device 29:function 1 usb uhci controller #2 bus 0:device 29:function 2 usb uhci controller #3 bus 0:device 29:function 3 usb uhci controller #4 bus 0:device 29:function 7 usb 2.0 ehci controller bus 0:device 28:function 0 pci express* port 1 (desktop and mobile only) bus 0:device 28:function 1 pci expres s port 2 (desktop and mobile only) bus 0:device 28:function 2 pci expres s port 3 (desktop and mobile only) bus 0:device 28:function 3 pci expres s port 4 (desktop and mobile only) bus 0:device 28:function 4 pci express port 5 (intel ? ich7r, and ich7dh, and ich7-m only) bus 0:device 28:function 5 pci express port 6 (intel ? ich7r, and ich7dh, and ich7-m only) bus 0:device 27:function 0 intel ? high definition audio controller bus n:device 8:function 0 lan cont roller (desktop and mobile only) free datasheet http://www..net/
intel ? ich7 family datasheet 255 register and memory mapping 6.2 pci configuration map each pci function on the ich7 has a set of pci configuration registers. the register address map tables for these register sets are included at the beginning of the chapter for the particular function. configuration space registers are accessed through configuration cycles on the pci bus by the host bridge using configuration mechanism #1 detailed in the pci local bus specification, revision 2.3 . some of the pci registers contain reserved bits. software must deal correctly with fields that are reserved. on reads, software must use appropriate masks to extract the defined bits and not rely on reserved bits being any particular value. on writes, software must ensure that the values of re served bit positions are preserved. that is, the values of reserved bit positions must fi rst be read, merged with the new values for other bit positions and then written back. no te the software does not need to perform read, merge, write operation for the configuration address register. in addition to reserved bits within a register, the configuration space contains reserved locations. software should not write to re served pci configuration locations in the device-specific region (above address offset 3fh). 6.3 i/o map the i/o map is divided into fixed and variable address ranges. fixed ranges cannot be moved, but in some cases can be disabled. variable ranges can be moved and can also be disabled. 6.3.1 fixed i/o address ranges table 6-2 shows the fixed i/o decode ranges from the processor perspective. note that for each i/o range, there may be separate behavior for reads and writes. dmi (direct media interface) cycles that go to target ranges that are marked as ?reserved? will not be decoded by the ich7, and will be passed to pci unless the subtractive decode policy bit is set (d31:f0:offset 42h, bit 0). if a pci master targets one of the fixed i/o target ranges, it will be positively deco ded by the ich7 in medium speed. address ranges that are not listed or marked ?reserved? are not decoded by the ich7 (unless assigned to one of the variable ranges). free datasheet http://www..net/
register and memory mapping 256 intel ? ich7 family datasheet table 6-2. fixed i/o ranges decoded by intel ? ich7 (sheet 1 of 2) i/o address read target write target internal unit 00h?08h dma controller dma controller dma 09h?0eh reserved dma controller dma 0fh dma controller dma controller dma 10h?18h dma controller dma controller dma 19h?1eh reserved dma controller dma 1fh dma controller dma controller dma 20h?21h interrupt controller in terrupt controller interrupt 24h?25h interrupt controller in terrupt controller interrupt 28h?29h interrupt controller in terrupt controller interrupt 2ch?2dh interrupt controller interrupt controller interrupt 2e?2f lpc sio lpc sio forwarded to lpc 30h?31h interrupt controller in terrupt controller interrupt 34h?35h interrupt controller in terrupt controller interrupt 38h?39h interrupt controller in terrupt controller interrupt 3ch?3dh interrupt controller interrupt controller interrupt 40h?42h timer/counter timer/counter pit (8254) 43h reserved timer/counter pit 4e?4f lpc sio lpc sio forwarded to lpc 50h?52h timer/counter timer/counter pit 53h reserved timer/counter pit 60h microcontroller microcon troller forwarded to lpc 61h nmi controller nmi controller processor i/f 62h microcontroller microcon troller forwarded to lpc 64h microcontroller microcon troller forwarded to lpc 66h microcontroller microcon troller forwarded to lpc 70h reserved nmi and rtc controller rtc 71h rtc controller rtc controller rtc 72h rtc controller nmi and rtc controller rtc 73h rtc controller rtc controller rtc 74h rtc controller nmi and rtc controller rtc 75h rtc controller rtc controller rtc 76h rtc controller nmi and rtc controller rtc 77h rtc controller rtc controller rtc 80h dma controller, or lpc, or pci dma controller and lpc or pci dma 81h?83h dma controller dma controller dma free datasheet http://www..net/
intel ? ich7 family datasheet 257 register and memory mapping notes: 1. only if ide i/o space is enabled (d31:f1:40 bit 15) and the ide controller is in legacy mode. otherwise, the target is pci. 84h?86h dma controller dma controller and lpc or pci dma 87h dma controller dma controller dma 88h dma controller dma controller and lpc or pci dma 89h?8bh dma controller dma controller dma 8ch?8eh dma controller dma controller and lpc or pci dma 08fh dma controller dma controller dma 90h?91h dma controller dma controller dma 92h reset generator reset generator processor i/f 93h?9fh dma controller dma controller dma a0h?a1h interrupt controller interrupt controller interrupt a4h?a5h interrupt controller interrupt controller interrupt a8h?a9h interrupt controller interrupt controller interrupt ach?adh interrupt controller interrupt controller interrupt b0h?b1h interrupt controller interrupt controller interrupt b2h?b3h power management power management power management b4h?b5h interrupt controller interrupt controller interrupt b8h?b9h interrupt controller interrupt controller interrupt bch?bdh interrupt controller interrupt controller interrupt c0h?d1h dma controller dma controller dma d2h?ddh reserved dma controller dma deh?dfh dma controller dma controller dma f0h ferr#/ignne# / interrupt controller ferr#/ignne# / interrupt controller processor i/f 170h?177h ide controller, sata controller, or pci ide controller, sata controller, or pci forwarded to ide or sata 1f0h?1f7h ide controller, sata controller, or pci 1 ide controller, sata controller, or pci forwarded to ide or sata 376h ide controller, sata controller, or pci ide controller, sata controller, or pci forwarded to ide or sata 3f6h ide controller, sata controller, or pci 1 ide controller, sata controller, or pci forwarded ide or sata 4d0h?4d1h interrupt controller interrupt controller interrupt cf9h reset generator reset generator processor i/f table 6-2. fixed i/o ranges decoded by intel ? ich7 (sheet 2 of 2) i/o address read target write target internal unit free datasheet http://www..net/
register and memory mapping 258 intel ? ich7 family datasheet 6.3.2 variable i/o decode ranges table 6-3 shows the variable i/o decode ranges. they are set using base address registers (bars) or other configuration bits in the various pci configuration spaces. the pnp software (pci or acpi) can use their configuration mechanisms to set and adjust these values. warning: the variable i/o ranges should not be set to conflict with the fixed i/o ranges. unpredictable results if the configuration soft ware allows conflicts to occur. the ich7 does not perform any checks for conflicts. table 6-3. variable i/o decode ranges range name mappable size (bytes) target acpi anywhere in 64 kb i/o space 64 power management ide bus master anywhere in 64 kb i/o space 16 ide unit native ide command anywhere in 64 kb i/o space 8 ide unit native ide control anywhere in 64 kb i/o space 4 ide unit usb uhci controller #1 anywhere in 64 kb i/o space 32 usb unit 1 usb uhci controller #2 anywhere in 64 kb i/o space 32 usb unit 2 usb uhci controller #3 anywhere in 64 kb i/o space 32 usb unit 3 usb uhci controller #4 anywhere in 64 kb i/o space 32 usb unit 4 smbus anywhere in 64 kb i/o space 32 smb unit ac ?97 audio mixer anywhere in 64 kb i/o space 256 ac ?97 unit ac ?97 audio bus master anywhere in 64 kb i/o space 64 ac ?97 unit ac ?97 modem mixer anywhere in 64 kb i/o space 256 ac ?97 unit ac ?97 modem bus master anywhere in 64 kb i/o space 128 ac ?97 unit tco 96 bytes above acpi base 32 tco unit gpio anywhere in 64 kb i/o space 64 gpio unit parallel port 3 ranges in 64 kb i/o space 8 lpc peripheral serial port 1 8 ranges in 64 kb i/o space 8 lpc peripheral serial port 2 8 ranges in 64 kb i/o space 8 lpc peripheral floppy disk controller 2 ranges in 64 kb i/o space 8 lpc peripheral free datasheet http://www..net/
intel ? ich7 family datasheet 259 register and memory mapping note: 1. decode range size determin ed by d31:f0:adh:bits 5:4 6.4 memory map table 6-4 shows (from the processor perspective) the memory ranges that the ich7 decodes. cycles that arrive from dmi that are not directed to any of the internal memory targets that decode directly from dmi will be driven out on pci unless the subtractive decode policy bit is set (d31:f0 :offset 42h, bit 0). the ich7 may then claim the cycle for the internal lan controller. pci cycles generated by external pci masters will be positively decoded unless they fall in the pci-to-pci bridge memory forwarding ranges (those addresses are reserved for pci peer-to-peer traffic). if the cycle is not in the internal lan controller?s range, it will be forwarded up to dmi. software must not attempt locks to the ich7?s memory- mapped i/o ranges for ehci and hpet. if attempted, the lock is not honored which means potential deadlock conditions may occur. lan anywhere in 64 kb i/o space 64 lan unit lpc generic 1 anywhere in 64 kb i/o space 4 to 256 lpc peripheral lpc generic 2 1 anywhere in 64 kb i/o space 4 to 256 lpc peripheral lpc generic 3 anywhere in 64 kb i/o space 4 to 256 lpc peripheral lpc generic 4 anywhere in 64 kb i/o space 4 to 256 lpc peripheral i/o trapping ranges anywhere in 64 kb i/o space 1 to 256 trap on backbone table 6-3. variable i/o decode ranges range name mappable size (bytes) target table 6-4. memory decode ranges from processor perspective (sheet 1 of 2) memory range target dependency/comments 0000 0000h?000d ffffh 0010 0000h?tom (top of memory) main memory tom registers in host controller 000e 0000h?000e ffffh firmware hub bit 6 in firmware hub de code enable register is set 000f 0000h?000f ffffh firmware hub bit 7 in firmware hub de code enable register is set fec0 0000h?fec0 0100h i/o apic inside intel ? ich7 fed4 0000h?fed4 0fffh tpm on lpc ffc0 0000h?ffc7 ffffh ff80 0000h?ff87 ffffh firmware hub (or pci) 1 bit 8 in firmware hub de code enable register is set ffc8 0000h?ffcf ffffh ff88 0000h?ff8f ffffh firmware hub (or pci) 1 bit 9 in firmware hub de code enable register is set free datasheet http://www..net/
register and memory mapping 260 intel ? ich7 family datasheet notes: 1. pci is the target when the boot bios destination selection bit is low (chipset config registers:offset 3401:bit 3). when pci select ed, the firmware hub decode enable bits have no effect. 2. only lan cycles can be seen on pci. 3. software must not at tempt locks to memory mapped i/o ranges for usb ehci or high precision event timers. if attempted, the lo ck is not honored, which means potential deadlock conditions may occur. ffd0 0000h?ffd7 ffffh ff90 0000h?ff97 ffffh firmware hub (or pci) 1 bit 10 in firmware hub decode enable register is set ffd8 0000h?ffdf ffffh ff98 0000h?ff9f ffffh firmware hub (or pci) 1 bit 11 in firmware hub decode enable register is set ffe0 000h?ffe7 ffffh ffa0 0000h?ffa7 ffffh firmware hub (or pci) 1 bit 12 in firmware hub decode enable register is set ffe8 0000h?ffef ffffh ffa8 0000h?ffaf ffffh firmware hub (or pci) 1 bit 13 in firmware hub decode enable register is set fff0 0000h?fff7 ffffh ffb0 0000h?ffb7 ffffh firmware hub (or pci) 1 bit 14 in firmware hub decode enable register is set fff8 0000h?ffff ffffh ffb8 0000h?ffbf ffffh firmware hub (or pci) 1 always enabled. the top two, 64 kb blocks of this range can be swapped, as described in section 7.4.1 . ff70 0000h?ff7f ffffh ff30 0000h?ff3f ffffh firmware hub (or pci) 1 bit 3 in firmware hub de code enable register is set ff60 0000h?ff6f ffffh ff20 0000h?ff2f ffffh firmware hub (or pci) 1 bit 2 in firmware hub de code enable register is set ff50 0000h?ff5f ffffh ff10 0000h?ff1f ffffh firmware hub (or pci) 1 bit 1 in firmware hub de code enable register is set ff40 0000h?ff4f ffffh ff00 0000h?ff0f ffffh firmware hub (or pci) 1 bit 0 in firmware hub de code enable register is set 4 kb anywhere in 4-gb range integrated lan controller 2 enable via bar in de vice 29:function 0 (integrated lan controller) 1 kb anywhere in 4-gb range usb ehci controller 2 enable via standard pci mechanism (device 29, function 7) 512 b anywhere in 4-gb range ac ?97 host controller (mixer) enable via standard pci mechanism (device 30, function 2) 256 b anywhere in 4-gb range ac ?97 host controller (bus master) enable via standard pci mechanism (device 30, function 3) 512 b anywhere in 64-bit addressing space intel ? high definition audio host controller enable via standard pci mechanism (device 30, function 1) fed0 x000h?fed0 x3ffh high precision event timers 3 bios determines the ?fixed? location which is one of four, 1-kb ranges where x (in the first column) is 0h, 1h, 2h, or 3h. all other pci none table 6-4. memory decode ranges from processor perspect ive (sheet 2 of 2) memory range target dependency/comments free datasheet http://www..net/
intel ? ich7 family datasheet 261 register and memory mapping 6.4.1 boot-block update scheme the ich7 supports a ?top-block swap? mode that has the ich7 swap the top block in the firmware hub (the boot block) with anothe r location. this allows for safe update of the boot block (even if a power failure occurs). when the ?top_swap? enable bit is set, the ich7 will invert a16 for cycles targ eting firmware hub space. when this bit is 0, the ich7 will not invert a16. this bit is automatically set to 0 by rtcrst#, but not by pltrst#. the scheme is based on the concept that the top block is reserved as the ?boot? block, and the block immediately below the top block is reserved for doing boot-block updates. the algorithm is: 1. software copies the top block to the block immediately below the top 2. software checks that the copied block is correct. this could be done by performing a checksum calculation. 3. software sets the top_swap bit. this will invert a16 for cycles going to the firmware hub. processor access to ffff_0000h through ffff_ffffh will be directed to fffe_0000h through fffe_ffffh in the firmware hub, and processor accesses to fffe_0000h through fffe_ffff will be directed to ffff_0000h through ffff_ffffh. 4. software erases the top block 5. software writes the new top block 6. software checks the new top block 7. software clears the top_swap bit 8. software sets the top_swap lock-down bit if a power failure occurs at any point after st ep 3, the system will be able to boot from the copy of the boot block that is stored in the block below the top. this is because the top_swap bit is backed in the rtc well. note: the top-block swap mode may be forced by an external strapping option (see section 2.24.1 ). when top-block swap mode is forced in this manner, the top_swap bit cannot be cleared by software. a re-boot with the strap removed will be required to exit a forced top-block swap mode. note: top-block swap mode only affects accesses to the firmware hub space, not feature space. note: the top-block swap mode has no effect on accesses below fffe_0000h. free datasheet http://www..net/
register and memory mapping 262 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 263 chipset configuration registers 7 chipset configuration registers this chapter describes all registers and base functionality that is related to chipset configuration and not a specific interface (e.g., lpc, pci, or pci express*). it contains the root complex register block that describes the behavior of the upstream internal link. this block is mapped into memory space, using register rcba of the pci-to-lpc bridge. accesses in this space must be limited to 32-(dword) bit quantities. burst accesses are not allowed. 7.1 chipset configuration registers (memory space) note: address locations that are not shown should be treated as reserved (see section 6.2 for details). . table 7-1. chipset configurat ion register memory map (mem ory space) (sheet 1 of 3) offset mnemonic register name default type 0000?0003h vch virtual channel capability header 10010002h ro 0004?0007h vcap1 virtual channel capability #1 00000801h ro 0008?000bh vcap2 virtual channel capability #2 00000001h ro 000c?000dh pvc port virtual channel control 0000h r/w, ro 000e?000fh pvs port virtual channel status 0000h ro 0010?0013h v0cap virtual channel 0 resource capability 00000001h ro 0014?0017h v0ctl virtual channel 0 resource control 800000ffh r/w, ro 001a?001bh v0sts virtual channel 0 resource status 0000h ro 001c?001fh v1cap virtual channel 1 resource capability 30008010h r/wo, ro 0020?0023h v1ctl virtual channel 1 resource control 00000000h r/w, ro 0026?0027h v1sts virtual channel 1 resource status 0000h ro 0100?0103h rctcl root complex topology capability list 1a010005h ro 0104?0107h esd element self description 00000602h r/wo, ro 0110?0113h uld upstream link descriptor 00000001h r/wo, ro 0118?011fh ulba upstream link base address 0000000000000000h r/wo 0120?0123h rp1d root port 1 descriptor 01xx0002h r/wo, ro 0128?012fh rp1ba root port 1 base address 00000000000e0000h ro 0130?0133h rp2d root port 2 descriptor 02xx0002h r/wo, ro 0138?013fh rp2ba root port 2 base address 00000000000e1000h ro 0140?0143h rp3d root port 3 descriptor 03xx0002h r/wo, ro free datasheet http://www..net/
chipset configuration registers 264 intel ? ich7 family datasheet 0148?014fh rp3ba root port 3 base address 00000000000e2000h ro 0150?0153h rp4d root port 4 descriptor 04xx0002h r/wo, ro 0158?015fh rp4ba root port 4 base address 00000000000e3000h ro 0160?0163h hdd intel ? high definition audio descriptor 05xx0002h r/wo, ro 0168?016fh hdba intel ? high definition audio base address 00000000000d8000 h ro 0170?0173h rp5d root port 5 descriptor 05xx0002h r/wo, ro 0178?017fh rp5ba root port 5 base address 00000000000e4000h ro 0180?0183h rp6d root port 6 descriptor 06xx0002h r/wo, ro 0188?018fh rp6ba root port 6 base address 00000000000e5000h ro 01a0?01a3h ilcl internal link capability list 00010006h ro 01a4?01a7h lcap link capabilities 00012441h ro, r/wo 01a8?01a9h lctl link control 0000h r/w 01aa?01abh lsts link status 0041h ro 0224?0227h rpc root port configuration 0000000xh r/w, ro 0238?023bh rpfn root port function number for pci express root ports (desktop and mobile only) 00543210h r/wo, ro 1e00?1e03h trsr trap status register 00h r/wc, ro 1e10?1e17h trcr trapped cycle register 0000000000000000h ro 1e18-1e1fh twdr trapped write data register 0000000000000000h ro 1e80-1e87h iotr0 i/o trap register 0 0000000000000000h r/w, ro 1e88-1e8fh iotr1 i/o trap register 1 0000000000000000h r/w, ro 1e90-1e97h iotr2 i/o trap register 2 0000000000000000h r/w, ro 1e98-1e9fh iotr3 i/o trap register 3 0000000000000000h r/w, ro 3000?3001h tctl tco control 00h r/w 3100?3103h d31ip device 31 interrupt pin 00042210h r/w, ro 3104?3107h d30ip device 30 interrupt pin 00002100h r/w, ro 3108?310bh d29ip device 29 interrupt pin 10004321h r/w 310c?310fh d28ip device 28 interrupt pin 00004321h r/w 3110?3113h d27ip device 27 interrupt pin 00000001h r/w 3140?3141h d31ir device 31 interrupt route 3210h r/w 3142?3143h d30ir device 30 interrupt route 3210h r/w 3144?3145h d29ir device 29 interrupt route 3210h r/w 3146?3147h d28ir device 28 interrupt route 3210h r/w 3148?3149h d27ir device 27 interrupt route 3210h r/w 31ff?31ffh oic other interrupt control 00h r/w 3400?3403h rc rtc configuration 00000000h r/w, r/wlo 3404?3407h hptc high precision timer configuration 00000000h r/w table 7-1. chipset configuration register memory map (memory sp ace) (sheet 2 of 3) offset mnemonic register name default type free datasheet http://www..net/
intel ? ich7 family datasheet 265 chipset configuration registers 7.1.1 vch?virtual channel capability head er register offset address: 0000?0003h attribute: ro default value: 10010002h size: 32-bit 7.1.2 vcap1?virtual channe l capability #1 register offset address: 0004?0007h attribute: ro default value: 00000801h size: 32-bit 3410?3413h gcs general control and status 0000000xh r/w, r/wlo 3414?3414h buc backed up control 0000001xb (mobile/ultra mobile only) 0000000xb (desktop only) r/w 3418?341bh fd function disable see bit description r/w, ro 341c?341fh cg clock gating (mobile/ultra mobile only) 00000000h r/w, ro table 7-1. chipset configurat ion register memory map (mem ory space) (sheet 3 of 3) offset mnemonic register name default type bit description 31:20 next capability offset (n co) ? ro.this field indicates the next item in the list. 19:16 capability version (cv) ? ro. this field in dicates support as a version 1 capability structure. 15:0 capability id (cid) ? ro. this field indica tes this is the virtual channel capability item. bit description 31:12 reserved 11:10 port arbitration table entry si ze (pats) ? ro. this field indicates the size of the port arbitration table is 4 bits (to allow up to 8 ports). 9:8 reference clock (rc) ? ro. fixed at 100 ns. 7 reserved 6:4 low priority extended vc count (lpevc) ? ro. this field indicates that there are no additional vcs of low priority with extended capabilities. 3 reserved 2:0 extended vc count (evc) ? ro. this field in dicates that there is one additional vc (vc1) that exists with extended capabilities. free datasheet http://www..net/
chipset configuration registers 266 intel ? ich7 family datasheet 7.1.3 vcap2?virtual channel capability #2 register offset address: 0008?000bh attribute: ro default value: 00000001h size: 32-bit 7.1.4 pvc?port virtual channel control register offset address: 000c?000dh attribute: r/w, ro default value: 0000h size: 16-bit 7.1.5 pvs?port virtual channel status register offset address: 000e?000fh attribute: ro default value: 0000h size: 16-bit bit description 31:24 vc arbitration table offset (ato) ? ro. this field indicates that no table is present for vc arbitration since it is fixed. 23:8 reserved 7:0 vc arbitration capability (ac) ? ro. this field indicates that the vc arbitration is fixed in the root complex. vc1 is highest priority and vc0 is lowest priority. bit description 15:04 reserved 3:1 vc arbitration select (as) ? ro. this fiel d indicates which vc should be programmed in the vc arbitration table. the root complex takes no action on the setting of this field since there is no arbitration table. 0 load vc arbitration table (lat) ? ro. this bit indicates that the table programmed should be loaded into the vc arbitration tabl e. this bit is define d as read/write with always returning 0 on reads. bit description 15:01 reserved 0 vc arbitration table status (vas) ? ro. this bit indicates the coherency status of the vc arbitration table when it is being upda ted. this field is always 0 in the root complex since there is no vc arbitration table. free datasheet http://www..net/
intel ? ich7 family datasheet 267 chipset configuration registers 7.1.6 v0cap?virtual channel 0 resource capability register offset address: 0010?0013h attribute: ro default value: 00000001h size: 32-bit 7.1.7 v0ctl?virtual channel 0 resource control register offset address: 0014?0017h attribute: r/w, ro default value: 800000ffh size: 32-bit bit description 31:24 port arbitration table offset (at) ? ro. this vc implements no po rt arbitration table since the arbitration is fixed. 23 reserved 22:16 maximum time slots (mts) ? ro. this vc implements fixed arbitration, and therefore this field is not used. 15 reject snoop transactions (rts) ? ro. this vc must be able to take snoopable transactions. 14 advanced packet switching (aps) ? ro. this vc is capable of all transactions, not just advanced packet switching transactions. 13:8 reserved 7:0 port arbitration capability (pac) ? ro. this field indicates that this vc uses fixed port arbitration. bit description 31 virtual channel enable (en) ? ro. always set to 1. vc0 is always enabled and cannot be disabled. 30:27 reserved 26:24 virtual channel identifier (id) ? ro. this fi eld indicates the id to use for this virtual channel. 23:20 reserved 19:17 port arbitration select (pas) ? r/w. this field indicate s which port ta ble is being programmed. the root complex takes no action on this setting since the arbitration is fixed and there is no arbitration table. 16 load port arbitration table (lat) ? ro. the root complex does not implement an arbitration table for this virtual channel. 15:8 reserved 7:1 transaction class / virtual channel map (tvm) ? r/w. this field indicates which transaction classes are mapped to this virtual channel. when a bit is set, this transaction class is mapped to the virtual channel. 0 reserved free datasheet http://www..net/
chipset configuration registers 268 intel ? ich7 family datasheet 7.1.8 v0sts?virtual channel 0 resource status register offset address: 001a?001bh attribute: ro default value: 0000h size: 16-bit 7.1.9 v1cap?virtual channel 1 resource capability register offset address: 001c?001fh attribute: r/wo, ro default value: 30008010h size: 32-bit bit description 15:02 reserved 1 vc negotiation pending (np) ? ro. when set, this bit indicates the virtual channel is still being nego tiated with ingress ports. 0 port arbitration tables status (ats) ? ro. there is no port arbitration table for this vc, so this bit is reserved at 0. bit description 31:24 port arbitration table offset (at) ? ro. this field indicates the location of the port arbitration table in the root complex. a value of 3h indicates the table is at offset 30h. 23 reserved 22:16 maximum time slots (mts) ? r/wo. this value is u pdated by platform bios based upon the determin ation of the number of time slots available in the platform. 15 reject snoop transactions (rts) ? ro. all snoopable transactions on vc1 are rejected. this vc is for isochronous transfers only. 14 advanced packet switching (aps) ? ro. this vc is capable of all transactions, not just advanced packet switching transactions. 13:8 reserved 7:0 port arbitration capability (pac) ? ro. th is field indicates th e port arbitration capability is time-based wrr of 128 phases. free datasheet http://www..net/
intel ? ich7 family datasheet 269 chipset configuration registers 7.1.10 v1ctl?virtual channel 1 resource control register offset address: 0020?0023h attribute: r/w, ro default value: 00000000h size: 32-bit 7.1.11 v1sts?virtual channel 1 resource status register offset address: 0026?0027h attribute: ro default value: 0000h size: 16-bit bit description 31 virtual channel enable (en) ? r/w. 0 = disables the vc. 1 = enables the vc. 30:27 reserved 26:24 virtual channel identifier (id) ? r/w. this field indicate s the id to use for this virtual channel. 23:20 reserved 19:17 port arbitration select (pas) ? r/w. this field indicate s which port ta ble is being programmed. the only permissible value of this field is 4h for the time-based wrr entries. 16 load port arbitration table (lat) ? ro/w. when set, the port arbitration table loaded is based upon the pas field in this register. this bit always returns 0 when read. 15:8 reserved 7:1 transaction class / virtual channel map (tvm) ? r/w. this field indicates which transaction classes are mapped to this virtual channel. when a bit is set, this transaction class is mapped to the virtual channel. 0 reserved bit description 15:02 reserved 1 vc negotiation pending (np) ? ro. 0 = virtual channel is not being negotiated with ingress ports. 1 = the virtual channel is still being negotiated with ingress ports. 0 port arbitration tables status (ats) ? ro. this field indicates the coherency status of the port arbitratio n table. this bit is set when lat (offset 000ch:bit 0) is written with value 1 and pas (offset 0014h:bits19:17) has value of 4h. this bit is cleared after the table has been updated. free datasheet http://www..net/
chipset configuration registers 270 intel ? ich7 family datasheet 7.1.12 rctcl?root comp lex topology capabi lities list register offset address: 0100?0103h attribute: ro default value: 1a010005h size: 32-bit 7.1.13 esd?element self description register offset address: 0104?0107h attribute: r/wo, ro default value: 00000602h size: 32-bit 7.1.14 uld?upstream link descriptor register offset address: 0110?0113h attribute: r/wo, ro default value: 00000001h size: 32-bit bit description 31:20 next capability (next) ? ro. this fi eld indicates the next item in the list. 19:16 capability version (cv) ? ro. this field indicates the version of the capability structure. 15:0 capability id (cid) ? ro. this field indicates this is a pc i express* link capability section of an rcrb. bit description 31:24 port number (pn) ? ro. a value of 0 to indicate the egress port for the intel ? ich7. 23:16 component id (cid) ? r/wo. this field indicates the component id assigned to this element by software. this is written on ce by platform bios and is locked until a platform reset. 15:8 number of link entries (nle) ? ro. this field indicates that one link entry (corresponding to dmi), 6 root port entr ies (for the downstream ports), and the intel ? high definition audio device are described by this rcrb. 7:4 reserved 3:0 element type (et) ? ro. this field indicates that the element type is a root complex internal link. bit description 31:24 target port number (pn) ? r/wo. this field is prog rammed by platform bios to match the port number of the (g)mch rc rb that is attached to this rcrb. 23:16 target component id (tcid) ? r/wo. this field is prog rammed by platform bios to match the component id of the (g)mch rcrb that is attached to this rcrb. 15:2 reserved 1 link type (lt) ? ro. this bit indicates that the link points to the (g)mch rcrb. 0 link valid (lv) ? ro. this bit indicates that the link entry is valid. free datasheet http://www..net/
intel ? ich7 family datasheet 271 chipset configuration registers 7.1.15 ulba?upstream link base address register offset address: 0118?011fh attribute: r/wo default value: 0000000000000000h size: 64-bit 7.1.16 rp1d?root port 1 descriptor register offset address: 0120?0123h attribute: r/wo, ro default value: 01xx0002h size: 32-bit 7.1.17 rp1ba?root port 1 base address register offset address: 0128?012fh attribute: ro default value: 00000000000e0000h size: 64-bit bit description 63:32 base address upper (bau) ? r/wo. this field is progra mmed by platform bios to match the upper 32-bits of base address of the (g)mch rcrb that is attached to this rcrb. 31:0 base address lower (bal) ? r/wo. this field is programmed by platform bios to match the lower 32-bits of base address of the (g)mch rcrb that is attached to this rcrb. bit description 31:24 target port number (pn) ? ro. this field in dicates that the target port number is 1h (root port #1). 23:16 target component id (tcid) ? r/wo. this field returns the value of the esd.cid (offset 0104h, bits 23:16) field programmed by platform bios, sinc e the root port is in the same component as the rcrb. 15:2 reserved 1 link type (lt) ? ro. this bit indicates that the link points to a root port. 0 link valid (lv) ? ro. when fd.pe1d (offset 3418h, bit 16) is set, this link is not valid (returns 0). when fd.pe1d is cleared, this link is valid (returns 1). bit description 63:32 reserved 31:28 reserved 27:20 bus number (bn) ? ro. this field in dicates the root port is on bus #0. 19:15 device number (dn) ? ro. this field in dicates the root port is on device #28. 14:12 function number (fn) ? ro. this field in dicates the root port is on function #0. 11:0 reserved free datasheet http://www..net/
chipset configuration registers 272 intel ? ich7 family datasheet 7.1.18 rp2d?root port 2 descriptor register offset address: 0130?0133h attribute: r/wo, ro default value: 02xx0002h size: 32-bit 7.1.19 rp2ba?root port 2 base address register offset address: 0138?013fh attribute: ro default value: 00000000000e1000h size: 64-bit 7.1.20 rp3d?root port 3 descriptor register offset address: 0140?0143h attribute: r/wo, ro default value: 03xx0002h size: 32-bit bit description 31:24 target port number (pn) ? ro. this field in dicates the target port number is 2h (root port #2). 23:16 target component id (tcid) ? r/wo. this field returns the value of the esd.cid (offset 0104h, bits 23:16) field programmed by platform bios, since the root port is in the same component as the rcrb. 15:2 reserved 1 link type (lt) ? ro. this bit indicates that the link points to a root port. 0 link valid (lv) ? ro. when rpc.pc (offset 0224h, bits 1:0) is ?01?, ?10?, or ?11?, or fd.pe2d (offset 3418h, bit 17) is set, the link for this root port is not valid (return 0). when rpc.pc is ?00? and fd.pe2 d is cleared, the link for this root port is valid (return 1). bit description 63:32 reserved 31:28 reserved 27:20 bus number (bn) ? ro. this field indicates the root po rt is on bus #0. 19:15 device number (dn) ? ro. this field in dicates the root port is on device #28. 14:12 function number (fn) ? ro. this field in dicates the root port is on function #1. 11:0 reserved bit description 31:24 target port number (pn) ? ro. this field in dicates the target port number is 3h (root port #3). 23:16 target component id (tcid) ? r/wo. this field returns the value of the esd.cid (offset 0104h, bits 23:16) field programmed by platform bios, since the root port is in the same component as the rcrb. 15:2 reserved 1 link type (lt) ? ro. this bit indicates that the link points to a root port. 0 link valid (lv) ? ro. when rpc.pc (offset 0224h, bits 1:0) is ?11?, or fd.pe3d (offset 3418h, bit 18) is set, the link for th is root port is not valid (return 0). when rpc.pc is ?00?, ?01?, or ?10?, and fd.pe3d is cl eared, the link for this root port is valid (return 1). free datasheet http://www..net/
intel ? ich7 family datasheet 273 chipset configuration registers 7.1.21 rp3ba?root port 3 base address register offset address: 0148?014fh attribute: ro default value: 00000000000e2000h size: 64-bit 7.1.22 rp4d?root port 4 descriptor register offset address: 0150?0153h attribute: r/wo, ro default value: 04xx0002h size: 32-bit 7.1.23 rp4ba?root port 4 base address register offset address: 0158?015fh attribute: ro default value: 00000000000e3000h size: 64-bit bit description 63:32 reserved 31:28 reserved 27:20 bus number (bn) ? ro. this field in dicates the root port is on bus #0. 19:15 device number (dn) ? ro. this field in dicates the root port is on device #28. 14:12 function number (fn) ? ro. this field in dicates the root port is on function #2. 11:0 reserved bit description 31:24 target port number (pn) ? ro. this field in dicates the target port number is 4h (root port #4). 23:16 target component id (tcid) ? r/wo. this field returns the value of the esd.cid (offset 0104h, bits 23:16) field programmed by platform bios, sinc e the root port is in the same component as the rcrb. 15:2 reserved 1 link type (lt) ? ro. this bit indicates that the link points to a root port. 0 link valid (lv) ? ro. when rpc.pc (offset 0224h, bits 1:0) is ?10? or ?11?, or fd.pe4d (offset 3418h, bit 19) is set, the link for this root port is not valid (return 0). when rpc.pc is ?00? or ?01? and fd.pe4d is cleared, the link for this root port is valid (return 1). bit description 63:32 reserved 31:28 reserved 27:20 bus number (bn) ? ro. this field in dicates the root port is on bus #0. 19:15 device number (dn) ? ro. this field in dicates the root port is on device #28. 14:12 function number (fn) ? ro. this field in dicates the root port is on function #3. 11:0 reserved free datasheet http://www..net/
chipset configuration registers 274 intel ? ich7 family datasheet 7.1.24 hdd?intel ? high definition audi o descriptor register offset address: 0160?0163h attribute: r/wo, ro default value: 15xx0002h size: 32-bit 7.1.25 hdba?intel ? high definition audi o base address register offset address: 0168?016fh attribute: ro default value: 00000000000d8000h size: 64-bit 7.1.26 rp5d?root port 5 descriptor register offset address: 0170?0173h attribute: r/wo, ro default value: 05xx0002h size: 32-bit bit description 31:24 target port number (pn) ? ro. this field indicates the target port number is 15h (intel ? high definition audio). 23:16 target component id (tcid) ? r/wo. this field returns the value of the esd.cid (offset 0104h, bits 23:16) field programmed by platform bios, since the root port is in the same component as the rcrb. 15:2 reserved 1 link type (lt) ? ro. this bit indicates that the link points to a root port. 0 link valid (lv) ? ro. when fd.zd (offset 3418h, bit 4) is set, the link to intel high definition audio is not valid (return 0). when fd.zd is cleared, the link to intel high definition audio is valid (return 1). bit description 63:32 reserved 31:28 reserved 27:20 bus number (bn) ? ro. this field indicates the root po rt is on bus #0. 19:15 device number (dn) ? ro. this field in dicates the root port is on device #27. 14:12 function number (fn) ? ro. this field in dicates the root port is on function #0. 11:0 reserved bit description 31:24 target port number (pn) ? ro. this field in dicates the target port number is 5h (root port #5). 23:16 target component id (tcid) ? r/wo. this field returns the value of the esd.cid (offset 0104h, bits 23:16) field programmed by platform bios, since the root port is in the same component as the rcrb. 15:2 reserved 1 link type (lt) ? ro. this bit indicates that the link points to a root port. 0 link valid (lv) ? ro. when fd.pe5d (offs et 3418h, bit 20) is set, the link for this root port is not valid (return 0). when fd.pe5d is cleared, th e link for this root port is valid (return 1). free datasheet http://www..net/
intel ? ich7 family datasheet 275 chipset configuration registers 7.1.27 rp5ba?root port 5 base address register offset address: 0178?017fh attribute: ro default value: 00000000000e4000h size: 64-bit 7.1.28 rp6d?root port 6 descriptor register offset address: 0180?0183h attribute: r/wo, ro default value: 06xx0002h size: 32-bit 7.1.29 rp6ba?root port 6 base address register offset address: 0188?018fh attribute: ro default value: 00000000000e5000h size: 64-bit bit description 63:32 reserved 31:28 reserved 27:20 bus number (bn) ? ro. this field in dicates the root port is on bus #0. 19:15 device number (dn) ? ro. this field in dicates the root port is on device #28. 14:12 function number (fn) ? ro. this field in dicates the root port is on function #4. 11:0 reserved bit description 31:24 target port number (pn) ? ro. this field in dicates the target port number is 6h (root port #6). 23:16 target component id (tcid) ? r/wo. this field returns the value of the esd.cid (offset 0104h, bits 23:16) field programmed by platform bios, sinc e the root port is in the same component as the rcrb. 15:2 reserved 1 link type (lt) ? ro. this bit indicates that the link points to a root port. 0 link valid (lv) ? ro. when rpc.pc2 (offset 0224h, bits 1:0) is ?01? or fd.pe6d (offset 3418h, bit 21) is set, the link for this root port is not valid (return 0). when rpc.pc is ?00? and fd.pe6d is cleared, the li nk for this root port is valid (return 1). bit description 63:32 reserved 31:28 reserved 27:20 bus number (bn) ? ro. this field in dicates the root port is on bus #0. 19:15 device number (dn) ? ro. this field in dicates the root port is on device #28. 14:12 function number (fn) ? ro. this field in dicates the root port is on function #5. 11:0 reserved free datasheet http://www..net/
chipset configuration registers 276 intel ? ich7 family datasheet 7.1.30 ilcl?internal link ca pabilities li st register offset address: 01a0?01a3h attribute: ro default value: 00010006h size: 32-bit 7.1.31 lcap?link capabilities register offset address: 01a4?01a7h attribute: ro/ r/wo default value: 00012441h size: 32-bit bit description 31:20 next capability offset (next) ? ro. indicates this is the last item in the list. 19:16 capability version (cv) ? ro. this field indicates the version of the capability structure. 15:0 capability id (cid) ? ro . this field indicates this is capability for dmi. bit description 31:18 reserved 17:15 desktop only l1 exit latency (el1) ? l1 not supported on dmi. 17:15 mobile/ ultra mobile only l1 exit latency (el1) ? ro. this field is set to 010b to indicate an exit latency of 2 us to 4 us. 14:12 l0s exit latency (el0) ? r/wo. this field indicates that exit latency is 128 ns to less than 256 ns. 11:10 desktop only active state link pm suppo rt (aspm) ? r/wo. this fi eld indicates that l0s is supported on dmi. 11:10 mobile/ ultra mobile only active state link pm support (aspm) ? r/wo. this field indicates the level of active state power management on dmi. 00 = neither l0s nor l1s are supported 01 = l0s entry supported on dmi 10 = l1 entry supported on dmi 11 = both l0s and l1 supported on dmi 9:4 maximum link width (mlw) ? indicate s the maximum link width is 4 ports. 3:0 maximum link speed (mls) ? indicates the link speed is 2.5 gb/s. free datasheet http://www..net/
intel ? ich7 family datasheet 277 chipset configuration registers 7.1.32 lctl?link control register offset address: 01a8?01a9h attribute: r/w default value: 0000h size: 16-bit 7.1.33 lsts?link status register offset address: 01aa?01abh attribute: ro default value: 0041h size: 16-bit bit description 15:8 reserved 7 extended synch (es) ? r/w. when set, this bit fo rces extended transmission of fts ordered sets when exiting l0s prior to entering l0 and extra sequences (mobile/ ultra mobile only) at exit from l1 prior to entering l0. 6:2 reserved 1:0 desktop only active state link pm control (apmc) ? r/w. this field indicates whether dmi should enter l0s. 00 = disabled 01 = l0s entry enabled 10 = reserved 11 = reserved 1:0 mobile/ ultra mobile only active state link pm control (apmc) ? r/w. this field indicates whether dmi should enter l0s or l1 or both. 00 = disabled 01 = l0s entry enabled 10 = l1 entry enabled 11 = l0s and l1 entry enabled bit description 15:10 reserved 9:4 negotiated link width (nlw) ? ro. negotiated link width is x4 (000100b). mobile/ultra mobile only: the ich7 may also indicate x2 (000010b), depending on (g)mch configuration. 3:0 link speed (ls) ? ro. link is 2.5 gb/s. free datasheet http://www..net/
chipset configuration registers 278 intel ? ich7 family datasheet 7.1.34 rpc?root port configuration register offset address: 0224?0227h attribute: r/w, ro default value: 0000000yh (y = 00xxb) size: 32-bit bit description 31:8 reserved 7 high priority port enable (hpe) ? r/w. 0 = the high priority path is not enabled. 1 = the port selected by the hpp field in this register is enabled for high priority. it will be arbitrated above all other vc0 (including integrated vc0) devices. 6:4 high priority port (hpp) ? r/w. this field controls wh ich port is enabled for high priority when the hpe bit in this register is set. 111 = reserved 110 = reserved 101 = port 6 100 = port 5 100 = port 4 010 = port 3 001 = port 2 000 = port 1 3 reserved 2 port configuration2 (pc2) ? ro. this bit controls how the pci bridges are organized in various modes of operation for ports 5 and 6. 1 = reserved 0 = 2 x1s, port 5 (x1), port 6 (x1) this bit is in the resume well and is only reset by rsmrst#. 1:0 port configuration (pc) ? ro. this field controls how the pci bridges are organized in various modes of operation. fo r the following mappings, if a port is not shown, it is considered a x1 port with no connection. these bits represent the strap values of acz_sdout (bit 1) and acz_sync (bit 0) when tp3 is not pulled low at the rising edge of pwrok. 11 = 1 x4, port 1 (x4) 10 = reserved 01 = reserved 00 = 4 x1s, port 1 (x1), port 2 (x1), port 3 (x1), port 4 (x1) these bits live in the resume we ll and are only reset by rsmrst#. free datasheet http://www..net/
intel ? ich7 family datasheet 279 chipset configuration registers 7.1.35 rpfn?root port function number for pci express root ports (desktop and mobile only) offset address: 0238?023bh attribute: r/wo, ro default value: 00543210h size: 32-bit for the pci express root ports, the assignment of a function number to a root port is not fixed. bios may re-assign the function numbers on a port by port basis. this capability will allow bios to disable/hide any root port and have still have functions 0 thru n-1 where n is the total number of enabled root ports. port numbers will remain fixed to a physical root port. the existing root port function disable registers operate on physical ports (not functions). port configuration (1x4, 4x1, etc.) is no t affected by the logical function number assignment and is associated with physical ports. bit description 31:23 reserved 22:20 root port 6 function number (rp6fn) ? r/wo. these bits set the function number for pci express root port 6. this root port function number must be a unique value from the other r oot port function numbers. 19 reserved 18:16 root port 5 function number (rp5fn) ? r/wo. these bits set the function number for pci express root port 5. this root port function number must be a unique value from the other r oot port function numbers. 15 reserved 14:12 root port 4 function number (rp4fn) ? r/wo. these bits set the function number for pci express root port 4. this root port function number must be a unique value from the other r oot port function numbers. 11 reserved 10:8 root port 3 function number (rp3fn) ? r/wo. these bits set the function number for pci express root port 3. this root port function number must be a unique value from the other r oot port function numbers. 7 reserved 6:4 root port 2 function number (rp2fn) ? r/wo. these bits set the function number for pci express root port 2. this root port function number must be a unique value from the other r oot port function numbers. 3 reserved 2:0 root port 1 function number (rp1fn) ? r/wo. these bits set the function number for pci express root port 1. this root port function number must be a unique value from the other r oot port function numbers. free datasheet http://www..net/
chipset configuration registers 280 intel ? ich7 family datasheet 7.1.36 trsr?trap status register offset address: 1e00?1e03h attribute: r/wc, ro default value: 00000000h size: 32-bit 7.1.37 trcr?trapped cycle register offset address: 1e10?1e17h attribute: ro default value: 0000000000000000h size: 64-bit this register saves information about the i/o cycle that was trapped and generated the smi# for software to read. 7.1.38 twdr?trapped write data register offset address: 1e18?1e1fh attribute: ro default value: 0000000000000000h size: 64-bit this register saves the data from i/o write cycles that are trapped for software to read. bit description 31:4 reserved 3:0 cycle trap smi# status (ctss) ? r/wc. these bits are set by hardware when the corresponding cycle trap register is enable d and a matching cycle is received (and trapped). these bits are or?ed together to create a single status bit in the power management register space. note that the smi# and trapping must be enabled in order to set these bits. these bits are set before the completion is generated for the trapped cycle, thereby ensuring that the processor can enter the smi# handler when the instruction completes. each status bit is cleared by writing a 1 to th e corresponding bit location in this register. bit description 63:25 reserved 24 read/write# (rwi) ? ro. 0 = trapped cycle was a write cycle. 1 = trapped cycle was a read cycle. 23:20 reserved 19:16 active-high byte enables (ahbe) ? ro. this is the dword-aligned byte enables associated with the trapped cycle. a 1 in any bit location indicates that the corresponding byte is enabled in the cycle. 15:2 trapped i/o address (tioa) ? ro. this is the dword-aligned address of the trapped cycle. 1:0 reserved bit description 63:32 reserved 31:0 trapped i/o data (tiod) ? ro. dword of i/o write da ta. this field is undefined after trapping a read cycle. free datasheet http://www..net/
intel ? ich7 family datasheet 281 chipset configuration registers 7.1.39 iotrn ? i/o trap register (0-3) offset address: 1e80?1e87h register 0 attribute: r/w, ro 1e88?1e8fh register 1 1e90?1e97h register 2 1e98?1e9fh register 3 default value: 0000000000000000h size: 64-bit these registers are used to specify the set of i/o cycles to be trapped and to enable this functionality. bit description 63:50 reserved 49 read/write mask (rwm) ? r/w. 0 = the cycle must match the type specified in bit 48. 1 = trapping logic will operate on both read and write cycles. 48 read/write# (rwio) ? r/w. 0 = write 1 = read note: the value in this field does not matter if bit 49 is set. 47:40 reserved 39:36 byte enable mask (bem) ? r/w. a 1 in any bit position indicates that any value in the corresponding byte enable bit in a received cycle will be treated as a match. the corresponding bit in the byte en ables field, below, is ignored. 35:32 byte enables (tbe) ? r/w. active-high dword-aligned byte enables. 31:24 reserved 23:18 address[7:2] mask (adma) ? r/w. a 1 in any bit position indicates that any value in the corresponding address bit in a receiv ed cycle will be treated as a match. the corresponding bit in the addres s field, below, is ignored. the mask is only provided for the lower 6 bits of the dword address, al lowing for traps on address ranges up to 256 bytes in size. 17:16 reserved 15:2 i/o address[15:2] (ioad) ? r/w. dword-aligned address 1 reserved 0 trap and smi# enable (trse) ? r/w. 0 = trapping and smi# logic disabled. 1 = the trapping logic specified in this register is enabled. free datasheet http://www..net/
chipset configuration registers 282 intel ? ich7 family datasheet 7.1.40 tctl?tco configuration register offset address: 3000?3000h attribute: r/w default value: 00h size: 8-bit bit description 7 tco irq enable (ie) ? r/w. 0 = tco irq is disabled. 1 = tco irq is enabled, as sele cted by the tco_irq_sel field. 6:3 reserved 2:0 tco irq select (is) ? r/w. specifies on which irq the tco will internally appear. if not using the apic, the tco interrupt must be routed to irq9-11, and that interrupt is not sharable with the serirq stream, but is shar eable with other pci interrupts. if using the apic, the tco interrupt can also be mapped to irq20-23, and can be shared with other interrupt. 000 = irq 9 001 = irq 10 010 = irq 11 011 = reserved 100 = irq 20 (only if apic enabled) 101 = irq 21 (only if apic enabled) 110 = irq 22 (only if apic enabled) 111 = irq 23 (only if apic enabled) note: when setting the these bits, the ie bit should be cleared to prevent glitching. note: when the interrupt is mapped to apic interrupts 9, 10 or 11, the apic should be programmed for active-h igh reception. when the interrupt is mapped to apic interrupts 20 through 23, the apic should be programmed for active- low reception. free datasheet http://www..net/
intel ? ich7 family datasheet 283 chipset configuration registers 7.1.41 d31ip?device 31 in terrupt pi n register offset address: 3100?3103h attribute: r/w, ro default value: 00042210h size: 32-bit bit description 31:16 reserved 15:12 sm bus pin (smip) ? r/w. this field indicates which pin the smbus controller drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?fh = reserved 11:8 sata pin (sip) ? r/w. this field indicates which pin the sata controller drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?fh = reserved 7:4 pata pin (pip) ? r/w. this field indicates which pin the pata controller drives as its interrupt. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserved 3:0 pci bridge pin (pcip) ? ro. currently, the pc i bridge does not gene rate an interrupt, so this field is read-only and 0. free datasheet http://www..net/
chipset configuration registers 284 intel ? ich7 family datasheet 7.1.42 d30ip?device 30 in terrupt pin register offset address: 3104?3107h attribute: r/w, ro default value: 00002100h size: 32-bit bit description 31:16 reserved 15:12 (desktop and mobile only) ac ?97 modem pin (amip) ? r/w. this field indicate s which pin the ac ?97 modem controller drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?fh = reserved 15:12 (ultra mobile only) reserved 11:8 (desktop and mobile only) ac ?97 audio pin (aaip) ? r/w. this field indicate s which pin the ac ?97 audio controller drives as its interrupt. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserved 11:8 (ultra mobile only) reserved 7:4 reserved 3:0 lpc bridge pin (lip) ? ro. currently, the lp c bridge does not generate an interrupt, so this field is read-only and 0. free datasheet http://www..net/
intel ? ich7 family datasheet 285 chipset configuration registers 7.1.43 d29ip?device 29 in terrupt pi n register offset address: 3108?310bh attribute: r/w default value: 10004321h size: 32-bit bit description 31:28 ehci pin (eip) ? r/w. this field indicates which pin the ehci contro ller drives as its interrupt. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserved 27:16 reserved 15:12 uhci #3 pin (u3p) ? r/w. this field indicates wh ich pin the uhci controller #3 (ports 6 and 7) drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# 3h = intc# 4h = intd# (default) 5h?fh = reserved 11:8 uhci #2 pin (u2p) ? r/w. this field indicates wh ich pin the uhci controller #2 (ports 4 and 5) drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# 3h = intc# (default) 4h = intd# 5h?fh = reserved 7:4 uhci #1 pin (u1p) ? r/w. this field indicates wh ich pin the uhci controller #1 (ports 2 and 3) drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?fh = reserved 3:0 uhci #0 pin (u0p) ? r/w. this field indicates wh ich pin the uhci controller #0 (ports 0 and 1) drives as its interrupt. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserved free datasheet http://www..net/
chipset configuration registers 286 intel ? ich7 family datasheet 7.1.44 d28ip?device 28 interrupt pin regist er (desktop and mobile only) offset address: 310c?310fh attribute: r/w default value: 00214321h size: 32-bit bit description 31:24 reserved 23:20 pci express #6 pin (p6ip) ? r/w. this field indicate s which pin the pci express* port #6 drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?fh = reserved 19:16 pci express #5 pin (p5ip) ? r/w. this field indicates which pin the pci express port #5 drives as its interrupt. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserved 15:12 pci express #4 pin (p4ip) ? r/w. this field indicate s which pin the pci express* port #4 drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# 3h = intc# 4h = intd# (default) 5h?fh = reserved 11:8 pci express #3 pin (p3ip) ? r/w. this field indicates which pin the pci express port #3 drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# 3h = intc# (default) 4h = intd# 5h?fh = reserved 7:4 pci express #2 pin (p2ip) ? r/w. this field indicates which pin the pci express port #2 drives as its interrupt. 0h = no interrupt 1h = inta# 2h = intb# (default) 3h = intc# 4h = intd# 5h?fh = reserved free datasheet http://www..net/
intel ? ich7 family datasheet 287 chipset configuration registers 7.1.45 d27ip?device 27 in terrupt pi n register offset address: 3110?3113h attribute: r/w default value: 00000001h size: 32-bit 7.1.46 d31ir?device 31 in terrupt route register offset address: 3140?3141h attribute: r/w default value: 3210h size: 16-bit 3:0 pci express #1 pin (p1ip) ? r/w.this field iindicates which pin the pci express port #1 drives as its interrupt. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h?fh = reserved bit description bit description 31:4 reserved 3:0 intel ? high definition audio pin (zip) ? r/w. this field in dicates which pin the intel high definition audio cont roller drives as its interrupt. 0h = no interrupt 1h = inta# (default) 2h = intb# 3h = intc# 4h = intd# 5h-fh = reserved bit description 15 reserved 14:12 interrupt d pin route (idr) ? r/w. this field indicate s which physical pin on the intel ? ich7 is connected to the intd# pi n reported for device 31 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: ultra mobile. pirqa#?pirqd# are not on the ich7u. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 11 reserved free datasheet http://www..net/
chipset configuration registers 288 intel ? ich7 family datasheet 10:8 interrupt c pin route (icr) ? r/w. this field indicate s which physical pin on the ich7 is connected to the intc# pin reported for device 31 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 7 reserved 6:4 interrupt b pin route (ibr) ? r/w. this field indicate s which physical pin on the intel ? ich7 is connected to the intb# pin reported for device 31 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 3 reserved 2:0 interrupt a pin route (iar) ? r/w. this field indicate s which physical pin on the ich7 is connected to the inta# pin reported for device 31 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 289 chipset configuration registers 7.1.47 d30ir?device 30 in terrupt route register offset address: 3142?3143h attribute: r/w default value: 3210h size: 16-bit bit description 15 reserved 14:12 interrupt d pin route (idr) ? r/w. this field indicate s which physical pin on the intel ? ich7 is connected to the intd# pi n reported for device 30 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# pirqa#?pirqd# are not on ultra mobile. even though the register defaults to a non- ich7u pin routing, bios default se ts the register for pirqe#?pirqh#. 11 reserved 10:8 interrupt c pin route (icr) ? r/w. this field indicate s which physical pin on the ich7 is connected to the intc# pi n reported for device 30 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 7 reserved 6:4 interrupt b pin route (ibr) ? r/w. this field indicate s which physical pin on the ich7 is connected to the intb# pi n reported for device 30 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 3 reserved free datasheet http://www..net/
chipset configuration registers 290 intel ? ich7 family datasheet 7.1.48 d29ir?device 29 interrupt route register offset address: 3144?3145h attribute: r/w default value: 3210h size: 16-bit 2:0 interrupt a pin route (iar) ? r/w. this field indicate s which physical pin on the ich7 is connected to the inta# pin reported for device 30 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. bit description bit description 15 reserved 14:12 interrupt d pin route (idr) ? r/w. this field indicate s which physical pin on the intel ? ich7 is connected to the intd# pin reported for device 29 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 11 reserved 10:8 interrupt c pin route (icr) ? r/w. this field indicate s which physical pin on the ich7 is connected to the intc# pin reported for device 29 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 7 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 291 chipset configuration registers 6:4 interrupt b pin route (ibr) ? r/w. this field indicate s which physical pin on the ich7 is connected to the intb# pi n reported for device 29 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 3 reserved 2:0 interrupt a pin route (iar) ? r/w. this field indicate s which physical pin on the ich7 is connected to the inta# pi n reported for device 29 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. bit description free datasheet http://www..net/
chipset configuration registers 292 intel ? ich7 family datasheet 7.1.49 d28ir?device 28 interrupt route register offset address: 3146?3147h attribute: r/w default value: 3210h size: 16-bit bit description 15 reserved 14:12 interrupt d pin route (idr) ? r/w. this field indicate s which physical pin on the intel ? ich7 is connected to the intd# pin reported for device 28 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 11 reserved 10:8 interrupt c pin route (icr) ? r/w. this field indicate s which physical pin on the ich7 is connected to the intc# pin reported for device 28 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 7 reserved 6:4 interrupt b pin route (ibr) ? r/w. this field indicate s which physical pin on the ich7 is connected to the intb# pin reported for device 28 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 3 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 293 chipset configuration registers 7.1.50 d27ir?device 27 in terrupt route register offset address: 3148?3149h attribute: r/w default value: 3210h size: 16-bit 2:0 interrupt a pin route (iar) ? r/w. this field indicate s which physical pin on the ich7 is connected to the inta# pi n reported for device 28 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. bit description bit description 15 reserved 14:12 interrupt d pin route (idr) ? r/w. this field indicate s which physical pin on the intel ? ich7 is connected to the intd# pi n reported for device 27 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# 3h = pirqd# (default) 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 11 reserved 10:8 interrupt c pin route (icr) ? r/w. this field indicate s which physical pin on the ich7 is connected to the intc# pi n reported for device 27 functions. 0h = pirqa# 1h = pirqb# 2h = pirqc# (default) 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 7 reserved free datasheet http://www..net/
chipset configuration registers 294 intel ? ich7 family datasheet 7.1.51 oic?other interrupt control register offset address: 31ff?31ffh attribute: r/w default value: 00h size: 8-bit 6:4 interrupt b pin route (ibr) ? r/w. this field indicate s which physical pin on the ich7 is connected to the intb# pin reported for device 27 functions. 0h = pirqa# 1h = pirqb# (default) 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. 3 reserved 2:0 interrupt a pin route (iar) ? r/w. this field indicate s which physical pin on the ich7 is connected to the inta# pin reported for device 27 functions. 0h = pirqa# (default) 1h = pirqb# 2h = pirqc# 3h = pirqd# 4h = pirqe# 5h = pirqf# 6h = pirqg# 7h = pirqh# note: pirqa#?pirqd# are not on ultra mobile. eventhough the register defaults to a non-ich7u pin routing, bios default sets the register for pirqe#?pirqh#. bit description bit description 7:2 reserved 1 coprocessor error enable (cen) ? r/w. 0 = ferr# will not generate irq13 nor ignne#. 1 = if ferr# is low, the intel ? ich7 generates irq13 internal ly and holds it until an i/o port f0h write. it will also drive ignne# active. 0 apic enable (aen) ? r/w. 0 = the internal ioxapic is disabled. 1 = enables the internal ioxa pic and its address decode. free datasheet http://www..net/
intel ? ich7 family datasheet 295 chipset configuration registers 7.1.52 rc?rtc configuration register offset address: 3400?3403h attribute: r/w, r/wlo default value: 00000000h size: 32-bit 7.1.53 hptc?high precision ti mer configuration register offset address: 3404?3407h attribute: r/w default value: 00000000h size: 32-bit bit description 31:5 reserved 4 upper 128 byte lock (ul) ? r/wlo. 0 = bytes not locked. 1 = bytes 38h?3fh in the upper 128-byte bank of rtc ram are locked and cannot be accessed. writes will be dro pped and reads will not return valid data. this bit is reset on system reset. 3 lower 128 byte lock (ll) ? r/wlo. 0 = bytes not locked. 1 = bytes 38h?3fh in the lower 128-byte bank of rtc ram are locked and cannot be accessed. writes will be dropped and reads will not return valid data. bit reset on system reset. 2 upper 128 byte enable (ue) ? r/w. 0 = bytes locked. 1 = the upper 128-byte bank of rtc ram can be accessed. 1:0 reserved bit description 31:8 reserved 7 address enable (ae) ? r/w. 0 = address disabled. 1 = the intel ? ich7 will decode the high prec ision timer memory address range selected by bits 1:0 below. 6:2 reserved 1:0 address select (as) ? r/w. this field selects 1 of 4 possible memory address ranges for the high precision time r functionality. the encodings are: 00 = fed0_0000h ? fed0_03ffh 01 = fed0_1000h ? fed0_13ffh 10 = fed0_2000h ? fed0_23ffh 11 = fed0_3000h ? fed0_33ffh free datasheet http://www..net/
chipset configuration registers 296 intel ? ich7 family datasheet 7.1.54 gcs?general control and status register offset address: 3410?3413h attribute:r/w, r/wlo default value: 00000yy0h (yy = xx0000x0b) size: 32-bit bit description 31:12 reserved 11:10 boot bios straps (bbs): this field determines the dest ination of accesses to the bios memory range. the default values for these bits represent the strap values of gnt5#/gpio17 (bit 11) and gnt4#/gpio48 (bit 10) (active-high logic levels) at the rising edge of pwrok. when pci is selected, the top 16 mb of memory below 4 gb (ff00_0000h to ffff_ffffh) is accepted by the primary side of the pci-to-pci bridge and forwarded to the pci bus. this allows systems with corrupted or unprogrammed flash to boot from a pci device. the pci-to-p ci bridge memory space enable bit does not need to be set (nor any other bits) for these cycles to go to pci. note that bios decode range bits and the other bios prot ection bits have no effe ct when pci is selected. when spi or lpc is selected, the range that is decoded is furthe r qualified by other configuration bits described in the respective sections. the value in this field can be overwritten by software as long as the bios interface lock-down (bit 0) is not set. 9 server error reporting mode (serm) ? r/w. 0 = the intel ? ich7 is the final target of all erro rs. the (g)mch sends a messages to the ich7 for the purpose of generating nmi. 1 = the (g)mch is the final target of all errors from pci express* and dmi. in this mode, if the ich7 detects a fatal, non-fatal, or correctable error on dmi or its downstream ports, it send s a message to the (g)mch. if the ich7 receives an err_* message from the downstream po rt, it sends that message to the (g)mch. 8 reserved 7 (mobile/ ultra mobile only) mobile ide configuratio n lock down (micld) ? r/wlo. 0 = disabled. 1 = buc.prs (offset 3414h, bit 1) is locked and cannot be written until a system reset occurs. this preven ts rogue software from chan ging the default state of the pata pins during boot after bios conf igures them. this bit is write once, and is cleared by system reset and when returning from the s3/s4/s5 states. 7 (desktop only) reserved 6 (mobile/ ultra mobile only) ferr# mux enable (fme) ? r/w. this bit enables fe rr# to be a processor break event indication. 0 = disabled. 1 = the ich7-m examines ferr# during a c2, c3, or c4 state as a break event. see chapter 5.14.5 for a function al description. bits 11:10 description 00b reserved 01b spi (supports shared flash with lan) 10b pci 11b lpc free datasheet http://www..net/
intel ? ich7 family datasheet 297 chipset configuration registers 6 (desktop only) reserved 5 no reboot (nr) ? r/w. this bit is set when the ?no reboot? strap (spkr pin on intel ? ich7) is sampled high on pwrok. this bi t may be set or cleared by software if the strap is sampled low but may not over ride the strap when it indicates ?no reboot?. 0 = system will reboot upon the second timeout of the tco timer. 1 = the tco timer will count down and gene rate the smi# on the first timeout, but will not reboot on the second timeout. 4 alternate access mode enable (ame) ? r/w. 0 = disabled. 1 = alternate access re ad only registers can be writte n, and write only registers can be read. before entering a low power st ate, several register s from powered down parts may need to be saved. in the majori ty of cases, this is not an issue, as registers have read and write paths. ho wever, several of the isa compatible registers are either read only or write only. to get data out of write-only registers, and to restore data into read -only registers, the ich7 implements an alternate access mode. for a list of these registers see section 5.14.10 . 3 reserved. 2 reserved page route (rpr) ? r/w. this bit determ ines where to send the reserved page registers. th ese addresses are sent to pci or lpc for the purpose of generating post codes. the i/o addresses modified by th is field are: 80h, 84h, 85h, 86h, 88h, 8ch, 8dh, and 8eh. 0 = writes will be forwarded to lpc, shad owed within the ich7, and reads will be returned from the internal shadow 1 = writes will be forwarded to pci, shad owed within the ich7, and reads will be returned from the internal shadow. note: if some writes are completed to lpc/pci to these i/o ranges, and then this bit is flipped such that writes will now go to th e other interface, the reads will not return what was last written. shadowing is perfo rmed on each interface. the aliases for these register s, at 90h, 94h, 95h, 96h, 98h, 9ch, 9dh, and 9eh, are always decoded to lpc. 1 reserved 0 bios interface lo ck-down (bild) ? r/wlo. 0 = disabled. 1 = prevents buc.ts (offset 3414, bit 0) and gcs.bbs (offset 3410h, bits 11:10) from being changed. this bit can on ly be written from 0 to 1 once. bit description free datasheet http://www..net/
chipset configuration registers 298 intel ? ich7 family datasheet 7.1.55 buc?backed up control register offset address: 3414?3414h attribute: r/w default value: 0000000xb (desktop only) size: 8-bit 0000001xb (mobile/ultra mobile only) all bits in this register are in th e rtc well and only cleared by rtcrst#. bit description 7:3 reserved 2 cpu bist enable (cbe) ? r/w. this bit is in the resume well and is reset by rsmrst#, but not pltr st# nor cf9h writes. 0 = disabled. 1 = the init# signals will be driven ac tive when cpurst# is active. init# and init3_3v# will go inactive with the same timings as the other processor i/f signals (hold time af ter cpurst# inactive). 1 (mobile/ ultra mobile only) pata reset state (prs) ? r/w. 0 = disabled. 1 = the reset state of the pata pins will be driven/tri-state. 1 (desktop only) reserved 0 top swap (ts) ? r/w. 0 = intel ? ich7 will not invert a16. 1 = ich7 will invert a16 for cycles going to the bios space (but not the feature space) in the fwh. if the ich7 is strapped for top-swap (gnt3# is low at rising edge of pwrok), then this bit cannot be cleared by software. the strap jumper should be removed and the system rebooted. free datasheet http://www..net/
intel ? ich7 family datasheet 299 chipset configuration registers 7.1.56 fd?function disable register offset address: 3418?341bh attribute: r/w, ro default value: see bit description size: 32-bit the uhci functions must be disabled from highest function number to lowest. for example, if only three uhcis are wanted, software must disable uhci #4 (ud4 bit set). when disabling uhcis, the ehci structural parameters registers must be updated with coherent information in ?number of companion controllers? and ?n_ports? fields. when disabling a function, only the config uration space is disabled. software must ensure that all functionality within a controller that is not desired (such as memory spaces, i/o spaces, and dma engines) is di sabled prior to disabling the function. when a function is disabled, software must not attempt to re-enable it. a disabled function can only be re-enabled by a platform reset. bit description 31:22 reserved 21 pci express 6 disable (pe6d) ? r/w. when disabled, the link for this port is put into the ?link down? state. 0 = pci express* port #6 is enabled. (default) 1 = pci express port #6 is disabled. note: for ich7-u ultra mobile, this bit must be set to 1. 20 pci express 5 disable (pe5d) ? r/w. when disabled, the link for this port is put into the link down state. 0 = pci express port #5 is enabled. (default) 1 = pci express port #5 is disabled. note: for ich7-u ultra mobile, this bit must be set to 1. 19 pci express 4 disable (pe4d) ? r/w. dwhen disabled, the link for this port is put into the ?link down? state. 0 = pci express* port #4 is enabled. (default) 1 = pci express port #4 is disabled. note: for ich7-u ultra mobile, this bit must be set to 1. 18 pci express 3 disable (pe3d) ? r/w. when disabled, the link for this port is put into the link down state. 0 = pci express port #3 is enabled. (default) 1 = pci express port #3 is disabled. note: for ich7-u ultra mobile, this bit must be set to 1. 17 pci express 2 disable (pe2d) ? r/w. when disabled, the link for this port is put into the link down state. 0 = pci express port #2 is enabled. (default) 1 = pci express port #2 is disabled. note: for ich7-u ultra mobile, this bit must be set to 1. 16 pci express 1 disable (pe1d) ? r/w. when disabled, the link for this port is put into the link down state. 0 = pci express port #1 is enabled. (default) 1 = pci express port #1 is disabled. note: for ich7-u ultra mobile, this bit must be set to 1. free datasheet http://www..net/
chipset configuration registers 300 intel ? ich7 family datasheet 15 ehci disable (ehcid) ? r/w. 0 = the ehci is enabled. (default) 1 = the ehci is disabled. 14 lpc bridge disable (lbd) ? r/w. 0 = the lpc bridge is enabled. (default) 1 = the lpc bridge is disabled. unlike the ot her disables in this register, the following additional spaces will no longer be decoded by the lpc bridge: ? memory cycles below 16 mb (1000000h) ? i/o cycles below 64 kb (10000h) ? the internal i/oxapic at fec0_0000 to fecf_ffff memory cycles in the lpc bios range below 4 gb will still be deco ded when this bit is set, but the aliases at the top of 1 mb (the e and f segment) no longer will be decoded. 13:12 reserved 11 uhci #4 disable (u4d) ? r/w. 0 = the 4th uhci (ports 6 an d 7) is enabled. (default) 1 = the 4th uhci (ports 6 and 7) is disabled. 10 uhci #3 disable (u3d) ? r/w. 0 = the 3rd uhci (ports 4 an d 5) is enabled. (default) 1 = the 3rd uhci (ports 4 and 5) is disabled. 9 uhci #2 disable (u2d) ? r/w. 0 = the 2nd uhci (ports 2 and 3) is enabled. (default) 1 = the 2nd uhci (ports 2 and 3) is disabled. 8 uhci #1 disable (u1d) ? r/w. 0 = the 1st uhci (ports 0 an d 1) is enabled. (default) 1 = the 1st uhci (ports 0 and 1) is disabled. 7 hide internal lan (hil) ? r/w. 0 = the lan controller is enabled. (default) 1 = the lan controller is disabled and will not decode configuration cycles off of pci note: for ich7-u ultra mobile, this bit must be set to 1. . 6 ac ?97 modem disable (amd) ? r/w. 0 = the ac ?97 modem function is enabled. (default) 1 = the ac ?97 modem function is disabled. note: for ich7-u ultra mobile, this bit must be set to 1. 5 ac ?97 audio disable (aad) ? r/w. 0 = the ac ?97 audio function is enabled. (default) 1 = the ac ?97 audio function is disabled. note: for ich7-u ultra mobile, this bit must be set to 1. 4 intel ? high definition audi o disable (zd) ? r/w. 0 = the intel high definition audio controller is enabled. (default) 1 = the intel high definition audio controll er is disabled and its pci configuration space is not accessible. 3 sm bus disable (sd) ? r/w. 0 = the sm bus controller is enabled. (default) 1 = the sm bus controller is disabled. in ic h5 and previous, this also disabled the i/ o space. in the intel ? ich7, it only disables the configuration space. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 301 chipset configuration registers 7.1.57 cg?clock gating (mobile/ultra mobile only) offset address: 341c?341fh attribute: r/w, ro default value: 00000000h size: 32-bit 2 serial ata disable (sad) ? r/w. default is 0. 0 = the sata controller is enabled. 1 = the sata controller is disabled. note: for ich7-u ultra mobile, this bit must be set to 1. 1 parallel ata disable (pad) ? r/w. 0 = the pata controller is enabled. (default) 1 = the pata controller is disabled and its pci configuration space is not accessible. 0 reserved bit description bit description 31 legacy (lpc) dynamic clock gate enable ? r/w. 0 = legacy dynamic clock gating is disabled 1 = legacy dynamic clock gating is enabled 30 pata dynamic clock gate enable ? r/w. 0 = pata dynamic clock gating is disabled 1 = pata dynamic clock gating is enabled 29:28 usb uhci dynamic clock gate enable ? r/w. 0 = usb uhci dynamic clock gating is disabled 1 = usb uhci dynamic cl ock gating is enabled 0 = reserved 1 = reserved 27 sata port 3 dynamic clock gate enable ? r/w. 0 = sata port 3 dynamic clock gating is disabled 1 = sata port 3 dynamic clock gating is enabled note: for ich7-u ultra mobile, this bit must be set to 0. 26 sata port 2 dynamic clock gate enable ? r/w. 0 = sata port 2 dynamic clock gating is disabled 1 = sata port 2 dynamic clock gating is enabled note: for ich7-u ultra mobile, this bit must be set to 0. 25 sata port 1 dynamic clock gate enable ? r/w. 0 = sata port 1 dynamic clock gating is disabled 1 = sata port 1 dynamic clock gating is enabled note: for ich7-u ultra mobile, this bit must be set to 0. 24 sata port 0 dynamic clock gate enable ? r/w. 0 = sata port 0 dynamic clock gating is disabled 1 = sata port 0 dynamic clock gating is enabled note: for ich7-u ultra mobile, this bit must be set to 0. free datasheet http://www..net/
chipset configuration registers 302 intel ? ich7 family datasheet 23 ac ?97 static clock gate enable ? r/w. 0 = ac ?97 static clock gating is disabled 1 = ac ?97 static clock gating is enabled note: for ich7-u ultra mobile, this bit must be set to 0. 27:23 reserved 22 high definition audio dynamic clock gate enable ? r/w. 0 = high definition audio dynamic clock gating is disabled 1 = high definition audio dynamic clock gating is enabled 21 high definition audio static clock gate enable ? r/w. 0 = high definition audio static clock gating is disabled 1 = high definition audio static clock gating is enabled 20 usb ehci static clock gate enable ? r/w. 0 = usb ehci static cl ock gating is disabled 1 = usb ehci static clock gating is enabled 19 usb ehci dynamic clock gate enable ? r/w. 0 = usb ehci dynamic cl ock gating is disabled 1 = usb ehci dynamic clock gating is enabled 18:17 reserved 16 pci dynamic gate enable ? r/w. funcitonality reserved . bios must ensure bit is 0. 15:4 reserved 3 dmi and pci express* rx dynamic clock gate enable ? r/w. 0 = dmi and pci express root port rx dynamic clock gating is disabled 1 = dmi and pci express root port rx dynamic clock gating is enabled 2 pci express tx dynami c clock gate enable ? r/w. 0 = pci express root port tx dy namic clock gating is disabled 1 = pci express root port tx dy namic clock gating is enabled note: for ich7-u ultra mobile, this bit must be set to 0. 1 dmi tx dynamic clock gate enable ? r/w. 0 = dmi tx dynamic clock gating is disabled 1 = dmi tx dynamic clock gating is enabled 0 pci express root port static clock gate enable ? r/w. 0 = pci express root port stat ic clock gating is disabled 1 = pci express root port stat ic clock gating is enabled note: for ich7-u ultra mobile, this bit must be set to 0. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 303 lan controller registers (b1:d8:f0) (desktop and mobile only) 8 lan controller registers (b1:d8:f0) (desktop and mobile only) note: lan is not supported on ich7-u ultra mobile. the ich7 integrated lan contro ller appears to reside at pci device 8, function 0 on the secondary side of the ich7?s virtual pci-to-p ci bridge. this is typically bus 1, but may be assigned a different number dependin g upon system configuration. the lan controller acts as both a master and a slave on the pci bus. as a master, the lan controller interacts with the system main memory to access data for transmission or deposit received data. as a slave, some of the lan controller?s control structures are accessed by the host processor to read or write information to the on-chip registers. the processor also provides the lan controller with the necessary commands and pointers that allow it to process receive and transmit data. 8.1 pci configuration registers (lan controller?b1:d8:f0) note: address locations that are not shown should be treated as reserved (see section 6.2 for details). . table 8-1. lan controller pci register address map (lan controller?b1:d8:f0) (sheet 1 of 2) offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description. ro 04h?05h pcicmd pci command 0000h ro, r/w 06h?07h pcists pci status 0290h ro, r/wc 08h rid revision identification see register description. ro 0ah scc sub class code 00h ro 0bh bcc base class code 02 ro 0ch cls cache line size 00h r/w 0dh pmlt primary master latency timer 00h r/w 0eh headtyp header type 00h ro 10h?13h csr_mem_base csr memory?mapped base address 00000008h r/w, ro 14h?17h csr_io_base csr i/o?mapped base address 00000001h r/w, ro 2ch?2dh svid subsystem vendor identification 0000h ro 2eh?2fh sid subsystem identification 0000h ro 34h cap_ptr capabilities pointer dch ro 3ch int_ln interrupt line 00h r/w 3dh int_pn interrupt pin 01h ro 3eh min_gnt minimum grant 08h ro free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 304 intel ? ich7 family datasheet 8.1.1 vid?vendor identification register (lan controller?b1:d8:f0) offset address: 00h ? 01h attribute: ro default value: 8086h size: 16 bits 8.1.2 did?device identi fication register (lan controller?b1:d8:f0) offset address: 02h ? 03h attribute: ro default value: see bit description size: 16 bits 3fh max_lat maximum latency 38h ro dch cap_id capability id 01h ro ddh nxt_ptr next item pointer 00h ro deh?dfh pm_cap power ma nagement capabilities fe21h (desktop only) 7e21h (mobile only) ro e0h?e1h pmcsr power management control/ status 0000h r/w, ro, r/wc e3 pcidata pci power management data 00h ro table 8-1. lan controller pci register addr ess map (lan controller?b1:d8:f0) (sheet 2 of 2) offset mnemonic register name default type bit description 15:0 vendor id ? ro. this is a 16-bit value assigned to intel. bit description 15:0 device id ? ro. this is a 16-b it value assigned to the intel ? ich7 integrated lan controller. notes: 1. if the eeprom is not present (or not prop erly programmed), reads to the device id return the default value referred to in the intel ? i/o controller hub 7 (ich7) family specification update. 2. if the eeprom is present (and properly programmed) and if the value of word 23h is not 0000h or ffffh, the device id is loaded from the eeprom, word 23h after the hardware reset. (see section 8.1.14 - sid, subsystem id of lan controller for detail) free datasheet http://www..net/
intel ? ich7 family datasheet 305 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.1.3 pcicmd?pci command register (lan controller?b1:d8:f0) offset address: 04h ? 05h attribute: ro, r/w default value: 0000h size: 16 bits bit description 15:11 reserved 10 interrupt disable ? r/w. 0 = enable. 1 = disables lan controller to assert its inta signal. 9 fast back to back enable (fbe) ? ro. hard wired to 0. the integrated lan controller will not run fast back-to-back pci cycles. 8 serr# enable (serr_en) ? r/w. 0 = disable. 1 = enable. allow serr# to be asserted. 7 wait cycle control (wcc) ? ro. ha rdwired to 0. not implemented. 6 parity error response (per) ? r/w. 0 = the lan controller will ignore pci parity errors. 1 = the integrated lan controller will take normal action when a pci parity error is detected and will enable generation of parity on dmi. 5 vga palette snoop (vps) ? ro. hardwired to 0. not implemented. 4 memory write and invalidate enable (mwie) ? r/w. 0 = disable. the lan controller will not use the memory write and invalidate command. 1 = enable. 3 special cycle enable (sce) ? ro. hardwired to 0. the lan controller ignores special cycles. 2 bus master enable (bme) ? r/w. 0 = disable. 1 = enable. the intel ? ich7?s integrated lan controller may function as a pci bus master. 1 memory space enable (mse) ? r/w. 0 = disable. 1 = enable. the ich7?s integrated lan cont roller will respond to the memory space accesses. 0 i/o space enable (iose) ? r/w. 0 = disable. 1 = enable. the ich7?s integrated lan co ntroller will respon d to the i/o space accesses. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 306 intel ? ich7 family datasheet 8.1.4 pcists?pci status register (lan controller?b1:d8:f0) offset address: 06h ? 07h attribute: ro, r/wc default value: 0290h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. bit description 15 detected parity error (dpe) ? r/wc. 0 = parity error not detected. 1 = the intel ? ich7?s integrated lan controller has detected a parity error on the pci bus (will be set even if parity error re sponse is disabled in the pci command register). 14 signaled system error (sse) ? r/wc. 0 = integrated lan controller has not asserted serr# 1 = the ich7?s integrated lan controller has asserted serr#. serr# can be routed to cause nmi, smi#, or interrupt. 13 master abort status ( rma) ? r/wc. 0 = master abort not generated 1 = the ich7?s integrated lan controller (as a pci master) has generated a master abort. 12 received target abort (rta) ? r/wc. 0 = target abort not received. 1 = the ich7?s integrated lan controller (a s a pci master) has received a target abort. 11 signaled target abort (sta) ? ro. hardwired to 0. the device will not signal target abort. 10:9 devsel# timing status (dev_sts) ? ro. 01h = medium timing. 8 data parity error detected (dped) ? r/wc. 0 = parity error not detected (condition s below are not met). 1 = all of the following thre e conditions have been met: 1. the lan controller is acting as bus master 2. the lan controller has asserted perr# (f or reads) or detected perr# asserted (for writes) 3. the parity error response bit in the la n controller?s pci command register is set. 7 fast back to back capable (fb2bc) ? ro. hardwired to 1. the device can accept fast back-to-back transactions. 6 user definable features (udf) ? ro . hardwired to 0. not implemented. 5 66 mhz capable (66mhz_cap) ? ro. hardwired to 0. the device does not support 66 mhz pci. 4 capabilities list (cap_list) ? ro. 0 = the eeprom indicates that the integrat ed lan controller does not support pci power management. 1 = the eeprom indicates that the integr ated lan controller supports pci power management. 3 interrupt status (ints) ? ro. this bit indicates that an interrupt is pe nding. it is independent from the state of the interru pt enable bit in th e command register. 2:0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 307 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.1.5 rid?revision identification register (lan controller?b1:d8:f0) offset address: 08h attribute: ro default value: see bit description size: 8 bits 8.1.6 scc?sub class code register (lan controller?b1:d8:f0) offset address: 0ah attribute: ro default value: 00h size: 8 bits 8.1.7 bcc?base-class code register (lan controller?b1:d8:f0) offset address: 0bh attribute: ro default value: 02h size: 8 bits bit description 7:0 revision id (rid) ? ro. this field is an 8- bit value that indicates the revision number for the integrated lan controller. the three leas t significant bits in this register may be overridden by the id and rev id fi elds in the eeprom. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the revision id register. bit description 7:0 sub class code (scc) ? ro. this 8-bit value specifies the sub-class of the device as an ethernet controller. bit description 7:0 base class code (bcc) ? ro. this 8-bit value specifies the base class of the device as a network controller. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 308 intel ? ich7 family datasheet 8.1.8 cls?cache line size register (lan controller?b1:d8:f0) offset address: 0ch attribute: r/w default value: 00h size: 8 bits 8.1.9 pmlt?primary master latency timer register (lan controller?b1:d8:f0) offset address: 0dh attribute: r/w default value: 00h size: 8 bits 8.1.10 headtyp?header type register (lan controller?b1:d8:f0) offset address: 0eh attribute: ro default value: 00h size: 8 bits bit description 7:5 reserved 4:3 cache line size (cls) ? r/w. 00 = memory write and invalidate (mwi) comm and will not be used by the integrated lan controller. 01 = mwi command will be used with cache line size set to 8 dwords (only set if a value of 08h is written to this register). 10 = mwi command will be used with cache line size set to 16 dwords (only set if a value of 10h is written to this register). 11 = invalid. mwi comman d will not be used. 2:0 reserved bit description 7:3 master latency timer count (mltc) ? r/w. this field defines the number of pci clock cycles that the integrated lan controller may own the bus while acting as bus master. 2:0 reserved bit description 7 multi-function device (mfd) ? ro. hardwired to 0 to indica te a single function device. 6:0 header type (htype) ? ro. this 7-bit field identifies the header layout of the configuration space as an ethernet controller. free datasheet http://www..net/
intel ? ich7 family datasheet 309 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.1.11 csr_mem_base ? cs r memory-mapped base address register (lan controller?b1:d8:f0) offset address: 10h ? 13h attribute: r/w, ro default value: 00000008h size: 32 bits note: the ich7?s integrated lan controller requir es one bar for memory mapping. software determines which bar (memory or i/o) is used to access the lan controller?s csr registers. 8.1.12 csr_io_base ? csr i/o- mapped base address register (lan controller?b1:d8:f0) offset address: 14h ? 17h attribute: r/w, ro default value: 00000001h size: 32 bits note: the ich7?s integrated lan controller requir es one bar for memory mapping. software determines which bar (memory or i/o) is used to access the lan controller?s csr registers. 8.1.13 svid ? subsystem vendor identification (lan controller?b1:d8:f0) offset address: 2ch ? 2d attribute: ro default value: 0000h size: 16 bits bit description 31:12 base address (mem_addr) ? r/w. this field contains the u pper 20 bits of the base address provides 4 kb of memory-mapped spac e for the lan controller?s control/status registers. 11:4 reserved 3 prefetchable (mem_pf) ? ro. hardwired to 0 to indicate that this is not a pre-fetchable memory-mapped address range. 2:1 type (mem_type) ? ro. hardwired to 00b to indicate the memory-mapped address range may be located anywhere in 32-bit address space. 0 memory-space indicator (mem_space) ? ro. hard wired to 0 to indicate that this base address maps to memory space. bit description 31:16 reserved 15:6 base address (io_addr) ? r/w. this field provides 64 by tes of i/o-ma pped address space for the lan controller?s control/status registers. 5:1 reserved 0 i/o space indicator (io_space) ? ro. hardwi red to 1 to indicate that this base address maps to i/o space. bit description 15:0 subsystem vendor id (svid) ? ro. see section 8.1.14 for details. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 310 intel ? ich7 family datasheet 8.1.14 sid ? subsystem identification (lan controller?b1:d8:f0) offset address: 2eh ? 2fh attribute: ro default value: 0000h size: 16 bits note: the ich7?s integrated lan controller provides support for configurable subsystem id and subsystem vendor id fields. after rese t, the lan controller automatically reads addresses ah through ch, and 23h of the eeprom. the lan controller checks bits 15:13 in the eeprom word ah, and functions according to table 8-2 . notes: 1. the device id is loaded from word 23h only if the value of word 23h is not 0000h or ffffh 2. the revision id is subject to chan ge according to th e silicon stepping. 8.1.15 cap_ptr ? capabilities pointer (lan controller?b1:d8:f0) offset address: 34h attribute: ro default value: dch size: 8 bits 8.1.16 int_ln ? interrupt line register (lan controller?b1:d8:f0) offset address: 3ch attribute: r/w default value: 00h size: 8 bits bit description 15:0 subsystem id (sid) ? ro. table 8-2. configuration of subsystem id and subsystem vendor id via eeprom bits 15:14 bit 13 device id 1 vendor id revision id 2 subsystem id subsystem vendor id 11b, 10b, 00b x 1051h 8086h 00h 0000h 0000h 01b 0b word 23h 8086h 00h word bh word ch 01b 1b word 23h word ch 80h + word ah, bits 10:8 word bh word ch bit description 7:0 capabilities pointer (cap_ptr) ? ro. hardwired to dch to indicate the offset within configuration space for the location of the power management registers. bit description 7:0 interrupt line (int_ln) ? r/w. this field identifies the system interrupt line to which the lan controller?s pci interrupt re quest pin (as defined in the interrupt pin register) is routed. free datasheet http://www..net/
intel ? ich7 family datasheet 311 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.1.17 int_pn ? interrupt pin register (lan controller?b1:d8:f0) offset address: 3dh attribute: ro default value: 01h size: 8 bits 8.1.18 min_gnt ? mini mum grant register (lan controller?b1:d8:f0) offset address: 3eh attribute: ro default value: 08h size: 8 bits 8.1.19 max_lat ? maximu m latency register (lan controller?b1:d8:f0) offset address: 3fh attribute: ro default value: 38h size: 8 bits 8.1.20 cap_id ? capability identification register (lan controller?b1:d8:f0) offset address: dch attribute: ro default value: 01h size: 8 bits bit description 7:0 interrupt pin (int_pn) ? ro. hardwired to 01 h to indicate that the lan controller?s interrupt request is connected to pirqa#. however, in the intel ? ich7 implementation, when the lan controller interru pt is generated pirqe# will go active, not pirqa#. note that if the pirqe# signal is used as a gpi, the external visibility will be lost (though pirqe# will still go active internally). bit description 7:0 minimum grant (min_gnt) ? ro. this field indicates th e amount of time (in increments of 0.25 s) that the lan controller needs to retain ownership of the pci bus when it initiates a transaction. bit description 7:0 maximum latency (max_lat) ? ro. this field defines how of ten (in increments of 0.25 s) the lan controller needs to access the pci bus. bit description 7:0 capability id (cap_id) ? ro. hardwired to 01h to indicate that the intel ? ich7?s integrated lan controller supports pci power management. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 312 intel ? ich7 family datasheet 8.1.21 nxt_ptr ? next item pointer (lan controller?b1:d8:f0) offset address: ddh attribute: ro default value: 00h size: 8 bits 8.1.22 pm_cap ? power ma nagement capabilities (lan controller?b1:d8:f0) offset address: deh ? dfh attribute: ro default value: fe21h (desktop only) size: 16 bits 7e21h (mobile only) bit description 7:0 next item pointer (nxt_ptr) ? ro. hardwired to 00b to indicate that power management is the last item in the capabilities list. bit description 15:11 pme support (pme_sup) ? ro. hardwired to 11111b. this 5-bit field indicates the power states in which the lan controller may assert pme#. the lan controller supports wake-up in all power states. 10 d2 support (d2_sup) ? ro. hardwired to 1 to indicate that the lan controller supports the d2 power state. 9 d1 support (d1_sup) ? ro. hardwired to 1 to indicate that the lan controller supports the d1 power state. 8:6 auxiliary current (aux_cur) ? ro. hardwi red to 000b to indicate that the lan controller implements the data registers. the auxiliary power consumption is the same as the current consumption reported in the d3 stat e in the data register. 5 device specific initialization (dsi) ? ro. hardwired to 1 to indicate that special initialization of this function is required (beyond the standard pci configuration header) before the generic class device driver is able to use it. dsi is required for the lan controller after d3-to-d0 reset. 4 reserved 3 pme clock (pme_clk) ? ro. hardwired to 0 to indicate that the lan controller does not require a clock to genera te a power management event. 2:0 version (ver) ? ro. hardwired to 010b to in dicate that the lan controller complies with of the pci power management specification, revision 1.1. free datasheet http://www..net/
intel ? ich7 family datasheet 313 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.1.23 pmcsr ? power management control/ status register (lan controller?b1:d8:f0) offset address: e0h ? e1h attribute: ro, r/w, r/wc default value: 0000h size: 16 bits bit description 15 pme status (pme_stat) ? r/wc. 0 = software clears this bit by writing a 1 to it. this also deasserts the pme# signal and clears the pme status bit in the power management driver register. when the pme# signal is enabled, th e pme# signal reflects the state of the pme status bit. 1 = set upon occurrence of a wake-up event, independent of the state of the pme enable bit. 14:13 data scale (dscale) ? ro. this field indicates the data register scaling factor. it equals 10b for registers 0 through 8 and 00 b for registers nine through fifteen, as selected by the ?data select? field. 12:9 data select (dsel) ? r/w. this field is used to select which data is reported through the data register and data scale field. 8 pme enable (pme_en) ? r/w. this bit enables the intel ? ich7?s integrated lan controller to assert pme#. 0 = the device will not assert pme#. 1 = enable pme# assertion when pme status is set. 7:5 reserved 4 dynamic data (dyn_dat) ? ro. hardwired to 0 to indicate that the device does not support the ability to monitor the power consumption dynamically. 3:2 reserved 1:0 power state (pwr_st) ? r/w. this 2-bit field is used to determine the current power state of the integrated lan controller, and to put it into a new power state. the definition of the field values is as follows: 00 = d0 01 = d1 10 = d2 11 = d3 free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 314 intel ? ich7 family datasheet 8.1.24 pcidata ? pci power ma nagement data register (lan controller?b1:d8:f0) offset address: e3h attribute: ro default value: 00h size: 8 bits the data register is an 8-bit read only register that provides a mechanism for the ich7?s integrated lan controller to report state dependent maximum power consumption and heat dissipation. the value reported in this register depends on the value written to the data select field in the pmcsr register. the power measurements defined in this register have a dynamic rang e of 0 w to 2.55 w with 0.01 w resolution, scaled according to the data scale field in the pmcsr. the structure of the data register is given in table 8-3 . bit description 7:0 power management data (pwr_mgt) ? ro. state dependent power consumption and heat dissipation data. table 8-3. data register structure data select data scale data reported 0 2 d0 power consumption 1 2 d1 power consumption 2 2 d2 power consumption 3 2 d3 power consumption 4 2 d0 power dissipated 5 2 d1 power dissipated 6 2 d2 power dissipated 7 2 d3 power dissipated 8 2 common function power dissipated 9?15 0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 315 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.2 lan control / status registers (csr) (lan controller?b1:d8:f0) table 8-4. intel ? ich7 integrated lan controller csr space register address map offset mnemonic register name default type 00h?01h scb_sta system control block status word 0000h r/wc, ro 02h?03h scb_cmd system control block command word 0000h r/w, wo 04h?07h scb_genpnt system control block general pointer 0000 0000h r/w 08h?0bh port port interface 0000 0000h r/w (special) 0ch? 0dh ? reserved ? ? 0eh eeprom_cntl eeprom control 00 r/w, ro, wo 0fh ? reserved ? ? 10h?13h mdi_cntl management data interface control 0000 0000h r/w (special) 14h?17h rec_dma_bc receive dma byte count 0000 0000h ro 18h erec_intr early receive interrupt 00h r/w 19?1ah flow_cntl flow control 0000h ro, r/w (special) 1bh pmdr power management driver 00h r/wc 1ch gencntl general control 00h r/w 1dh gensta general status 00h ro 1eh ? reserved ? ? 1fh smb_pci smb via pci 27h r/w 20h?3ch ? reserved ? ? free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 316 intel ? ich7 family datasheet 8.2.1 scb_sta?system control block status word register (lan controller?b1:d8:f0) offset address: 00h ? 01h attribute: r/wc, ro default value: 0000h size: 16 bits the ich7?s integrated lan controller places the status of its command unit (cu) and receive unit (rc) and interrupt indications in this register for the processor to read. bit description 15 command unit (cu) executed (cx) ? r/wc. 0 = software acknowledges the interrupt and cl ears this bit by writing a 1 to the bit position. 1 = interrupt signaled beca use the cu has completed ex ecuting a comm and with its interrupt bit set. 14 frame received (fr) ? r/wc. 0 = software acknowledges the interrupt and cl ears this bit by writing a 1 to the bit position. 1 = interrupt signaled because the receive unit (ru) has finished receiving a frame. 13 cu not active (cna) ? r/wc. 0 = software acknowledges the interrupt and cl ears this bit by writing a 1 to the bit position. 1 = the command unit left the active state or entered the idle state. there are 2 distinct states of the cu. when configured to generate cna interrupt, the interrupt will be activated when the cu leaves the active state and enters either the idle or the suspended state. when configured to ge nerate ci interrupt, an interrupt will be generated only when the cu enters the idle state. 12 receive not ready (rnr) ? r/wc. 0 = software acknowledges the interrupt and cl ears this bit by writing a 1 to the bit position. 1 = interrupt signaled because the receive unit left the ready state. this may be caused by an ru abort command, a no resources situation, or set suspend bit due to a filled receive frame descriptor. 11 management data interrupt (mdi) ? r/wc. 0 = software acknowledges the interrupt and cl ears this bit by writing a 1 to the bit position. 1 = set when a management data interface read or write cycle has completed. the management data interrupt is enabled through the interru pt enable bit (bit 29 in the management data interface control register in the csr). 10 software interrupt (swi) ? r/wc. 0 = software acknowledges the interrupt and cl ears this bit by writing a 1 to the bit position. 1 = set when software generates an interrupt. 9 early receive (er) ? r/wc. 0 = software acknowledges the interrupt and cl ears this bit by writing a 1 to the bit position. 1 = indicates the occurrence of an early receive interrupt. 8 flow control pause (fcp) ? r/wc. 0 = software acknowledges the interrupt and cl ears this bit by writing a 1 to the bit position. 1 = indicates flow co ntrol pause interrupt. free datasheet http://www..net/
intel ? ich7 family datasheet 317 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.2.2 scb_cmd?system cont rol block command word register (lan controller?b1:d8:f0) offset address: 02h ? 03h attribute: r/w, wo default value: 0000h size: 16 bits the processor places commands for the command and receive units in this register. interrupts are also acknowledged in this register. 7:6 command unit status (cus) ? ro. 00 = idle 01 = suspended 10 = lpq (low priority queue) active 11 = hpq (high priority queue) active 5:2 receive unit status (rus) ? ro. 1:0 reserved bit description value status value status 0000b idle 1000b reserved 0001b suspended 1001b suspended with no more rbds 0010b no resources 1010b no resources due to no more rbds 0011b reserved 1011b reserved 0100b ready 1100b ready with no rbds present 0101b reserved 1101b reserved 0110b reserved 1110b reserved 0111b reserved 1111b reserved bit description 15 cx mask (cx_msk) ? r/w. 0 = interrupt not masked. 1 = disable the generati on of a cx interrupt. 14 fr mask (fr_msk) ? r/w. 0 = interrupt not masked. 1 = disable the generation of an fr interrupt. 13 cna mask (cna_msk) ? r/w. 0 = interrupt not masked. 1 = disable the generation of a cna interrupt. 12 rnr mask (rnr_msk) ? r/w. 0 = interrupt not masked. 1 = disable the generation of an rnr interrupt. 11 er mask (er_msk) ? r/w. 0 = interrupt not masked. 1 = disable the generation of an er interrupt. 10 fcp mask (fcp_msk) ? r/w. 0 = interrupt not masked. 1 = disable the generation of an fcp interrupt. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 318 intel ? ich7 family datasheet 9 software generated interrupt (si) ? wo. 0 = no effect. 1 = setting this bit causes the lan co ntroller to generate an interrupt. 8 interrupt mask (im) ? r/w. this bit enables or di sables the lan controller?s assertion of the inta# signal. this bit has higher precedence that the specific interrupt mask bits and the si bit. 0 = enable the assertion of inta#. 1 = disable the assertion of inta#. 7:4 command unit command (cuc) ? r/w. valid values are listed below. all other values are reserved. 0000 = nop: does not affect the cu rrent state of the unit. 0001 = cu start : start execution of the first command on the cbl. a pointer to the first cb of the cbl should be placed in the scb general pointer before issuing this command. the cu start command should only be issued when the cu is in the idle or suspended states (not when th e cu is in the active state), and all of the previously issued command blocks have been processed and completed by the cu. sometimes it is only possible to determine that all command blocks are completed by checking that the complete bit is set in all previously issued command blocks. 0010 = cu resume: resume operation of the command unit by executing the next command. this command will be ignored if the cu is idle. 0011 = cu hpq start: start execution of the first comm and on the high priority cbl. a pointer to the first cb of the hpq cb l should be placed in the scb general pointer before issuing this command. 0100 = load dump counters address: indicates to the device where to write dump data when using the dump statistical counters or dump and reset statistical counters commands. this command must be executed at least once before any usage of the dump statistical counters or dump and reset statistical counters commands. the address of the dump area must be placed in the general pointer register. 0101 = dump statistical counters: tells the device to dump its statistical counters to the area designated by the lo ad dump counters address command. 0110 = load cu base: the device?s internal cu base register is loaded with the value in the csb general pointer. 0111 = dump and reset statistical counters: indicates to the de vice to dump its statistical counters to the area designated by the load dump counters address command, and then to clear these counters. 1010 = cu static resume: resume operation of the command unit by executing the next command. this comman d will be ignored if the cu is idle. this command should be used only when the cu is in the suspended state and has no pending cu resume commands. 1011 = cu hpq resume: resume execution of the firs t command on the hpq cbl. this command will be ignore d if the hpq was not started. 3 reserved bit description free datasheet http://www..net/
intel ? ich7 family datasheet 319 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.2.3 scb_genpnt?system control block general pointer register (lan controller?b1:d8:f0) offset address: 04h ? 07h attribute: r/w default value: 0000 0000h size: 32 bits 8.2.4 port?port interface register (lan controller?b1:d8:f0) offset address: 08h ? 0bh attribute: r/w (special) default value: 0000 0000h size: 32 bits the port interface allows the processor to re set the ich7?s internal lan controller, or perform an internal self test. the port dw ord may be written as a 32-bit entity, two 16-bit entities, or four 8-bit entities. the lan controller will only accept the command after the high byte (offset 0bh) is written; therefore, the high byte must be written last. 2:0 receive unit command ( ruc) ? r/w. valid values are: 000 = nop: does not affect the curre nt state of the unit. 001 = ru start: enables the receive unit. the pointe r to the rfa must be placed in the scb general pointer before using this command. the device pre-fetches the first rfd and the first rbd (if in fl exible mode) in preparation to receive incoming frames that pass its address filtering. 010 = ru resume: resume frame recept ion (only when in suspended state). 011 = rcv dma redirect: resume the rcv dma when configured to ?direct dma mode.? the buffers are indicated by an rbd chain which is pointed to by an offset stored in the general pointer register (this offset will be added to the ru base). 100 = ru abort: abort ru receive operation immediately. 101 = load header data size (hds): this value defines the size of the header portion of the rfds or receive buffers. the hds value is defined by the lower 14 bits of the scb general pointer, so bits 31:15 should always be set to 0?s when using this command. once a load hds command is issued, the device expects only to find header rfds, or be used in ?rcv direct dma mode? until it is reset. note that the value of hd s should be an even, non-zero number. 110 = load ru base: the device?s internal ru base register is loaded with the value in the scb general pointer. 111 = rbd resume: resume frame reception into the rfa. this command should only be used when the ru is already in the ?no resources due to no rbds? state or the ?suspended wi th no more rbds? state. bit description bit description 15:0 scb general pointer ? r/w. the scb general pointer register is programmed by software to point to various data structures in main memo ry depending on the current scb command word. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 320 intel ? ich7 family datasheet bit description 31:4 pointer field (port_ptr) ? r/w (special). a 16-byte aligned address must be written to this field when issuing a self-test command to the port interface.the results of the self test will be written to the address specified by this field. 3:0 port function selection (port_func) ? r/w (special). valid values are listed below. all other values are reserved. 0000 = port software reset: completely resets the lan controller (all csr and pci registers). this command should not be used when the device is active. if a port software reset is desired, so ftware should do a selective reset (described below), wait for the port regi ster to be cleared (completion of the selective reset), and then issue the po rt software reset command. software should wait approximately 10 s after issuing this comm and before attempting to access the lan controller?s registers again. 0001 = self test: the self-test begins by issuing an internal selective reset followed by a general internal self-test of the la n controller. the results of the self-test are written to memory at the address sp ecified in the pointer field of this register. the format of the se lf-test result is shown in table 8-5 . after completing the self-test and writing the results to memory, the lan controller will execute a full internal reset and will re-initialize to the default configuration. self-test does not generate an interru pt of similar indicator to the host processor upon completion. 0010 = selective reset: sets the cu and ru to the idle state, but otherwise maintains the current configuration parameters (ru and cu base, hdssize, error counters, configure information an d individual/multica st addresses are preserved). software shou ld wait approximately 10 s after issuing this command before attempting to access the lan controller?s registers again. table 8-5. self-test results format bit description 31:13 reserved 12 general self-test result (self_tst) ? r/w (special). 0 = pass 1 = fail 11:6 reserved 5 diagnose result (diag_rslt) ? r/w (special). this bit pr ovides the result of an internal diagnostic test of the serial subsystem. 0 = pass 1 = fail 4 reserved 3 register result (reg_rslt) ? r/w (special). this bit provides the result of a test of the internal parallel subsystem registers. 0 = pass 1 = fail 2 rom content result (rom_rslt) ? r/w (special). this bit provides the result of a test of the internal microcode rom. 0 = pass 1 = fail 1:0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 321 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.2.5 eeprom_cntl?eepro m control register (lan controller?b1:d8:f0) offset address: 0eh attribute: ro, r/w, wo default value: 00h size: 8 bits the eeprom control register is a 16-bit field that enables a read from and a write to the external eeprom. bit description 7:4 reserved 3 eeprom serial data out (eedo) ? ro. note that this bit represents ?data out? from the perspective of the eeprom device. this bit cont ains the value read from the eeprom when performing read operations. 2 eeprom serial data in (eedi) ? wo. note that this bit represents ?data in? from the perspective of the eeprom device. the value of this bit is written to the eeprom when performing write operations. 1 eeprom chip select (eecs) ? r/w. 0 = drives the intel ? ich7?s ee_cs signal low to disabl e the eeprom. this bit must be set to 0 for a minimum of 1 s between consecutive instruction cycles. 1 = drives the ich7?s ee_cs sign al high, to enable the eeprom. 0 eeprom serial clock (eesk) ? r/w. toggling this bit clocks data into or out of the eeprom. software must ensure that this bit is toggled at a rate that meets the eeprom component?s minimum clock frequency specification. 0 = drives the ich7?s ee_shclk signal low. 1 = drives the ich7?s ee_shclk signal high. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 322 intel ? ich7 family datasheet 8.2.6 mdi_cntl?management da ta interface (mdi) control register (lan controller?b1:d8:f0) offset address: 10h ? 13h attribute: r/w (special) default value: 0000 0000h size: 32 bits the management data interface (mdi) control register is a 32-bit field and is used to read and write bits from the lan connect component. this register may be written as a 32-bit entity, two 16-bit entities, or four 8-bit entities. the lan controller will only accept the command after the high byte (off set 13h) is written; therefore, the high byte must be written last. 8.2.7 rec_dma_bc?receive dm a byte count register (lan controller?b1:d8:f0) offset address: 14h ? 17h attribute: ro default value: 0000 0000h size: 32 bits bit description 31:30 these bits are reserved and should be set to 00b. 29 interrupt enable ? r/w (special). 0 = disable. 1 = enables the lan controller to assert an interrupt to indicate the end of an mdi cycle. 28 ready ? r/w (special). 0 = expected to be reset by software at the same time the command is written. 1 = set by the lan controller at the end of an mdi transaction. 27:26 opcode ? r/w (special). these bits define the opcode: 00 = reserved 01 = mdi write 10 = mdi read 11 = reserved 25:21 lan connect address ? r/w (special). this field of bits contains the lan connect address. 20:16 lan connect register address ? r/w (special). this field contains the lan connect register address. 15:0 data ? r/w (special). in a write command, software places the data bits in this field, and the lan controller transfers the data to the external lan connect component. during a read command, the lan controller reads these bits serially from the lan connect, and software reads the data from this location. bit description 31:0 receive dma byte count ? ro. this field keeps track of how many bytes of receive data have been passed into host memory via dma. free datasheet http://www..net/
intel ? ich7 family datasheet 323 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.2.8 erec_intr?early rece ive interrupt register (lan controller?b1:d8:f0) offset address: 18h attribute: r/w default value: 00h size: 8 bits the early receive interrupt register allows the internal lan controller to generate an early interrupt depending on the length of the frame. the lan controller will generate an interrupt at the end of the frame re gardless of whether or not early receive interrupts are enabled. note: it is recommended that software not use this register unless receive interrupt latency is a critical performance issue in that particular software environment. using this feature may reduce receive interrupt latency, but will also result in the generation of more interrupts, which can degrade system efficiency and performance in some environments. 8.2.9 flow_cntl?flow control register (lan controller?b1:d8:f0) offset address: 19h ? 1ah attribute: ro, r/w (special) default value: 0000h size: 16 bits bit description 7:0 early receive count ? r/w. when some non-zero value x is programmed into this register, the lan controller will set the er bit in the scb status word register and assert inta# when the byte count indicates that there are x qwords remaining to be received in the current frame (based on the type/len gth field of the received frame). no early receive interrupt will be generated if a valu e of 00h (the default value) is programmed into this register. bit description 15:13 reserved 12 fc paused low ? ro. 0 = cleared when the fc timer reache s 0, or a pause frame is received. 1 = set when the lan controller receives a pause low command with a value greater than 0. 11 fc paused ? ro. 0 = cleared when the fc timer reaches 0. 1 = set when the lan controller receives a pause command regardless of its cause (fifo reaching flow control threshold, fetching a receiv e frame descriptor with its flow control pause bit set, or soft ware writing a 1 to the xoff bit). 10 fc full ? ro. 0 = cleared when the fc timer reaches 0. 1 = set when the lan controller sends a pause command with a value greater than 0. 9 xoff ? r/w (special). this bit should only be us ed if the lan controller is configured to operate with ieee frame-based flow control. 0 = this bit can only be cleare d by writing a 1 to the xon bi t (bit 8 in this register). 1 = writing a 1 to this bit forces the xoff re quest to 1 and causes the lan controller to behave as if the fifo extender is full. this bit will also be set to 1 when an xoff request due to an ?rfd xoff? bit. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 324 intel ? ich7 family datasheet 8.2.10 pmdr?power manage ment driver register (lan controller?b1:d8:f0) offset address: 1bh attribute: r/wc default value: 00h size: 8 bits the ich7?s internal lan controller provides an indication in the pmdr that a wake-up event has occurred. 8 xon ? wo. this bit should only be used if th e lan controller is configured to operate with ieee frame-ba sed flow control. 0 = this bit always returns 0 on reads. 1 = writing a 1 to this bit resets the xoff requ est to the lan controller, clearing bit 9 in this register. 7:3 reserved 2:0 flow control threshold ? r/w. the lan controller can generate a flow control pause frame when its receive fifo is almost fu ll. the value programmed into this field determines the number of bytes still available in the receive fifo when the pause frame is generated. bit description bits 2:0 free bytes in rx fifo comment 000b 0.50 kb fast system (recommended default) 001b 1.00 kb 010b 1.25 kb 011b 1.50 kb 100b 1.75 kb 101b 2.00 kb 110b 2.25 kb 111b 2.50 kb slow system bit description 7 link status change indication ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = the link status change bit is set following a change in link status. 6 magic packet ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when a magic packet is received regardless of the magic packet wake- up disable bit in the configuration command and the pme enable bit in the power management control/ status register. 5 interesting packet ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when an ?interesting? pa cket is received. in teresting packets are defined by the lan controller packet filters. 4:3 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 325 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.2.11 gencntl?genera l control register (lan controller?b1:d8:f0) offset address: 1ch attribute: r/w default value: 00h size: 8 bits 2 asf enabled ? ro. this bit is set to 1 when th e lan controller is in asf mode. 1 tco request ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = this bit is set to 1b when the lan controller is busy with tco activity. 0 pme status ? r/wc. this bit is a reflection of th e pme status bit in the power management control/status register (pmcsr). 0 = software clears this bit by writing a 1 to it.this also clears the pme status bit in the pmcsr and deasserts the pme signal. 1 = set upon a wake-up event, independent of the pme enable bit. bit description bit description 7:4 reserved. these bits should be set to 0000b. 3 lan connect software reset ? r/w. 0 = cleared by software to begin normal lan connect operating mode. software must not attempt to access the lan connect interface for at least 1ms after clearing this bit. 1 = software can set this bit to force a reset condition on the lan connect interface. 2 reserved. this bit should be set to 0. 1 deep power-down on link down enable ? r/w. 0 = disable 1 = enable. the intel ? ich7?s internal lan controller may enter a deep power-down state (sub-3 ma) in the d2 and d3 power states while the link is down. in this state, the lan controller does not keep link integrity. this state is not supported for point-to-point connection of two end stations. 0 reserved free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 326 intel ? ich7 family datasheet 8.2.12 gensta?general status register (lan controller?b1:d8:f0) offset address: 1dh attribute: ro default value: 00h size: 8 bits 8.2.13 smb_pci?smb via pci register (lan controller?b1:d8:f0) offset address: 1fh attribute: r/w, ro default value: 27h size: 8 bits software asserts sreq when it wants to isolate the pci-accessible smbus to the asf registers/commands. it waits for sgnt to be asserted. at this point scli, sdao, sclo, and sdai can be toggled/read to force asf controller smbus transactions without affecting the external smbus. after all operat ions are completed, the bus is returned to idle (sclo=1b,sdao=1b, scli=1b, sdai=1b), sreq is released (written 0b). then sgnt goes low to indicate released control of the bus. the logic in the asf controller only asserts or deasserts sgnt at times when it determines that it is safe to switch (all smbuses that are switched in/out are idle). when in isolation mode (sgnt=1), software can access the ich7 smbus slaves that allow configuration without affecting the exte rnal smbus. this includes configuration register accesses and asf command accesses. however, this capability is not available to the external tco controller. when sgnt=0, the bit-banging and reads are reflected on the main smbus and the pcisml_s da0, pcisml_scl0 read only bits. bit description 7:3 reserved 2 duplex mode ? ro. this bit indicates th e wire duplex mode. 0 = half duplex 1 = full duplex 1 speed ? ro. this bit indicates the wire speed. 0 = 10 mb/s 1 = 100 mb/s 0 link status indication ? ro. this bit indicates the status of the link. 0 = invalid 1 = valid bit description 7:6 reserved 5 pcisml_sclo ? ro. smbus clock from the asf controller. 4 pcisml_sgnt ? ro. smbus isolation grant from the asf controller. 3 pcisml_sreq ? r/w. smbus isolation request to the asf controller. 2 pcisml_sdao ? ro. smbus data from the asf controller. 1 pcisml_sdai ? r/w. smbus data to the asf controller. 0 pcisml_scli ? r/w. smbus clock to the asf controller. free datasheet http://www..net/
intel ? ich7 family datasheet 327 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.2.14 statistical counters (lan controller?b1:d8:f0) the ich7?s integrated lan controller provides information for network management statistics by providing on-chip statistical counters that count a variety of events associated with both transmit and rece ive. the counters are updated by the lan controller when it completes the processing of a frame (that is, when it has completed transmitting a frame on the link or when it has completed receiving a frame). the statistical counters are reported to the software on demand by issuing the dump statistical counters command or dump and reset statistical counters command in the scb command unit co mmand (cuc) field. table 8-6. statistical counters (sheet 1 of 2) id counter description 0 transmit good frames this counter contains the nu mber of frames that were transmitted properly on the link . it is updated only after the actual transmission on the link is completed, not when the frame was read from memory as is do ne for the transmit command block status. 4 transmit maximum collisions (maxcol) errors this counter contains the numb er of frames that were not transmitted because they encountered the configured maximum number of collisions. 8 transmit late collisions (latecol) errors this counter contains the numb er of frames that were not transmitted since they encountered a collision later than the configured slot time. 12 transmit underrun errors a transmit underrun occurs because the system bus cannot keep up with the transmission. this counter contains the number of frames that were either not tran smitted or retransmitted due to a transmit dma underrun. if the la n controller is configured to retransmit on underrun, this counter may be updated multiple times for a single frame. 16 transmit lost carrier sense (crs) this counter contains the nu mber of frames that were transmitted by the lan controller despite the fact that it detected the de-assertion of crs du ring the transmission. 20 transmit deferred this counter contains the number of frames that were deferred before transmission due to activity on the link. 24 transmit single collisions this counter contains the number of transmitte d frames that encountered one collision. 28 transmit multiple collisions this counter contains the number of transmitte d frames that encountered more than one collision. 32 transmit total collisions this counter contains the total number of collisions that were encountered while attempting to transmit. this count includes late collisions and frames that encountered maxcol. 36 receive good frames this counter contains the number of frames that were received properly from the link. it is updated only after the actual reception from the link is comple ted and all the data bytes are stored in memory. 40 receive crc errors this counter contains the number of aligned frames discarded because of a crc error. this co unter is updated, if needed, regardless of the receive unit state. the receive crc errors counter is mutually exclusive of the receive alignment errors and receive short frame errors counters. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 328 intel ? ich7 family datasheet the statistical counters are initially set to 0 by the ich7?s integrated lan controller after reset. they cannot be preset to anything other than 0. the lan controller increments the counters by internally re ading them, incrementing them and writing them back. this process is invisible to the processor and pci bus. in addition, the counters adhere to the following rules: ? the counters are wrap-around counters. after reaching ffffffffh the counters wrap around to 0. ? the lan controller updates the required coun ters for each frame. it is possible for more than one counter to be updated as mu ltiple errors can occur in a single frame. ? the counters are 32 bits wide and their beha vior is fully compatible with the ieee 802.1 standard. the lan controller supports all mandatory and recommend 44 receive alignment errors this counter contains the numb er of frames that are both misaligned (for example, cr s de-asserts on a non-octal boundary) and contain a crc error. the counter is updated, if needed, regardless of the receive unit state. the receive alignment errors counter is mutu ally exclusive of the receive crc errors and receive shor t frame errors counters. 48 receive resource errors this counter contains the number of good frames discarded due to unavailability of resources. frames intended for a host whose receive unit is in the no resources state fall into this category. if the lan controller is configured to save bad frames and the status of the received frame indica tes that it is a bad frame, the receive resource errors counter is not updated. 52 receive overrun errors this counter contains the number of frames known to be lost because the local system bus was not available. if the traffic problem persists for mo re than one frame, the frames that follow the first are also lost; however, because there is no lost frame indicator, they are not counted. 56 receive collision detect (cdt) this counter contains the number of frames that encountered collisions during frame reception. 60 receive short frame errors this counter contains the number of received frames that are shorter than the minimum frame length. the receive short frame errors counter is mutual ly exclusive to the receive alignment errors and receive crc errors counters. a short frame will always increment only the receive short frame errors counter. 64 flow control transmit pause this counter contains the numb er of flow control frames transmitted by the lan controller. this count includes both the xoff frames transmitted and xon (pause(0)) frames transmitted. 68 flow control receive pause this counter contains the numb er of flow control frames received by the lan controller. th is count includes both the xoff frames received and xon (p ause(0)) fram es received. 72 flow control receive unsupported this counter contains the number of mac control frames received by the lan controller that are not flow control pause frames. these frames are valid ma c control frames that have the predefined mac control type value and a valid address but has an unsupported opcode. 76 receive tco frames this counter contains the number of tco packets received by the lan controller. 78 transmit tco frames this counter contains the number of tco packets transmitted. table 8-6. statistical counters (sheet 2 of 2) id counter description free datasheet http://www..net/
intel ? ich7 family datasheet 329 lan controller registers (b1:d8:f0) (desktop and mobile only) statistics functions through the status of the receive header and directly through these statistical counters. the processor can access the counters by issuing a dump statistical counters scb command. this provides a ?snapshot?, in main memory, of the internal lan controller statistical counters. the lan controller supports 21 counters. the dump could consist of the either 16, 19, or all 21 counters, depending on the status of the extended statistics counters and tco statistics configuration bits in the configuration command. 8.3 asf configuration registers (lan controller?b1:d8:f0) the asf registers in this table are accessi ble through the ich7 smbus slave interface. table 8-7. asf register address map offset mnemonic register name default type e0h asf_rid asf revision identification ech ro e1h smb_cntl smbus control 40h r/w e2h asf_cntl asf control 00h r/w, ro e3h asf_cntl_en asf control enable 00h r/w e4h enable enable 00h r/w e5h apm apm 08h r/w e6h?e7h ? reserved ? ? e8h wtim_conf watchdog timer configuration 00h r/w e9h heart_tim heartbeat timer 02h r/w eah retran_int retransmission interval 02h r/w ebh retran_pcl retransmission packet count limit 03h r/w ech asf_wtim1 asf watchdog timer 1 01h r/w edh asf_wtim2 asf watchdog timer 2 00h r/w f0h pet_seq1 pet sequence 1 00h r/w f1h pet_seq2 pet sequence 2 00h r/w f2h sta status 40h r/w f3h for_act forced actions 02h r/w f4h rmcp_snum rmcp sequence number 00h r/w f5h sp_mode special modes x0h r/wc, ro f6h inpoll_tconf inter-poll timer configuration 10h r/w f7h phist_clr poll history clear 00h r/wc f8h pmsk1 polling mask 1 xxh r/w f9h pmsk2 polling mask 2 xxh r/w fah pmsk3 polling mask 3 xxh r/w fbh pmsk4 polling mask 4 xxh r/w fch pmsk5 polling mask 5 xxh r/w fdh pmsk6 polling mask 6 xxh r/w feh pmsk7 polling mask 7 xxh r/w ffh pmsk8 polling mask 8 xxh r/w free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 330 intel ? ich7 family datasheet 8.3.1 asf_rid?asf revision identification register (lan controller?b1:d8:f0) offset address: e0h attribute: ro default value: ech size: 8 bits 8.3.2 smb_cntl?smbus control register (lan controller?b1:d8:f0) offset address: e1h attribute: r/w default value: 40h size: 8 bits this register is used to control configurations of the smbus ports. bit description 7:3 asf id ? ro. hardwired to 11101 to identify the asf controller. 2:0 asf silicon revision ? ro. this field provides the silicon revision. bit description 7 smbus remote control asf enable (smb_rcasf) ? r/w. 0 = legacy descriptors an d operations are used. 1 = asf descriptors and operations are used. 6 smbus arp enable (smb_arpen) ? r/w. 0 = disable. 1 = asf enables the smbus arp protocol. 5:4 reserved 3 smbus drive low (smb_drvlo) ? r/w. 0 = asf will not drive the main sm bus signals low while pwr_good = 0. 1 = asf will drive the main smbus signals low while pwr_good = 0. 2:0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 331 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.3.3 asf_cntl?asf control register (lan controller?b1:d8:f0) offset address: e2h attribute: r/w, ro default value: 00h size: 8 bits this register contains enables for special modes and sos events. ctl_pwrls should be set if asf should be expecting a power loss due to software action. otherwise, an eeprom reload will happen when the power is lost. bit description 7 smbus hang sos enable (ctl_smbhg) ? r/w. 0 = disable 1 = enables smbus hang sos to be sent. 6 watchdog sos enable (ctl_wdg) ? r/w. 0 = disable. 1 = enables watchdog sos to be sent. 5 link loss sos enable (ctl_link) ? r/w. 0 = disable. 1 = enables link loss sos to be sent. 4 os hung status (ctl_oshung) ? ro. 1 = this bit will be set to 1 when asf has detected a watchdog expiration. note: this condition is only clearable by a pci rst# assertion (system reset). 3 power-up sos enable (ctl_pwrup) ? r/w. 0 = disable. 1 = enables power-up sos to be sent. 2 reserved 1 receive arp enable (ctl_rxarp) ? r/w. the lan controller interface provides a mode where all packet s can be requested. 0 = disable. 1 = enable. asf requests all pa ckets when doing a receive enable. this is necessary in lan controller to get arp packets. note: changes to this bit will no t take effect until the ne xt receive enable command to the lan. 0 power loss ok (ctl_pwrls) ? r/w. 0 = power loss will reload eeprom 1 = power loss will not reload eeprom free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 332 intel ? ich7 family datasheet 8.3.4 asf_cntl_en?asf cont rol enable register (asf controller?b1:d8:f0) offset address: e3h attribute: r/w default value: 00h size: 8 bits this register is used to enable global pr ocessing as well as polling. global enable controls all of the smbus processing and packet creation. bit description 7 global enable (cena_all) ? r/w. 0 = disable 1 = all control and polling enabled 6 receive enable (cena_rx) ? r/w. 0 = disable 1 = tco receives enabled. 5 transmit enable (cena_tx) ? r/w. 0 = disable 1 = sos and rmcp transmits enabled 4 asf polling enable (cena_apol) ? r/w. 0 = disable 1 = enable asf sensor polling. 3 legacy polling enable (cena_lpol) ? r/w. 0 = disable 1 = enable legacy sensor polling. 2:0 number of legacy poll devices (cena_nlpol) ? r/w. this 3-bit value indicates how many of the eight possible polling descript ors are active. 000 = first polling de scriptor is active. 001 = first two polling descriptors are active. ... 111 = enables all eight descriptors. free datasheet http://www..net/
intel ? ich7 family datasheet 333 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.3.5 enable?enable register (asf controller?b1:d8:f0) offset address: e4h attribute: r/w default value: 00h size: 8 bits this register provides the mechanism to enable internal sos operations and to enable the remote control functions. bit description 7 enable oshung arps (ena_osharp) ? r/w. 0 = disable 1 = asf will request all packets when in a oshung state. this al lows asf to receive arp frames and respond as appropriate. 6 state-based security destination port select (ena_sb0298) ? r/w. 0 = state-based security wi ll be honored on packets received on port 026fh. 1 = packets received on port 0298h will be honored. 5 pet vlan enable (ena_vlan) ? r/w. 0 = disable 1 = indicates a vlan header for pet note: if this bit is set, the pet packet in ee prom must have the vlan tag within the packet. 4 reserved 3 system power cycle enable (ena_cycle) ? r/w. 0 = disable 1 = enables rmcp power cycle action. 2 system power-down enable (ena_dwn) ? r/w. 0 = disable 1 = enables rmcp power-down action. 1 system power-up enable (ena_up) ? r/w. 0 = disable 1 = enables rmcp power-up action. 0 system reset enable (ena_rst) ? r/w. 0 = disable 1 = enables rmcp reset action free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 334 intel ? ich7 family datasheet 8.3.6 apm?apm register (asf controller?b1:d8:f0) offset address: e5h attribute: r/w default value: 08h size: 8 bits this register contains the configuration bit to disable state-based security. 8.3.7 wtim_conf?watchdog timer configuration register (asf controller?b1:d8:f0) offset address: e8h attribute: r/w default value: 00h size: 8 bits this register contains a single bit that enables the watchdog timer. this bit is not intended to be accessed by software, but should be configured appropriately in the eeprom location for this register default. the bit provides real-time control for enabling/disabling the watchd og timer. when set the timer will count down. when cleared the counter will stop. timer start asf smbus messages will set this bit. timer stop asf smbus transactions will clear this bit. bit description 7:4 reserved 3 disable state-based security (apm_dissb) ? r/w. 0 = state-based security on oshung is enabled. 1 = state-based security is disabled and actions are not gated by oshung. 2:0 reserved bit description 7:1 reserved 0 timer enable (wdg_ena) ? r/w. 0 = disable 1 = enable counter free datasheet http://www..net/
intel ? ich7 family datasheet 335 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.3.8 heart_tim?heartbeat timer register (asf controller?b1:d8:f0) offset address: e9h attribute: r/w default value: 02h size: 8 bits the heartbeat timer register implements the heartbeat timer. this defines the period of the heartbeats packets. it contains a down counting value when enabled and the time-out value when the counter is disabled . the timer can be configured and enabled in a single write. note: the heartbeat timer controls the heartbeat status packet frequency. the timer is free- running and the configured time is only va lid from one heartbeat to the next. when enabled by software, the next heartbeat may occur in any amount of time less than the configured time. . 8.3.9 retran_int?retransmis sion interval register (asf controller?b1:d8:f0) offset address: eah attribute: r/w default value: 02h size: 8 bits this register implements the retransmission timer. this is the time between packet transmissions for multiple packets due to a sos. bit description 7:1 heartbeat timer value (hbt_val) ? r/w. heartbeat timer load value in 10.7-second resolution. this field can only be written wh ile the timer is disabled. (10.7 sec ? 23 min range). read as load value when hbt_ena=0. read as decrementing value when hbt_ena=1. timer resolution is 10.7 seconds. a value of 00h is invalid. 0 timer enable (hbt_ena) ? r/w. 0 = disable 1 = enable / reset counter bit description 7:1 retransmit timer value (rtm_val) ? r/w. retransmit timer load value 2.7 second resolution. this field is always writable (2.7 sec ? 5.7 min range). timer is accurate to +0 seconds, ?0.336 seconds. reads always show the load value (decrement value not shown). a value of 00h is invalid. 0 reserved free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 336 intel ? ich7 family datasheet 8.3.10 retran_pcl?retransmi ssion packet count limit register (asf controller?b1:d8:f0) offset address: ebh attribute: r/w default value: 03h size: 8 bits this register defines the number of packets that are to be sent due to an sos. 8.3.11 asf_wtim1?asf watc hdog timer 1 register (asf controller?b1:d8:f0) offset address: ech attribute: r/w default value: 01h size: 8 bits this register is used to load the low byte of the timer. when read, it reports the decrementing value. this register is not inte nded to be written by software, but should be configured appropriately in the eeprom loca tion for this register default. timer start asf smbus transactions will load values into this register. once the timer has expired (0000h), the timer will be disabled (edg_ena =0b) and the value in this register will remain at 00h until otherwise changed. 8.3.12 asf_wtim2?asf watc hdog timer 2 register (asf controller?b1:d8:f0) offset address: edh attribute: r/w default value: 00h size: 8 bits this register is used to load the high by te of the timer. when read, it reports the decrementing value. this register is not inte nded to be written by software, but should be configured appropriately in the eeprom loca tion for this register default. timer start asf smbus transactions will load values into this register. once the timer has expired (0000h), the timer will be disabled (edg_ena =0b) and the value in this register will remain at 00h until otherwise changed. bit description 7:0 retransmission packet count limit (rpc_val) ? r/w. this field provides the number of packets to be se nt for all sos packets that require retransmissions. bit description 7:0 asf watchdog timer 1 (awd1_val) ? r/w. this field provides the low byte of the asf 1-second resolution timer. the timer is accurate to +0 seconds, ?0.336 seconds. bit description 7:0 asf watchdog timer 2 (awd2_val) ? r/w. this field provides the high byte of the asf 1-second resolution timer. the timer is accurate to +0 seconds, ?0.336 seconds. free datasheet http://www..net/
intel ? ich7 family datasheet 337 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.3.13 pet_seq1?pet se quence 1 register (asf controller?b1:d8:f0) offset address: f0h attribute: r/w default value: 00h size: 8 bits this register (low byte) holds the current va lue of the pet sequence number. this field is read/write-able through this register, an d is also automatically incremented by the hardware when new pet packets are generated. by policy, software should not write to this register unless transmission is disabled. 8.3.14 pet_seq2?pet se quence 2 register (asf controller?b1:d8:f0) offset address: f1h attribute: r/w default value: 00h size: 8 bits this register (high byte) holds the current va lue of the pet sequence number. this field is read/write-able through this register, an d is also automatically incremented by the hardware when new pet packets are generated. by policy, software should not write to this register unless transmission is disabled. bit description 7:0 pet sequence byte 1 (pseq1_val) ? r/w. this field provides the low byte. bit description 7:0 pet sequence byte 2 (pseq2_val) ? r/w. this field provides the high byte. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 338 intel ? ich7 family datasheet 8.3.15 sta?status register (asf controller?b1:d8:f0) offset address: f2h attribute: r/w default value: 40h size: 8 bits this register gives status indication about several aspects of asf. bit description 7 eeprom loading (sta_load) ? r/w. eeprom defaults are in the process of being loaded when this bit is a 1. 6 eeprom invalid checksum indication (sta_icrc) ? r/w. this bit should be read only after the eec_load bit is a 0. 0 = valid 1 = invalid checksum detected for asf portion of the eeprom. 5:4 reserved 3 power cycle status (sta_cycle) ? r/w. 0 = software clears this bit by writing a 1. 1 = this bit is set when a power cycle operation has been issued. 2 power down status (sta_down) ? r/w. 0 = software clears this bit by writing a 1 1 = this bit is set when a power down operation has been issued. 1 power up status (sta_up) ? r/w. 0 = software clears this bit by writing a 1 1 = this bit is set when a power up operation has been issued. 0 system reset status (sta_rst) ? r/w. 0 = software clears this bit by writing a 1 1 = this bit is set when a system reset operation has been issued. free datasheet http://www..net/
intel ? ich7 family datasheet 339 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.3.16 for_act?forced actions register (asf controller?b1:d8:f0) offset address: f3h attribute: r/w default value: 02h size: 8 bits this register contains many different forcible actions including apm functions, flushing internal pending sos operations, software sos operations, software reset, and eeprom reload. writes to this register must only set one bit per-write. setting multiple bits in a single write can have indeterminate results. note: for bits in this register, writing a 1 invokes the operation. the bits self-clear immediately. bit description 7 software reset (frc_rst) ? r/w. this bit is used to reset the asf controller. it performs the equivalent of a hardware reset and re-r ead the eeprom. this bit self- clears immediately. software should wait for the eec_load bit to clear. 6 force eeprom reload (frc_eeld) ? r/w. force reload of eeprom without affect current monitoring state of the asf controller. this bit self-clears immediately. note: software registers in eeprom are not lo aded by this action. software should disable the asf controller before issuin g this command and wait for sta_load to clear before enabling again. 5 flush sos (frc_flush) ? r/w. this bit is used to flush any pending soses or history internal to the asf controller. this is necessary because the status register only shows events that have happene d as opposed to sos events sent. also, the history bits in the asf controller are not softwa re visible. self-clears immediately. 4 reserved 3 force apm power cycle (frc_acyc) ? r/w. this mode forces the asf controller to initiate a power cycle to the system. the bit self-clears immediately. 2 force apm hard power down (frc_ahdn) ? r/w. this mode forces the asf controller to initiate a hard power down of the system immediately. the bit self-clears immediately. 1 clear asf polling history (frc_clrapol) ? r/w. writing a 1b to this bit position will clear the poll history associated with all asf polling. writing a 0b has no effect. this bit self-clears immediately. 0 force apm reset (frc_arst) ? r/w. this mode forces the asf controller to initiate a hard reset of the system immediat ely. the bit self-clears immediately. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 340 intel ? ich7 family datasheet 8.3.17 rmcp_snum?rmcp sequ ence number register (asf controller?b1:d8:f0) offset address: f4h attribute: r/w default value: 00h size: 8 bits this register is a means for software to read the current sequence number that hardware is using in rmcp packets. softwa re can also change the value. software should only write to this register while the global enable is off. 8.3.18 sp_mode?special modes register (asf controller?b1:d8:f0) offset address: f5h attribute: r/wc, ro default value: x0h size: 8 bits the register contains miscellaneous functions. 8.3.19 inpoll_tconf?inter-poll timer configuration register (asf controller?b1:d8:f0) offset address: f6h attribute: r/w default value: 10h size: 8 bits this register is used to load and hold the value (in increments of 5 ms) for the polling timer. this value determines how often the asf polling timer expires which determines the minimum idle time between sensor polls. bit description 7:0 rmcp sequence number (rseq_val) ? r/w. this is the current sequence number of the rmcp packet being sent or the sequen ce number of the next rmcp packet to be sent. this value can be set by software. at reset, it defaults to 00h. if the sequence number is not ffh, the asf controller will automatically increment this number by one (or rollover to 00h if incrementing fro m feh) after a successful rmcp packet transmission. bit description 7 smbus activity bit (spe_act) ? ro. 1 = asf controller is active with a smbus tran saction. this is an indicator to software that the asf controller is still processing commands on the smbus. 6 watchdog status (spe_wdg) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when a watchdog expiration occurs. 5 link loss status (spe_lnk) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when a link loss occurs (link is down for more than 5 seconds). 4:0 reserved bit description 7:0 inter-poll timer conf iguration (iptc_val) ? r/w. this field identifies the time, in 5.24 ms units that the asf controller will wait between the end of the one asf poll alert message to start on the next. the va lue 00h is invalid and unsupported. free datasheet http://www..net/
intel ? ich7 family datasheet 341 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.3.20 phist_clr?poll hi story clear register (asf controller?b1:d8:f0) offset address: f7h attribute: r/wc default value: 00h size: 8 bits this register is used to clear the history of the legacy poll operations. asf maintains history of the last poll data for each legacy poll operation to compare against the current poll to detect changes. by setting the appropriate bit, the history for that legacy poll is cleared to 0s. 8.3.21 pmsk1?polling mask 1 register (asf controller?b1:d8:f0) offset address: f8h attribute: r/w default value: xxh size: 8 bits this register provides software an interface for the polling #1 data mask. bit description 7 clear polling descriptor 8 history (phc_poll8) ? r/wc. writing a 1b to this bit position will clear the poll history associat ed with polling descri ptor #8. writing a 0b has no effect. 6 clear polling descriptor 7 history (phc_poll7) ? r/wc. writing a 1b to this bit position will clear the poll history associat ed with polling descri ptor #7. writing a 0b has no effect. 5 clear polling descriptor 6 history (phc_poll6) ? r/wc. writing a 1b to this bit position will clear the poll history associat ed with polling descri ptor #6. writing a 0b has no effect. 4 clear polling descriptor 5 history (phc_poll5) ? r/wc. writing a 1b to this bit position will clear the poll history associat ed with polling descri ptor #5. writing a 0b has no effect. 3 clear polling descriptor 4 history (phc_poll4) ? r/wc. writing a 1b to this bit position will clear the poll history associat ed with polling descri ptor #4. writing a 0b has no effect. 2 clear polling descriptor 3 history (phc_poll3) ? r/wc. writing a 1b to this bit position will clear the poll history associat ed with polling descri ptor #3. writing a 0b has no effect. 1 clear polling descriptor 2 history (phc_poll2) ? r/wc. writing a 1b to this bit position will clear the poll history associat ed with polling descri ptor #2. writing a 0b has no effect. 0 clear polling descriptor 1 history (phc_poll1) ? r/wc. writing a 1b to this bit position will clear the poll history associat ed with polling descri ptor #1. writing a 0b has no effect. bit description 7:0 polling mask for polling descriptor #1 (pol1_msk) ? r/w. this field is used to read and write the data mask for polling de scriptor #1. software should only access this register when the asf co ntroller is global disabled. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 342 intel ? ich7 family datasheet 8.3.22 pmsk2?polling mask 2 register (asf controller?b1:d8:f0) offset address: f9h attribute: r/w default value: xxh size: 8 bits this register provides software an interface for the polling #2 data mask. 8.3.23 pmsk3?polling mask 3 register (asf controller?b1:d8:f0) offset address: fah attribute: r/w default value: xxh size: 8 bits this register provides software an interface for the polling #3 data mask. 8.3.24 pmsk4?polling mask 4 register (asf controller?b1:d8:f0) offset address: fbh attribute: r/w default value: xxh size: 8 bits this register provides software an interface for the polling #4 data mask. bit description 7:0 polling mask for polling descriptor #2 (pol2_msk) ? r/w. this field is used to read and write the data mask for polling de scriptor #2. software should only access this register when the asf co ntroller is global disabled. bit description 7:0 polling mask for polling descriptor #3 (pol3_msk) ? r/w. this register is used to read and write the data mask for polling descriptor #3. software should only access this register when the asf co ntroller is global disabled. bit description 7:0 polling mask for polling descriptor #4 (pol4_msk) ? r/w. this register is used to read and write the data mask for polling descriptor #4. software should only access this register when the asf co ntroller is global disabled. free datasheet http://www..net/
intel ? ich7 family datasheet 343 lan controller registers (b1:d8:f0) (desktop and mobile only) 8.3.25 pmsk5?polling mask 5 register (asf controller?b1:d8:f0) offset address: fch attribute: r/w default value: xxh size: 8 bits this register provides software an interface for the polling #5 data mask. 8.3.26 pmsk6?polling mask 6 register (asf controller?b1:d8:f0) offset address: fdh attribute: r/w default value: xxh size: 8 bits this register provides software an interface for the polling #6 data mask. 8.3.27 pmsk7?polling mask 7 register (asf controller?b1:d8:f0) offset address: feh attribute: r/w default value: xxh size: 8 bits this register provides software an interface for the polling #7 data mask. bit description 7:0 polling mask for polling descriptor #5 (pol5_msk) ? r/w. this register is used to read and write the data mask for polling descriptor #5. software should only access this register when the asf co ntroller is global disabled. bit description 7:0 polling mask for polling descriptor #6 (pol6_msk) ? r/w. this register is used to read and write the data mask for polling descriptor #6. software should only access this register when the asf co ntroller is global disabled. bit description 7:0 polling mask for polling descriptor #7 (pol7_msk) ? r/w. this register is used to read and write the data mask for polling descriptor #7. software should only access this register when the asf co ntroller is global disabled. free datasheet http://www..net/
lan controller registers (b1:d8:f0) (desktop and mobile only) 344 intel ? ich7 family datasheet 8.3.28 pmsk8?polling mask 8 register (asf controller?b1:d8:f0) offset address: ffh attribute: r/w default value: xxh size: 8 bits this register provides software an interface for the polling #8 data mask. bit description 7:0 polling mask for polling descriptor #8 (pol8_msk) ? r/w. this register is used to read and write the data mask for polling descriptor #8. software should only access this register when the asf co ntroller is global disabled. free datasheet http://www..net/
intel ? ich7 family datasheet 345 pci-to-pci bridge registers (d30:f0) 9 pci-to-pci bridge registers (d30:f0) the ich7 pci bridge resides in pci device 30, function 0 on bus #0. this implements the buffering and control logic between pci and the backbone. the arbitration for the pci bus is handled by this pci device. 9.1 pci configuration registers (d30:f0) note: address locations that are not shown should be treated as reserved (see section 6.2 for details). . table 9-1. pci bridge register address map (pci-pci?d30:f0) offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h psts pci status 0010h r/wc, ro 08h rid revision identification see register description ro 09h-0bh cc class code 00060401h ro 0dh pmlt primary master latency timer 00h ro 0eh headtyp header type 81h ro 18h-1ah bnum bus number 000000h r/w, ro 1bh smlt secondary master latency timer 00h r/w, ro 1ch-1dh iobase_limit i/o base and limit 0000h r/w, ro 1eh?1fh secsts secondary status 0280h r/wc, ro 20h?23h membase_limit memory ba se and limit 00000000h r/w, ro 24h?27h pref_mem_base _limit prefetchable memory base and limit 00010001h r/w, ro 28h?2bh pmbu32 prefetchable memory upper 32 bits 00000000h r/w 2ch?2fh pmlu32 prefetchable memory limit upper 32 bits 00000000h r/w 34h capp capability list pointer 50h ro 3ch-3dh intr interrupt information 0000h r/w, ro 3eh?3fh bctrl bridge control 0000h r/wc, ro 40h?41h spdh secondary pci device hiding 00h r/w, ro 44h-47h dtc delayed transaction control 00000000h r/w, ro 48h-4bh bps bridge proprietary status 00000000h r/wc, ro 4ch-4fh bpc bridge policy configuration 00001200h r/w ro 50?51h svcap subsystem vendor capability pointer 000dh ro 54h-57h svid subsystem vendor ids 00000000 r/wo free datasheet http://www..net/
pci-to-pci bridge registers (d30:f0) 346 intel ? ich7 family datasheet 9.1.1 vid? vendor identificati on register (pci-pci?d30:f0) offset address: 00h?01h attribute: ro default value: 8086h size: 16 bits 9.1.2 did? device identificati on register (pci-pci?d30:f0) offset address: 02h?03h attribute: ro default value: see bit description size: 16 bits 9.1.3 pcicmd?pci command (pci-pci?d30:f0) offset address: 04h ? 05h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:0 vendor id ? ro. this is a 16-bit valu e assigned to intel. intel vid = 8086h. bit description 15:0 device id ? ro.this is a 16-bit value assigned to the pci bridge. refer to the intel ? i/o controller hub 7 (ich7) family specific ation update for the value of the device id register. bit description 15:11 reserved 10 interrupt disable (id) ? ro. hardwired to 0. the pci bridge has no interrupts to disable 9 fast back to back enable (fbe) ? ro. hardwired to 0, per the pci express* base specification, revision 1.0a . 8 serr# enable (serr_en) ? r/w. 0 = disable. 1 = enable the intel ? ich7 to generate an nmi (or smi# if nmi routed to smi#) when the d30:f0 sse bit (offset 06h, bit 14) is set. 7 wait cycle control (wcc) ? ro. hardwired to 0, per the pci express* base specification, revision 1.0a . 6 parity error response (per) ? r/w. 0 = the ich7 ignores parity errors on the pci bridge. 1 = the ich7 will set the sse bit (d30:f0, o ffset 06h, bit 14) when parity errors are detected on the pci bridge. 5 vga palette snoop (vps) ? ro . hardwired to 0, per the pci express* base specification, revision 1.0a . 4 memory write and invalidate enable (mwe) ? ro. hardwired to 0, per the pci express* base specification, revision 1.0a 3 special cycle enable (sce) ? ro. hardwired to 0, per the pci express* base specification, revision 1.0a and the pci- to-pci bridge specification. free datasheet http://www..net/
intel ? ich7 family datasheet 347 pci-to-pci bridge registers (d30:f0) 9.1.4 psts?pci status register (pci-pci?d30:f0) offset address: 06h ? 07h attribute: r/wc, ro default value: 0010h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. 2 bus master enable (bme) ? r/w. 0 = disable 1 = enable. allows the pci-to-pci br idge to accept cycles from pci. 1 memory space enable (mse) ? r/w. controls the respon se as a target for memory cycles targeting pci. 0 = disable 1 = enable 0 i/o space enable (iose) ? r/w. controls the response as a target for i/o cycles targeting pci. 0 = disable 1 = enable bit description bit description 15 detected parity error (dpe) ? r/wc. 0 = parity error not detected. 1 = indicates that the intel ? ich7 detected a parity erro r on the internal backbone. this bit gets set even if the parity error response bit (d30:f0:04 bit 6) is not set. free datasheet http://www..net/
pci-to-pci bridge registers (d30:f0) 348 intel ? ich7 family datasheet 14 signaled system error (sse) ? r/wc. several internal and external sources of the bridge can cause serr#. the first class of errors is parity e rrors related to the backbone. the pci bridge captures generic da ta parity errors (errors it finds on the backbone) as well as errors returned on backbone cycles wher e the bridge was the master. if either of these two conditions is met, and the primary side of the bridge is enabled for parity error response, serr# will be captured as shown below. as with the backbone, the pci bus captures the same sets of e rrors. the pci bridge captures generic data parity erro rs (errors it finds on pci) as well as errors returned on pci cycles where the bridge was the master. if either of these two conditions is met, and the secondary side of the bridge is enab led for parity error response, serr# will be captured as shown below. the final class of errors is system bus errors. there are three status bits associated with system bus errors, each with a corresponding enable. the diagram capturing this is shown below. after checking for the three above classes of errors, an serr# is generated, and psts.sse logs the generation of serr#, if cmd.see (d30:f0:04, bit 8) is set, as shown below. 13 received master abort (rma) ? r/wc. 0 = no master abort received. 1 = set when the bridge receives a ma ster abort status from the backbone. 12 received target abort (rta) ? r/wc. 0 = no target abort received. 1 = set when the bridge receives a ta rget abort status from the backbone. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 349 pci-to-pci bridge registers (d30:f0) 9.1.5 rid?revision identificati on register (pci-pci?d30:f0) offset address: 08h attribute: ro default value: see bit description size: 8 bits 9.1.6 cc?class code regi ster (pci-pci?d30:f0) offset address: 09h-0bh attribute: ro default value: 060401h size: 24 bits 11 signaled target abort (sta) ? r/wc. 0 = no signaled target abort 1 = set when the bridge generates a completion packet with target abort status on the backbone. 10:9 reserved. 8 data parity error detected (dpd) ? r/wc. 0 = data parity error not detected. 1 = set when the bridge receives a comp letion packet from the backbone from a previous request, an d detects a parity error, and cm d.pere is set (d30:f0:04 bit 6). 7:5 reserved. 4 capabilities list (clist) ? ro. hardwired to 1. capability list ex ist on the pci bridge. 3 interrupt status (is) ? ro. hardwired to 0. the pci bridge does not generate interrupts. 2:0 reserved bit description bit description 7:0 revision id ? ro. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the revision id register. bit description 23:16 base class code (bcc) ? ro. hardwired to 06h. indicates this is a bridge device. 15:8 sub class code (scc) ? ro. hardwired to 04h. indicates th is device is a pci-to-pci bridge. 7:0 programming interface (pi) ? ro. hardwired to 01h. indicates the bridge is subtractive decode free datasheet http://www..net/
pci-to-pci bridge registers (d30:f0) 350 intel ? ich7 family datasheet 9.1.7 pmlt?primary master latency timer register (pci-pci?d30:f0) offset address: 0dh attribute: ro default value: 00h size: 8 bits 9.1.8 headtyp?header type register (pci-pci?d30:f0) offset address: 0eh attribute: ro default value: 81h size: 8 bits 9.1.9 bnum?bus number re gister (pci-pci?d30:f0) offset address: 18h-1ah attribute: r/w, ro default value: 000000h size: 24 bits bit description 7:3 master latency timer count (mltc) ? ro. reserved per the pci express* base specification, revision 1.0a . 2:0 reserved bit description 7 multi-function device (mfd) ? ro. the value reported here depends upon the state of the ac ?97 function hide (fd) register (chipset config registers:offset 3418h), per the following table: 6:0 header type (htype) ? ro. this 7-bit field identifies the header layout of the configuration space, which is a pci-to-pci bridge in this case. fd.aad fd.amd mfd 0 0 1 0 1 1 1 0 1 1 1 0 bit description 23:16 subordinate bus number (sbbn) ? r/w. indicates the highest pci bus number below the bridge. 15:8 secondary bus number (scbn) ? r/w. indicates the bus number of pci. 7:0 primary bus number (pbn) ? ro. hardwired to 00h for legacy software compatibility. free datasheet http://www..net/
intel ? ich7 family datasheet 351 pci-to-pci bridge registers (d30:f0) 9.1.10 smlt?secondary master latency timer register (pci-pci?d30:f0) offset address: 1bh attribute: r/w, ro default value: 00h size: 8 bits this timer controls the amount of time the ic h7 pci-to-pci bridge will burst data on its secondary interface. the counter starts co unting down from the assertion of frame#. if the grant is removed, then the expirati on of this counter will result in the de- assertion of frame#. if the grant has not been removed, then the ich7 pci-to-pci bridge may continue ownership of the bus. 9.1.11 iobase_limit?i/o ba se and limit register (pci-pci?d30:f0) offset address: 1ch-1dh attribute: r/w, ro default value: 0000h size: 16 bits bit description 7:3 master latency timer count (mltc) ? r/w. this 5-bit field indi cates the number of pci clocks, in 8-clock increments, that the intel ? ich7 remains as master of the bus. 2:0 reserved bit description 15:12 i/o limit address limit bits [15:12] ? r/w. i/o base bits corresponding to address lines 15:12 for 4-kb alignment. bits 11: 0 are assumed to be padded to fffh. 11:8 ii/o limit address capability (iolc) ? ro. in dicates that the bridge does not support 32-bit i/o addressing. 7:4 i/o base address (ioba) ? r/w. i/o base bits corresponding to address lines 15:12 for 4-kb alignment. bi ts 11:0 are assumed to be padded to 000h. 3:0 i/o base address capability (iobc) ? ro. indicates that the bridge does not support 32-bit i/o addressing. free datasheet http://www..net/
pci-to-pci bridge registers (d30:f0) 352 intel ? ich7 family datasheet 9.1.12 secsts?secondary status register (pci-pci?d30:f0) offset address: 1eh ? 1fh attribute: r/wc, ro default value: 0280h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. bit description 15 detected parity error (dpe) ? r/wc. 0 = parity error not detected. 1 = intel ? ich7 pci bridge detected an address or data parity error on the pci bus 14 received system error ( rse) ? r/wc. 0 = serr# assertion not received 1 = serr# assertion is received on pci. 13 received master abort (rma) ? r/wc. 0 = no master abort. 1 = this bit is set whenever th e bridge is acting as an in itiator on the pci bus and the cycle is master-aborted. for (g)mch/ich7 interface packets that have completion required, this must also ca use a target abort to be re turned and sets psts.sta. (d30:f0:06 bit 11) 12 received target abort (rta) ? r/wc. 0 = no target abort. 1 = this bit is set whenever the bridge is acting as an initiator on pci and a cycle is target-aborted on pci. for (g)mch/ich7 interface packets that have completion required, this event must also cause a target abort to be returned, and sets psts.sta. (d30:f0:06 bit 11). 11 signaled target abort (sta) ? r/wc. 0 = no target abort. 1 = this bit is set when the br idge is acting as a target on the pci bus and signals a target abort. 10:9 devsel# timing (devt) ? ro. 01h = medium decode timing. 8 data parity error detected (dpd) ? r/wc. 0 = conditions de scribed below not met. 1 = the ich7 sets this bit when all of the following three conditions are met: ? the bridge is the initiator on pci. ? perr# is detected asserted or a parity error is detected internally ? bctrl.pere (d30:f0:3e bit 0) is set. 7 fast back to back capable (fbc) ? ro. hardwi red to 1 to indicate that the pci to pci target logic is capable of rece iving fast back-to-back cycles. 6 reserved 5 66 mhz capable (66mhz_cap) ? ro. hardwire d to 0. this bridge is 33 mhz capable only. 4:0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 353 pci-to-pci bridge registers (d30:f0) 9.1.13 membase_limit?memory base and limit register (pci-pci?d30:f0) offset address: 20h?23h attribute: r/w, ro default value: 00000000h size: 32 bits this register defines the base and limit, aligned to a 1-mb boundary, of the non- prefetchable memory area of the bridge. a ccesses that are within the ranges specified in this register will be sent to pci if cmd. mse is set. accesses from pci that are outside the ranges specified will be accepted by the bridge if cmd.bme is set. 9.1.14 pref_mem_base_limit?prefetchable memory base and limit register (pci-pci?d30:f0) offset address: 24h?27h attribute: r/w, ro default value: 00010001h size: 32-bit defines the base and limit, aligned to a 1- mb boundary, of the prefetchable memory area of the bridge. accesses that are within th e ranges specified in this register will be sent to pci if cmd.mse is set. accesses from pci that are outside the ranges specified will be accepted by the bridge if cmd.bme is set. bit description 31-20 memory limit (ml) ? r/w. these bits are compared with bits 31:20 of the incoming address to determine the upper 1-mb alig ned value (exclusive) of the range. the incoming address must be less than this value. 19-16 reserved 15:4 memory base (mb) ? r/w. these bits are compared with bits 31:20 of the incoming address to determine the lower 1-mb alig ned value (inclusive) of the range. the incoming address must be greate r than or equal to this value. 3:0 reserved bit description 31-20 prefetchable memory limit (pml) ? r/w. these bits are compared with bits 31:20 of the incoming address to determine the u pper 1-mb aligned value (exclusive) of the range. the incoming address mu st be less than this value. 19-16 64-bit indicator (i64l) ? ro. indicates support for 64-bit addressing. 15:4 prefetchable memory base (pmb) ? r/w. these bits are compared with bits 31:20 of the incoming address to determine the lo wer 1-mb aligned value (inclusive) of the range. the incoming address must be greater than or equal to this value. 3:0 64-bit indicator (i64b) ? ro. indicates support fo r 64-bit addressing. free datasheet http://www..net/
pci-to-pci bridge registers (d30:f0) 354 intel ? ich7 family datasheet 9.1.15 pmbu32?prefetchable memory base upper 32 bits register (pci-pci?d30:f0) offset address: 28h?2bh attribute: r/w default value: 00000000h size: 32 bits 9.1.16 pmlu32?prefetchable memory limit upper 32 bits register (pci-pci?d30:f0) offset address: 2c?2fh attribute: r/w default value: 00000000h size: 32 bits 9.1.17 capp?capability list poin ter register (pci-pci?d30:f0) offset address: 34h attribute: ro default value: 50h size: 8 bits 9.1.18 intr?interrupt informat ion register (pci-pci?d30:f0) offset address: 3ch ? 3dh attribute: r/w, ro default value: 0000h size: 16 bits bit description 31:0 prefetchable memory base upper portion (pmbu) ? r/w. upper 32-bits of the prefetchable address base. bit description 31:0 prefetchable memory limit upper portion (pmlu) ? r/w. upper 32-bits of the prefetchable address limit. bit description 7:0 capabilities pointer (ptr) ? ro. indicates that the pointer for the first entry in the capabilities list is at 50h in configuration space. bit description 15:8 interrupt pin (ipin) ? ro. the pci bridge does not as sert an interrupt. 7:0 interrupt line (iline) ? r/w. software written value to indicate which interrupt line (vector) the interrupt is conn ected to. no hardware action is taken on this register. since the bridge does not gene rate an interrupt, bios should program this value to ffh as per the pci bri dge specification. free datasheet http://www..net/
intel ? ich7 family datasheet 355 pci-to-pci bridge registers (d30:f0) 9.1.19 bctrl?bridge control register (pci-pci?d30:f0) offset address: 3eh ? 3fh attribute: r/wc, ro default value: 0000h size: 16 bits bit description 15:12 reserved 11 discard timer serr# enable (dte ) ? r/w. controls the generation of serr# on the primary interface in respon se to the dts bit being set: 0 = do not generate serr# on a secondary timer discard 1 = generate serr# in response to a secondary timer discard 10 discard timer status (dts) ? r/wc. this bit is set to 1 when the secondary discard timer (see the sdt bit below) expires for a delayed transaction in the hard state. 9 secondary discard timer (sdt) ? r/w. this bit sets the maximum number of pci clock cycles that the intel ? ich7 waits for an initiator on pci to repeat a delayed transaction request. the counter starts once the delayed transaction data is has been returned by the system and is in a buffer in the ich7 pci bridge. if the master has not repeated the transaction at least once before the counter expires, the ich7 pci bridge discards the transaction from its queue. 0 = the pci master timeout value is between 2 15 and 2 16 pci clocks 1 = the pci master timeout value is between 2 10 and 2 11 pci clocks 8 primary discard timer (pdt ) ? r/w. this bit is r/w for software compatibility only. 7 fast back to back enable (fbe) ? ro. hardwi red to 0. the pci logi c will not generate fast back-to-back cycles on the pci bus. 6 secondary bus reset (sbr) ? r/w. this bit controls pcirst# assertion on pci. 0 = bridge de-asserts pcirst# 1 = bridge asserts pcirst#. when pcirst # is asserted, the delayed transaction buffers, posting buffers, and the pci bus ar e initialized back to reset conditions. the rest of the part and the config uration registers are not affected. 5 master abort mode (mam ) ? r/w. this bit controls the ich7 pci bridge?s behavior when a master abort occurs: master abort on (g)mch/ich7 interconnect (dmi): 0 = bridge asserts trdy# on pc i. it drives all 1?s for reads, and discards data on writes. 1 = bridge returns a target abort on pci. master abort pci (non-locked cycles): 0 = normal completion status will be re turned on the (g)mch/ich7 interconnect. 1 = target abort completion st atus will be returned on th e (g)mch/ich7 interconnect. note: all locked reads will return a completer abort completion status on the (g)mch/ ich7 interconnect. 4 vga 16-bit decode (v16d) ? r/w. this bit controls enab les the ich7 pci bridge to provide 16-bits decoding of vga i/o addr ess precluding the decode of vga alias addresses every 1 kb. this bit requires the vgae bit in this register be set. free datasheet http://www..net/
pci-to-pci bridge registers (d30:f0) 356 intel ? ich7 family datasheet 9.1.20 spdh?secondary pci device hiding register (pci-pci?d30:f0) offset address: 40h?41h attribute: r/w, ro default value: 00h size: 16 bits this register allows software to hide the pci devices, either plugged into slots or on the motherboard. 3 vga enable (vgae) ? r/w. when set to a 1, the ich7 pci bridge forwards the following transactions to pci regardless of th e value of the i/o base and limit registers. the transactions are qualified by cm d.mse (d30:f0:04 bit 1) and cmd.iose (d30:f0:04 bit 0) being set. ? memory addresses: 000a0000h-000bffffh ? i/o addresses: 3b0h-3bbh and 3c0h-3dfh. for the i/o addresses, bits [63:16] of the address must be 0, and bits [15:10] of the address are ignored (i.e., aliased). the same holds true from secondary accesses to the primary interface in reverse. that is, when the bit is 0, memory and i/o a ddresses on the second ary interface between the above ranges will be claimed. 2 isa enable (ie) ? r/w. this bit only applies to i/ o addresses that are enabled by the i/o base and i/o limit registers and are in the fi rst 64 kb of pci i/o space. if this bit is set, the ich7 pci bridge will block any fo rwarding from primary to secondary of i/o transactions addressing the last 768 bytes in each 1-kb block (o ffsets 100h to 3ffh). 1 serr# enable (see) ? r/w. this bit controls the forwarding of secondary interface serr# assertions on the prim ary interface. when set, th e pci bridge will forward serr# pin. ? serr# is asserted on the secondary interface. ? this bit is set. ? cmd.see (d30:f0:04 bit 8) is set. 0 parity error response enable (pere) ? r/w. 0 = disable 1 = the ich7 pci bridge is enabled for parity error reporting based on parity errors on the pci bus. bit description bit description 15:8 reserved 7 hide device 7 (hd7) ? r/w, ro. same as bit 0 of this regi ster, except for device 7 (ad[23]) 6 hide device 6 (hd6) ? r/w, ro. same as bit 0 of this register, except for device 6 (ad[22]) 5 hide device 5 (hd5) ? r/w, ro. same as bit 0 of th is register, except for device 5 (ad[21]) 4 hide device 4 (hd4) ? r/w, ro. same as bit 0 of this register, except for device 4 (ad[20]) 3 hide device 3 (hd3) ? r/w, ro. same as bit 0 of th is register, except for device 3 (ad[19]) free datasheet http://www..net/
intel ? ich7 family datasheet 357 pci-to-pci bridge registers (d30:f0) 9.1.21 dtc?delayed transa ction control register (pci-pci?d30:f0) offset address: 44h ? 47h attribute: r/w, ro default value: 00000000h size: 32 bits 2 hide device 2 (hd2) ? r/w, ro. same as bit 0 of this register, except for device 2 (ad[18]) 1 hide device 1 (hd1) ? r/w, ro. same as bit 0 of this regi ster, except for device 1 (ad[17]) 0 hide device 0 (hd0) ? r/w, ro. 0 = the pci configuration cycles for this slot are not affected. 1 = intel ? ich7 hides device 0 on the pci bus. this is done by masking the idsel (keeping it low) for configuration cycles to that device. since the device will not see its idsel go active, it will not respond to pci configuration cycles and the processor will think the device is not present. ad[16] is used as idsel for device 0. bit description bit description 31 discard delayed transactions (ddt) ? r/w. 0 = logged delayed transactions are kept. 1 = the intel ? ich7 pci bridge will disc ard any delayed transactions it has logged. this includes transactions in th e pending queue, and any transactions in the active queue, whether in the hard or soft dt st ate. the prefetchers will be disabled and return to an idle state. note: if a transaction is running on pci at the time this bit is set, that transaction will continue until either the pci master di sconnects (by de-asserting frame#) or the pci bridge disconnects (by asserting stop#). this bit is cleared by the pci bridge when the delayed transaction queu es are empty and have returned to an idle state. software sets this bit and polls for its completion 30 block delayed transactions (bdt) ? r/w. 0 = delayed transactions accepted 1 = the ich7 pci bridge will not accept incoming transactions which will result in delayed transactions. it will blindly retr y these cycles by asserting stop#. all postable cycles (memory writes) will still be accepted. 29: 8 reserved 7: 6 maximum delayed transactions (mdt) ? r/w. this field controls the maximum number of delayed transactions that the ich7 pci bridge will run. encodings are: 00 =) 2 active, 5 pending 01 =) 2 active, no pending 10 =) 1 active, no pending 11 =) reserved 5 reserved 4 auto flush after disco nnect enable (afade) ? r/w. 0 = the pci bridge will retain any fetched da ta until required to discard by producer/ consumer rules. 1 = the pci bridge will flush any prefetched data after either the pci master (by de- asserting frame#) or the pci bridge (b y asserting stop#) disconnects the pci transfer. free datasheet http://www..net/
pci-to-pci bridge registers (d30:f0) 358 intel ? ich7 family datasheet 3 never prefetch (np) ? r/w. 0 = prefetch enabled 1 = the ich7 will only fetch a single dw and will not enable prefetching, regardless of the command being an memory read (mr), memory read line (mrl), or memory read multiple (mrm). 2 memory read multiple prefetch disable (mrmpd) ? r/w. 0 = mrm commands will fetch multiple ca che lines as defined by the prefetch algorithm. 1 = memory read multiple (mrm) commands wi ll fetch only up to a single, 64-byte aligned cache line. 1 memory read line prefetch disable (mrlpd) ? r/w. 0 = mrl commands will fetch multiple cache lines as defined by the prefetch algorithm. 1 = memory read line (mrl) commands will fe tch only up to a single, 64-byte aligned cache line. 0 memory read prefetch disable (mrpd) ? r/w. 0 = mr commands will fetch up to a 64-byte aligned cache line. 1 = memory read (mr) commands will fetch only a single dw. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 359 pci-to-pci bridge registers (d30:f0) 9.1.22 bps?bridge proprietary status register (pci-pci?d30:f0) offset address: 48h ? 4bh attribute: r/wc, ro default value: 00000000h size: 32 bits bit description 31:17 reserved 16 perr# assertion detected (pad) ? r/wc. this bit is set by hardware whenever the perr# pin is asserted on the ri sing edge of pci clock. this includes cases in which the chipset is the agent driving perr#. it re mains asserted until cleared by software writing a 1 to this location. when enabled by the perr#-to-serr# enable bit (in the bridge policy configuration register), a 1 in this bit can generate an internal serr# and be a source for the nmi logic. this bit can be used by software to de termine the source of a system problem. 15:7 reserved 6:4 number of pending transactions (npt) ? ro. this field indicates to debug software how many transactions are in the pending queue. po ssible values are: 000 = no pending transaction 001 = 1 pending transaction 010 = 2 pending transactions 011 = 3 pending transactions 100 = 4 pending transactions 101 = 5 pending transactions 110 - 111 = reserved note: this field is not valid if dtc.mdt (offset 44h:bits 7:6) is any value other than ?00?. 3:2 reserved 1:0 number of active transactions (nat) ? ro. this field indicates to debug software how many transactions are in the active queue. possible values are: 00 = no active transactions 01 = 1 active transaction 10 = 2 active transactions 11 = reserved free datasheet http://www..net/
pci-to-pci bridge registers (d30:f0) 360 intel ? ich7 family datasheet 9.1.23 bpc?bridge policy configuration register (pci-pci?d30:f0) offset address: 4ch ? 4fh attribute: r/w, ro default value: 00001200h size: 32 bits bit description 31:14 reserved 13:8 upstream read latency threshold (urlt) ? r/w: this field specifies the number of pci clocks after internally enqueuing an upstream memory re ad request at which point the pci target logic should insert wait states in order to optimize lead-off latency. when the master returns af ter this threshold has been reached and data has not arrived in the delayed transaction completion queue, then the pci target logic will insert wait states instead of immediately re trying the cycle. the pci target logic will insert up to 16 clocks of target initial latency (from frame# as sertion to trdy# or stop# assertion) before retrying the pci re ad cycle (if the read data has not arrived yet). note that the starting event for this read latency timer is not explicitly visible externally. a value of 0h disables this policy completely such that wait states will not be inserted on the read lead-off data phase. the default value (12h) specifies 18 pci clocks (540 ns) and is a pproximately 4 clocks less than the typical idle lead-off latency expected for desktop intel ? ich7 systems. this value may need to be changed by bios, depending on the platform. 7 subtractive decode policy (sdp) ? r/w. 0 = the pci bridge always forwards memory and i/o cycles that ar e not claimed by any other device on the backbone (primary interface) to the pci bus (secondary interface). 1 = the pci bridge will not cl aim and forward memory or i/ o cycles at all unless the corresponding space enable bit is set in the command register. note: the boot bios destination selection strap can force the bios accesses to pci. 6 perr#-to-serr# enable (pse) ? r/w. when this bit is set, a 1 in the perr# assertion status bit (in the bri dge proprietary status register) will result in an internal serr# assertion on the primary side of th e bridge (if also en abled by the serr# enable bit in the primary command re gister). serr# is a source of nmi. 5 secondary discard timer testmode (sdtt) ? r/w. 0 = the secondary discard timer expiration will be defined in bctrl.sdt (d30:f0:3e, bit 9) 1 = the secondary discard timer will expire after 128 pci clocks. 4:3 reserved 2 peer decode enable (pde) ? r/w. 0 = the pci bridge assumes th at all memory cycles target main memory, and all i/o cycles are not claimed. 1 = the pci bridge will perform peer decode on any memory or i/o cycle from pci that falls outside of the memory and i/o window registers 1 reserved 0 received target abort serr# enable (rtae) ? r/w. when set, the pci bridge will report serr# when psts.rta (d30:f0:06 bit 12) or ssts.rta (d30:f0:1e bit 12) are set, and cmd.see (d30:f0:04 bit 8) is set. free datasheet http://www..net/
intel ? ich7 family datasheet 361 pci-to-pci bridge registers (d30:f0) 9.1.24 svcap?subsystem vendor capability register (pci-pci?d30:f0) offset address: 50h ? 51h attribute: ro default value: 000dh size: 16 bits 9.1.25 svid?subsystem vendor ids register (pci-pci?d30:f0) offset address: 54h ? 57h attribute: r/wo default value: 00000000h size: 32 bits bit description 15:8 next capability (next) ? ro. value of 00h indicates this is the last item in the list. 7:0 capability identifier (cid) ? ro. value of 0dh indicates th is is a pci bridge subsystem vendor capability. bit description 31:16 subsystem identifier (sid) ? r/wo. this field indicates the subsystem as identified by the vendor. this field is write once and is locked down until a bridge reset occurs (not the pci bus reset). 15:0 subsystem vendor identifier (svid) ? r/wo. this field indicates the manufacturer of the subsystem. this field is write once an d is locked down until a bridge reset occurs (not the pci bus reset). free datasheet http://www..net/
pci-to-pci bridge registers (d30:f0) 362 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 363 lpc interface bridge registers (d31:f0) 10 lpc interface bridge registers (d31:f0) the lpc bridge function of the ich7 resides in pci device 31:function 0. this function contains many other functional units, such as dma and interrupt controllers, timers, power management, system management , gpio, rtc, and lpc configuration registers. registers and functions associated with othe r functional units (ehci, uhci, ide, etc.) are described in their respective sections. 10.1 pci configuration registers (lpc i/f?d31:f0) note: address locations that are not shown should be treated as reserved. . table 10-1. lpc interface pci register address map (lpc i/f?d31:f0) (sheet 1 of 2) offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description. ro 04h?05h pcicmd pci command 0007h r/w, ro 06h?07h pcists pci status 0200h r/wc, ro 08h rid revision identification see register description. ro 09h pi programming interface 00h ro 0ah scc sub class code 01h ro 0bh bcc base class code 06h ro 0dh plt primary latency timer 00h ro 0eh headtyp header type 80h ro 2ch?2fh ss sub system identifiers 00000000h r/wo 34h capp capability list pointer e0h ro 40h?43h pmbase acpi base address 00000001h r/w, ro 44h acpi_cntl acpi control 00h r/w 48h?4bh gpiobase gpio base address 00000001h r/w, ro 4c gc gpio control 00h r/w 60h?63h pirq[ n ]_rout pirq[a?d] routing control (desktop and mobile only) 80h r/w 64h sirq_cntl serial irq control 10h r/w, ro 68h?6bh pirq[ n ]_rout pirq[e?h] routing control 80h r/w 80h lpc_i/o_dec i/o decode ranges 0000h r/w 82h?83h lpc_en lpc interface enables 0000h r/w free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 364 intel ? ich7 family datasheet 10.1.1 vid?vendor identification register (lpc i/f?d31:f0) offset address: 00h ? 01h attribute: ro default value: 8086h size: 16-bit lockable: no power well: core 10.1.2 did?device identification register (lpc i/f?d31:f0) offset address: 02h ? 03h attribute: ro default value: see bit description size: 16-bit lockable: no power well: core 84h?87h gen1_dec lpc interface generic decode range 1 00000000h r/w 88h?8bh gen2_dec lpc interface generic decode range 2 00000000h r/w 8ch?8eh gen3_dec lpc interface generic decode range 3 00000000h r/w 90h?93h gen4_dec lpc interface generic decode range 4 00000000h r/w a0h?cfh ? power management (see section 10.8.1 ) ? ? d0h?d3h fwh_sel1 firmware hub select 1 00112233h r/w, ro d4h?d5h fwh_sel2 firmware hub select 2 4567h r/w d8h?d9h fwh_dec_en1 firmware hub decode enable 1 ffcfh r/w, ro dch bios_cntl bios control 00h r/wlo, r/w e0h?e1h fdcap feature detect ion capability id 0009h ro e2h fdlen feature detection capability length 0ch ro e3h fdver feature detection version 10h ro e4h?ebh fdvct feature vector see description ro f0h?f3h rcba root complex base address 00000000h r/w table 10-1. lpc interface pci register addr ess map (lpc i/f?d31:f0) (sheet 2 of 2) offset mnemonic register name default type bit description 15:0 vendor id ? ro. this is a 16-bit value assigned to intel. intel vid = 8086h bit description 15:0 device id ? ro. this is a 16-bit value assigned to the intel ? ich7 lpc bridge. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the device id register. free datasheet http://www..net/
intel ? ich7 family datasheet 365 lpc interface bridge registers (d31:f0) 10.1.3 pcicmd?pci command re gister (lpc i/f?d31:f0) offset address: 04h ? 05h attribute: r/w, ro default value: 0007h size: 16-bit lockable: no power well: core 10.1.4 pcists?pci status re gister (lpc i/f?d31:f0) offset address: 06 ? 07h attribute: ro, r/wc default value: 0210h size: 16-bit lockable: noh power well: core note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. bit description 15:10 reserved 9 fast back to back enable (fbe) ? ro. hardwired to 0. 8 serr# enable (serr_en) ? r/w. the lpc bridge generate s serr# if this bit is set. 7 wait cycle control (wcc) ? ro. hardwired to 0. 6 parity error respon se enable (pere) ? r/w. 0 = no action is taken when detecting a parity error. 1 = enables the intel ? ich7 lpc bridge to respond to parity errors detected on backbone interface. 5 vga palette snoop (vps) ? ro. hardwired to 0. 4 memory write and invalidate enable (mwie) ? ro. hardwired to 0. 3 special cycle en able (sce) ? ro. hardwired to 0. 2 bus master enable (bme) ? ro. bus masters cannot be disabled. 1 memory space enable (mse) ? ro. memo ry space cannot be disabled on lpc. 0 i/o space enable (iose) ? ro. i/o space cannot be disabled on lpc. bit description 15 detected parity error (dpe) ? r/wc. set when the lpc bridge detects a parity error on the internal backbone. set even if the pcicmd.pere bit (d31:f0:04, bit 6) is 0. 0 = parity error not detected. 1 = parity error detected. 14 signaled system error (sse) ? r/wc. set when the lpc bridge signals a system error to the internal serr# logic. 13 master abort status (rma) ? r/wc. 0 = unsupported request status not received. 1 = the bridge received a completion wi th unsupported requ est status from the backbone. 12 received target abort (rta) ? r/wc. 0 = completion abort not received. 1 = completion with completion ab ort received from the backbone. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 366 intel ? ich7 family datasheet 10.1.5 rid?revision identification register (lpc i/f?d31:f0) offset address: 08h attribute: ro default value: see bit description size: 8 bits 10.1.6 pi?programming interface register (lpc i/f?d31:f0) offset address: 09h attribute: ro default value: 00h size: 8 bits 11 signaled target abort (sta) ? r/wc. 0 = target abort not generated on the backbone. 1 = lpc bridge generated a completion pa cket with target abort status on the backbone. 10:9 devsel# timing status (dev_sts) ? ro. 01 = medium timing. 8 data parity error detected (dped) ? r/wc. 0 = all conditions listed below not met. 1 = set when all three of the following conditions are met: ? lpc bridge receives a completion packet fr om the backbone from a previous request, ? parity error has been detected (d31:f0:06, bit 15) ? pcicmd.pere bit (d31:f0:04, bit 6) is set. 7 fast back to back capable (fbc): reserv ed ? bit has no meaning on the internal backbone. 6 reserved. 5 66 mhz capable (66mhz_cap) ? reserved ? bit has no meaning on internal backbone. 4 capabilities list (clist) ? ro. capabi lity list exists on the lpc bridge. 3 interrupt status (is) ? ro. the lpc bridge does not ge nerate interrupts. 2:0 reserved. bit description bit description 7:0 revision id (rid) ? ro. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the revision id register. bit description 7:0 programming interface ? ro. free datasheet http://www..net/
intel ? ich7 family datasheet 367 lpc interface bridge registers (d31:f0) 10.1.7 scc?sub class code register (lpc i/f?d31:f0) offset address: 0ah attribute: ro default value: 01h size: 8 bits 10.1.8 bcc?base clas s code register (lpc i/f?d31:f0) offset address: 0bh attribute: ro default value: 06h size: 8 bits 10.1.9 plt?primary la tency timer register (lpc i/f?d31:f0) offset address: 0dh attribute: ro default value: 00h size: 8 bits 10.1.10 headtyp?header type register (lpc i/f?d31:f0) offset address: 0eh attribute: ro default value: 80h size: 8 bits bit description 7:0 sub class code ? ro. 8-bit value that indicates th e category of bridge for the lpc bridge. 01h = pci-to-isa bridge. bit description 7:0 base class code ? ro. 8-bit value that indicates the type of device for the lpc bridge. 06h = bridge device. bit description 7:3 master latency count (mlc) ? reserved. 2:0 reserved. bit description 7 multi-function device ? ro. this bit is 1 to indicate a multi-function device. 6:0 header type ? ro. this 7-bit field identifi es the header layout of the configuration space. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 368 intel ? ich7 family datasheet 10.1.11 ss?sub system identifier s register (lpc i/f?d31:f0) offset address: 2ch ? 2fh attribute: r/wo default value: 00000000h size: 32 bits this register is initialized to logic 0 by th e assertion of pltrst#. this register can be written only once after pltrst# de-assertion. 10.1.12 capp?capability list pointer (lpc i/f?d31:f0) offset address: 34h attribute: ro default value: e0h size: 8 bits power well: core 10.1.13 pmbase?acpi base addres s register (lpc i/f?d31:f0) offset address: 40h ? 43h attribute: r/w, ro default value: 00000001h size: 32 bit lockable: no usage: acpi, legacy power well: core sets base address for acpi i/o registers, gpio registers and tco i/o registers. these registers can be mapped anywhere in the 64-k i/o space on 128-byte boundaries. bit description 31:16 subsystem id (ssid) ? r/wo this is written by bios. no hardware action taken on this value. 15:0 subsystem vendor id (ssvid) ? r/wo this is written by bios. no hardware action taken on this value. bit description 7:0 capability pointer (cp) ? ro. indicates the offs et of the first item. bit description 31:16 reserved 15:7 base address ? r/w. this field provides 128 by tes of i/o space for acpi, gpio, and tco logic. this is placed on a 128-byte boundary. 6:1 reserved 0 resource type indicator (rte) ? ro. ha rdwired to 1 to indicate i/o space. free datasheet http://www..net/
intel ? ich7 family datasheet 369 lpc interface bridge registers (d31:f0) 10.1.14 acpi_cntl?acpi control register (lpc i/f ? d31:f0) offset address: 44h attribute: r/w default value: 00h size: 8 bit lockable: no usage: acpi, legacy power well: core 10.1.15 gpiobase?gpio base ad dress register (lpc i/f ? d31:f0) offset address: 48h?4bh attribute: r/w, ro default value: 00000001h size: 32 bit bit description 7 acpi enable (acpi_en) ? r/w. 0 = disable. 1 = decode of the i/o range pointed to by th e acpi base register is enabled, and the acpi power management fu nction is enabled. no te that the apm power management ranges (b2/b3h) are always en abled and are not affected by this bit. 6:3 reserved 2:0 sci irq select (sci_irq_sel) ? r/w. specifies on which irq the sci will internally appear. if not using the apic, the sci must be routed to irq9?11, and that interrupt is not sharable with the serirq stream, but is shareable with other pci interrupts. if using the apic, the sci can also be mapped to irq20?23, and can be shared with other interrupts. note: when the interrupt is mapped to apic inte rrupts 9, 10 or 11, the apic should be programmed for active-high reception. when the interrupt is mapped to apic interrupts 20 through 23, the apic shou ld be programmed for active-low bits sci map 000b irq9 001b irq10 010b irq11 011b reserved 100b irq20 (only available if apic enabled) 101b irq21 (only available if apic enabled) 110b irq22 (only available if apic enabled) 111b irq23 (only available if apic enabled) bit description 31:16 reserved. always 0. 15:6 base address (ba) ? r/w. provides the 64 bytes of i/o space for gpio. 5:1 reserved. always 0. 0 ro. hardwired to 1 to indicate i/o space. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 370 intel ? ich7 family datasheet 10.1.16 gc?gpio control register (lpc i/f ? d31:f0) offset address: 4ch attribute: r/w default value: 00h size: 8 bit 10.1.17 pirq[n]_rout?p irq[a,b,c,d] routing control register (lpc i/f?d31:f0) (deskt op and mobile only) offset address: pirqa ? 60h, pirqb ? 61h, attribute: r/w pirqc ? 62h, pirqd ? 63h default value: 80h size: 8 bit lockable: no power well: core bit description 7:5 reserved. 4 gpio enable (en) ? r/w. this bit enables/disables decode of the i/o range pointed to by the gpio base address register (d31:f0:48h) and enables the gpio function. 0 = disable. 1 = enable. 3:0 reserved. bit description 7 interrupt routing enable (irqen) ? r/w. 0 = the corresponding pirq is routed to one of the isa-compatible interrupts specified in bits[3:0]. 1 = the pirq is not routed to the 8259. note: bios must program this bit to 0 during post for any of the pirqs that are being used. the value of this bit may subsequently be changed by the os when setting up for i/o apic interrupt delivery mode. 6:4 reserved 3:0 irq routing ? r/w. (isa compatible.) value irq value irq 0000b reserved 1000b reserved 0001b reserved 1001b irq9 0010b reserved 1010b irq10 0011b irq3 1011b irq11 0100b irq4 1100b irq12 0101b irq5 1101b reserved 0110b irq6 1110b irq14 0111b irq7 1111b irq15 free datasheet http://www..net/
intel ? ich7 family datasheet 371 lpc interface bridge registers (d31:f0) 10.1.18 sirq_cntl?serial irq control register (lpc i/f?d31:f0) offset address: 64h attribute: r/w, ro default value: 10h size: 8 bit lockable: no power well: core bit description 7 serial irq enable (sirqen) ? r/w. 0 = the buffer is input only and internally serirq will be a 1. 1 = serial irqs will be recognized. the se rirq pin will be configured as serirq. 6 serial irq mode select (sirqmd) ? r/w. 0 = the serial irq machine will be in quiet mode. 1 = the serial irq machine will be in continuous mode. note: for systems using quiet mode, this bit should be set to 1 (continuous mode) for at least one frame after coming out of reset before switch ing back to quiet mode. failure to do so will result in the intel ? ich7 not recognizing serirq interrupts. 5:2 serial irq frame size (sirqsz) ? ro. fixed field that indicates the size of the serirq frame as 21 frames. 1:0 start frame pulse width (sfpw) ? r/w. this is the number of pci clocks that the serirq pin will be driven low by the serial irq machine to signal a start frame. in continuous mode, the ich7 will drive the start frame for the number of clocks specified. in quiet mode, the ich7 will drive the star t frame for the number of clocks specified minus one, as the first clock was driven by the peripheral. 00 = 4 clocks 01 = 6 clocks 10 = 8 clocks 11 = reserved free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 372 intel ? ich7 family datasheet 10.1.19 pirq[n]_rout?p irq[e,f,g,h] routing control register (lpc i/f?d31:f0) offset address: pirqe ? 68h, pirqf ? 69h, attribute: r/w pirqg ? 6ah, pirqh ? 6bh default value: 80h size: 8 bit lockable: no power well: core bit description 7 interrupt routing enable (irqen) ? r/w. 0 = the corresponding pirq is routed to one of the isa-compatible interrupts specified in bits[3:0]. 1 = the pirq is not routed to the 8259. note: bios must program this bit to 0 during post for any of the pirqs that are being used. the value of this bit may su bsequently be changed by the os when setting up for i/o apic interrupt delivery mode. 6:4 reserved 3:0 irq routing ? r/w. (isa compatible.) value irq value irq 0000b reserved 1000b reserved 0001b reserved 1001b irq9 0010b reserved 1010b irq10 0011b irq3 1011b irq11 0100b irq4 1100b irq12 0101b irq5 1101b reserved 0110b irq6 1110b irq14 0111b irq7 1111b irq15 free datasheet http://www..net/
intel ? ich7 family datasheet 373 lpc interface bridge registers (d31:f0) 10.1.20 lpc_i/o_dec?i/o de code ranges register (lpc i/f?d31:f0) offset address: 80h attribute: r/w default value: 0000h size: 16 bit bit description 15:13 reserved 12 fdd decode range ? r/w. determines which range to decode for the fdd port 0 = 3f0h ? 3f5h, 3f7h (primary) 1 = 370h ? 375h, 377h (secondary) 11:10 reserved 9:8 lpt decode range ? r/w. this field determines which range to decode for the lpt port. 00 = 378h ? 37fh and 778h ? 77fh 01 = 278h ? 27fh (port 279h is read only) and 678h ? 67fh 10 = 3bch ?3beh and 7bch ? 7beh 11 = reserved 7 reserved 6:4 comb decode range ? r/w. this field determines which range to decode for the comb port. 000 = 3f8h ? 3ffh (com1) 001 = 2f8h ? 2ffh (com2) 010 = 220h ? 227h 011 = 228h ? 22fh 100 = 238h ? 23fh 101 = 2e8h ? 2efh (com4) 110 = 338h ? 33fh 111 = 3e8h ? 3efh (com3) 3 reserved 2:0 coma decode range ? r/w. this field determines which range to decode for the coma port. 000 = 3f8h ? 3ffh (com1) 001 = 2f8h ? 2ffh (com2) 010 = 220h ? 227h 011 = 228h ? 22fh 100 = 238h ? 23fh 101 = 2e8h ? 2efh (com4) 110 = 338h ? 33fh 111 = 3e8h ? 3efh (com3) free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 374 intel ? ich7 family datasheet 10.1.21 lpc_en?lpc i/f enables register (lpc i/f?d31:f0) offset address: 82h ? 83h attribute: r/w default value: 0000h size: 16 bit power well: core bit description 15:14 reserved 13 cnf2_lpc_en ? r/w. microcontroller enable # 2. 0 = disable. 1 = enables the decoding of the i/o locati ons 4eh and 4fh to the lpc interface. this range is used for a microcontroller. 12 cnf1_lpc_en ? r/w. super i/o enable. 0 = disable. 1 = enables the decoding of the i/o locati ons 2eh and 2fh to the lpc interface. this range is used for super i/o devices. 11 mc_lpc_en ? r/w. microcontroller enable # 1. 0 = disable. 1 = enables the decoding of the i/o location s 62h and 66h to the lpc interface. this range is used for a microcontroller. 10 kbc_lpc_en ? r/w. keyboard enable. 0 = disable. 1 = enables the decoding of the i/o location s 60h and 64h to the lpc interface. this range is used for a microcontroller. 9 gameh_lpc_en ? r/w. high gameport enable 0 = disable. 1 = enables the decoding of the i/o locations 208h to 20fh to the lpc interface. this range is used for a gameport. 8 gamel_lpc_en ? r/w. low gameport enable 0 = disable. 1 = enables the decoding of the i/o locations 200h to 207h to the lpc interface. this range is used for a gameport. 7:4 reserved 3 fdd_lpc_en ? r/w. floppy drive enable 0 = disable. 1 = enables the decoding of the fdd range to the lpc interface. this range is selected in the lpc_fdd/lpt decode range register (d31:f0:80h, bit 12). 2 lpt_lpc_en ? r/w. parallel port enable 0 = disable. 1 = enables the decoding of the lptrange to th e lpc interface. this range is selected in the lpc_fdd/lpt decode range register (d31:f0:80h, bit 9:8). 1 comb_lpc_en ? r/w. com port b enable 0 = disable. 1 = enables the decoding of the comb rang e to the lpc interface. this range is selected in the lpc_com decode rang e register (d31:f0:80h, bits 6:4). 0 coma_lpc_en ? r/w. com port a enable 0 = disable. 1 = enables the decoding of the coma ra nge to the lpc interface. this range is selected in the lpc_com decode rang e register (d31:f0:80h, bits 3:2). free datasheet http://www..net/
intel ? ich7 family datasheet 375 lpc interface bridge registers (d31:f0) 10.1.22 gen1_dec?lpc i/f generi c decode range 1 register (lpc i/f?d31:f0) offset address: 84h ? 87h attribute: r/w default value: 00000000h size: 32 bit power well: core 10.1.23 gen2_dec?lpc i/f gene ric decode range 2register (lpc i/f?d31:f0) offset address: 88h ? 8bh attribute: r/w default value: 00000000h size: 32 bit power well: core bit description 31:24 reserved 23:18 generic i/o decode rang e address[7:2] mask: a ?1? in any bit position indicates that any value in the corresponding address bi t in a received cycle will be treated as a match. the corresponding bit in the address fi eld, below, is ignored. the mask is only provided for the lower 6 bits of the dword a ddress, allowing for decoding blocks up to 256 bytes in size. 17:16 reserved 15:2 generic i/o decode range 1 base address (gen1_base) ? r/w. this address is aligned on a 128-byte boundary, and must have address lines 31:16 as 0. note: the intel ? ich7 does not provide decode down to the word or byte level. 1 reserved 0 generic decode range 1 enable (gen1_en) ? r/w. 0 = disable. 1 = enable the gen1 i/o range to be forwarded to the lpc i/f bit description 31:24 reserved 23:18 generic i/o decode rang e address[7:2] mask: a ?1? in any bit position indicates that any value in the corresponding address bi t in a received cycle will be treated as a match. the corresponding bit in the address fi eld, below, is ignored. the mask is only provided for the lower 6 bits of the dword a ddress, allowing for decoding blocks up to 256 bytes in size. 17:16 reserved 15:2 generic i/o decode range 2base address (gen1_base) ? r/w. note: the intel ? ich7 does not provide decode do wn to the word or byte level. 1 reserved 0 generic decode range 2enable (gen2_en) ? r/w. 0 = disable. 1 = enable the gen2 i/o range to be forwarded to the lpc i/f free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 376 intel ? ich7 family datasheet 10.1.24 gen3_dec?lpc i/f gene ric decode range 3register (lpc i/f?d31:f0) offset address: 8ch ? 8eh attribute: r/w default value: 00000000h size: 32 bit power well: core 10.1.25 gen4_dec?lpc i/f gene ric decode range 4register (lpc i/f?d31:f0) offset address: 90h ? 93h attribute: r/w default value: 00000000h size: 32 bit power well: core bit description 31:24 reserved 23:18 generic i/o decode range address[7:2] mask: a ?1? in any bit position indicates that any value in the correspon ding address bit in a received cycle will be treated as a match. the corresponding bit in the address field, below, is ignored. the mask is only provided for the lower 6 bits of the dword ad dress, allowing for decoding blocks up to 256 bytes in size. 17:16 reserved 15:2 generic i/o decode range 3base address (gen3_base) ? r/w. note: the intel ? ich7 does not provide decode down to the word or byte level. 1 reserved 0 generic decode range 3enable (gen3_en) ? r/w. 0 = disable. 1 = enable the gen3 i/o range to be forwarded to the lpc i/f bit description 31:24 reserved 23:18 generic i/o decode range address[7:2] mask: a ?1? in any bit position indicates that any value in the correspon ding address bit in a received cycle will be treated as a match. the corresponding bit in the address field, below, is ignored. the mask is only provided for the lower 6 bits of the dword ad dress, allowing for decoding blocks up to 256 bytes in size. 17:16 reserved 15:2 generic i/o decode range 4base address (gen4_base) ? r/w. note: the intel ? ich7 does not provide decode down to the word or byte level. 1 reserved 0 generic decode range 4enable (gen4_en) ? r/w. 0 = disable. 1 = enable the gen4 i/o range to be forwarded to the lpc i/f free datasheet http://www..net/
intel ? ich7 family datasheet 377 lpc interface bridge registers (d31:f0) 10.1.26 fwh_sel1?firmware hub select 1 register (lpc i/f?d31:f0) offset address: d0h ? d3h attribute: r/w, ro default value: 00112233h size: 32 bits bit description 31:28 fwh_f8_idsel ? ro. idsel for two 512-kb firmware hub memory ranges and one 128-kb memory range. this field is fixed at 0000. the idsel programmed in this field addresses the following memory ranges: fff8 0000h ? ffff ffffh ffb8 0000h ? ffbf ffffh 000e 0000h ? 000f ffffh 27:24 fwh_f0_idsel ? r/w. idsel for two 512-kb fi rmware hub memo ry ranges. the idsel programmed in this field addr esses the following memory ranges: fff0 0000h ? fff7 ffffh ffb0 0000h ? ffb7 ffffh 23:20 fwh_e8_idsel ? r/w. idsel for two 512-kb fi rmware hub memory ranges. the idsel programmed in this field addr esses the following memory ranges: ffe8 0000h ? ffef ffffh ffa8 0000h ? ffaf ffffh 19:16 fwh_e0_idsel ? r/w. idsel for two 512-kb fi rmware hub memory ranges. the idsel programmed in this field addr esses the following memory ranges: ffe0 0000h ? ffe7 ffffh ffa0 0000h ? ffa7 ffffh 15:12 fwh_d8_idsel ? r/w. idsel for two 512-kb fi rmware hub memo ry ranges. the idsel programmed in this field addr esses the following memory ranges: ffd8 0000h ? ffdf ffffh ff98 0000h ? ff9f ffffh 11:8 fwh_d0_idsel ? r/w. idsel for two 512-kb fi rmware hub memo ry ranges. the idsel programmed in this field addr esses the following memory ranges: ffd0 0000h ? ffd7 ffffh ff90 0000h ? ff97 ffffh 7:4 fwh_c8_idsel ? r/w. idsel for two 512-kb fi rmware hub memo ry ranges. the idsel programmed in this field addr esses the following memory ranges: ffc8 0000h ? ffcf ffffh ff88 0000h ? ff8f ffffh 3:0 fwh_c0_idsel ? r/w. idsel for two 512-kb fi rmware hub memo ry ranges. the idsel programmed in this field addr esses the following memory ranges: ffc0 0000h ? ffc7 ffffh ff80 0000h ? ff87 ffffh free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 378 intel ? ich7 family datasheet 10.1.27 fwh_sel2?firmware hub select 2 register (lpc i/f?d31:f0) offset address: d4h ? d5h attribute: r/w default value: 4567h size: 16 bits 10.1.28 fwh_dec_en1?firmware hu b decode enable register (lpc i/f?d31:f0) offset address: d8h ? d9h attribute: r/w, ro default value: ffcfh size: 16 bits bit description 15:12 fwh_70_idsel ? r/w. idsel for two, 1-m firmware hub memory ranges. the idsel programmed in this field a ddresses the following memory ranges: ff70 0000h ? ff7f ffffh ff30 0000h ? ff3f ffffh 11:8 fwh_60_idsel ? r/w. idsel for two, 1-m firmware hub memory ranges. the idsel programmed in this field a ddresses the following memory ranges: ff60 0000h ? ff6f ffffh ff20 0000h ? ff2f ffffh 7:4 fwh_50_idsel ? r/w. idsel for two, 1-m firmware hub memory ranges. the idsel programmed in this field a ddresses the following memory ranges: ff50 0000h ? ff5f ffffh ff10 0000h ? ff1f ffffh 3:0 fwh_40_idsel ? r/w. idsel for two, 1-m firmware hub memory ranges. the idsel programmed in this field a ddresses the following memory ranges: ff40 0000h ? ff4f ffffh ff00 0000h ? ff0f ffffh bit description 15 fwh_f8_en ? ro. this bit enables decoding two 512-kb firmware hub memory ranges, and one 128-kb memory range. 0 = disable 1 = enable the following ranges for the firmware hub fff80000h ? ffffffffh ffb80000h ? ffbfffffh 14 fwh_f0_en ? r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub: fff00000h ? fff7ffffh ffb00000h ? ffb7ffffh 13 fwh_e8_en ? r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub: ffe80000h ? ffeffffh ffa80000h ? ffafffffh free datasheet http://www..net/
intel ? ich7 family datasheet 379 lpc interface bridge registers (d31:f0) 12 fwh_e0_en ? r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub: ffe00000h ? ffe7ffffh ffa00000h ? ffa7ffffh 11 fwh_d8_en ? r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ffd80000h ? ffdfffffh ff980000h ? ff9fffffh 10 fwh_d0_en ? r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ffd00000h ? ffd7ffffh ff900000h ? ff97ffffh 9 fwh_c8_en ? r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ffc80000h ? ffcfffffh ff880000h ? ff8fffffh 8 fwh_c0_en ? r/w. this bit enables decoding two 512-kb firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ffc00000h ? ffc7ffffh ff800000h ? ff87ffffh 7 fwh_legacy_f_en ? r/w. this enables the decoding of the legacy 128-k range at f0000h ? fffffh. 0 = disable. 1 = enable the following legacy ranges for the firmware hub f0000h ? fffffh 6 fwh_legacy_e_en ? r/w. this enables the decoding of the legacy 128-k range at e0000h ? effffh. 0 = disable. 1 = enable the following legacy ranges for the firmware hub e0000h ? effffh 5:4 reserved 3 fwh_70_en ? r/w. enables decoding two 1- m firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ff70 0000h ? ff7f ffffh ff30 0000h ? ff3f ffffh bit description free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 380 intel ? ich7 family datasheet note: this register effects the bios decode regardless of whether the bios is resident on lpc or spi (desktop and mobile only). the concept of feature space does not apply to spi- based flash. the ich7simply decodes these ranges as memory accesses when enabled for the spi flash interface. 2 fwh_60_en ? r/w. enables decoding two 1- m firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ff60 0000h ? ff6f ffffh ff20 0000h ? ff2f ffffh 1 fwh_50_en ? r/w. enables decoding two 1-m firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ff50 0000h ? ff5f ffffh ff10 0000h ? ff1f ffffh 0 fwh_40_en ? r/w. enables decoding two 1- m firmware hub memory ranges. 0 = disable. 1 = enable the following ranges for the firmware hub ff40 0000h ? ff4f ffffh ff00 0000h ? ff0f ffffh bit description free datasheet http://www..net/
intel ? ich7 family datasheet 381 lpc interface bridge registers (d31:f0) 10.1.29 bios_cntl?bios control register (lpc i/f?d31:f0) offset address: dch attribute: r/wlo, r/w, ro default value: 00h size: 8 bit lockable: no power well: core bit description 7:5 reserved 4 top swap status (tss) ? ro : this bit provides a read-only path to view the state of the top swap bit that is at offset 3414h, bit 0. 3:2 (desktop and mobile only) spi read configuration (src) ? r/w : this 2-bit field controls two policies related to bios reads on the spi interface: bit 3- prefetch enable bit 2- cache disable settings are summarized below: 3:2 (ultra mobile only) reserved 1 bios lock enable (ble) ? r/wlo. 0 = setting the bioswe will not cause smis. 1 = enables setting the bioswe bit to cause smis. once set, this bit can only be cleared by a pltrst# 0 bios write enable (bioswe) ? r/w. 0 = only read cycles permitted to firmware hub or spi flash. 1 = access to the bios space is enabled for both read and write cycles. when this bit is written from a 0 to a 1 and bios lo ck enable (ble) is also set, an smi# is generated. this en sures that only smi code can update bios. note: writes to the firmware hub?s feature space are not blocked when the bioswe is cleared in order to allow ac cess to registers. the feature space is the second range that is located 4 mb below the bios range for each firmware hub. bits 3:2 description 00b no prefetching, but caching enabled. 64b demand reads load the read buffer cache with ?valid? data, allowing repeated code fetches to the same line to complete quickly 01b no prefetching and no caching. one-to-one correspondence of host bios reads to spi cycles. this value can be used to invalidate the cache. 10b prefetching and caching enabled. this mode is used for long sequences of short reads to consecutive addresses (i.e., shadowing). 11b reserved. this is an invalid configuration , caching must be enabled when prefetching is enabled. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 382 intel ? ich7 family datasheet 10.1.30 fdcap?feature detection capability id (lpc i/f?d31:f0) offset address: e0h-e1h attribute: ro default value: 0009h size: 16 bit power well: core 10.1.31 fdlen?feature detection capability length (lpc i/f?d31:f0) offset address: e2h attribute: ro default value: 0ch size: 8 bit power well: core 10.1.32 fdver?feature detection version (lpc i/f?d31:f0) offset address: e3h attribute: ro default value: 10h size: 8 bit power well: core bit description 15:8 next item pointer (next): configuration offset of the next capability item. 00h indicates the last item in the capability list. 7:0 capability id: indicates a vendor specific capability bit description 7:0 capability length: indicates the length of this vendor specific capability, as required by pci spec. bit description 7:4 vendor-specific capability id: a value of 1h in this 4-bit fi eld identifies this capability as feature detection type. this field allo ws software to differentiate the feature detection capability from othe r vendor-specific capabilities 3:0 capability version: this field indicates the version of the feature detection capability free datasheet http://www..net/
intel ? ich7 family datasheet 383 lpc interface bridge registers (d31:f0) 10.1.33 fdvct?feature vector register (lpc i/f?d31:f0) offset address: e4h?ebh attribute: ro default value: see description size: 64 bit power well: core bit description 63:33 reserved 32 (desktop and mobile only) intel ? active management tech nology capability? ro: 0 = capable 1 = disabled 32 (ultra mobile only) reserved 31:22 reserved 21 (desktop only) intel ? ich7dh only: intel ? quick resume technology capability? ro: 0 = capable 1 = disabled ich7 and ich7r only: reserved 21 (mobile/ ultra mobile only) reserved. 20:19 reserved 18 (desktop and mobile only) sata raid 5 capability? ro: 0 = capable 1 = disabled 18 (ultra mobile) reserved 17:10 reserved 9 (mobile/ utlra mobile only) mobile features capability? ro: 0 = disabled 1 = capable 9 (desktop only) reserved 8 reserved 7 (desktop and mobile only) pci express* 6 x1 capability? ro: 0 = capable 1 = disabled - 4 pci express x1 ports available free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 384 intel ? ich7 family datasheet 10.1.34 rcba?root complex base address register (lpc i/f?d31:f0) offset address: f0h attribute: r/w default value: 00000000h size: 32 bit 7 (ultra mobile only) reserved 6 reserved 5 (desktop and mobile only) sata raid 0/1/10 capability? ro: 0 = capable 1 = disabled 5 (ultra mobile only) reserved 4 reserved 3 (desktop and mobile only) sata ahci capability? ro: 0 = capable 1 = disabled 3 (ultra mobile only) reserved 2:0 reserved bit description bit description 31:14 base address (ba) ? r/w. base address for the root complex register block decode range. this address is al igned on a 16-kb boundary. 13:1 reserved 0 enable (en) ? r/w. when set, this bit enables the range specified in ba to be claimed as the root complex register block. free datasheet http://www..net/
intel ? ich7 family datasheet 385 lpc interface bridge registers (d31:f0) 10.2 dma i/o registers (lpc i/f?d31:f0) table 10-2. dma registers (sheet 1 of 2) port alias register name default type 00h 10h channel 0 dma base & current address undefined r/w 01h 11h channel 0 dma base & current count undefined r/w 02h 12h channel 1 dma base & current address undefined r/w 03h 13h channel 1 dma base & current count undefined r/w 04h 14h channel 2 dma base & current address undefined r/w 05h 15h channel 2 dma base & current count undefined r/w 06h 16h channel 3 dma base & current address undefined r/w 07h 17h channel 3 dma base & current count undefined r/w 08h 18h channel 0?3 dma command undefined wo channel 0?3 dma status undefined ro 0ah 1ah channel 0?3 dma write single mask 000001xxb wo 0bh 1bh channel 0?3 dma channel mode 000000xxb wo 0ch 1ch channel 0?3 dma clear byte pointer undefined wo 0dh 1dh channel 0?3 dma master clear undefined wo 0eh 1eh channel 0?3 dma clear mask undefined wo 0fh 1fh channel 0?3 dma write all mask 0fh r/w 80h 90h reserved page undefined r/w 81h 91h channel 2 dma memory low page undefined r/w 82h ? channel 3 dma memory low page undefined r/w 83h 93h channel 1 dma memory low page undefined r/w 84h?86h 94h?96h reserved pages undefined r/w 87h 97h channel 0 dma memory low page undefined r/w 88h 98h reserved page undefined r/w 89h 99h channel 6 dma memory low page undefined r/w 8ah 9ah channel 7 dma memory low page undefined r/w 8bh 9bh channel 5 dma memory low page undefined r/w 8ch?8eh 9ch?9eh reserved page undefined r/w 8fh 9fh refresh low page undefined r/w c0h c1h channel 4 dma base & current address undefined r/w c2h c3h channel 4 dma base & current count undefined r/w c4h c5h channel 5 dma base & current address undefined r/w c6h c7h channel 5 dma base & current count undefined r/w c8h c9h channel 6 dma base & current address undefined r/w cah cbh channel 6 dma base & current count undefined r/w cch cdh channel 7 dma base & current address undefined r/w free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 386 intel ? ich7 family datasheet 10.2.1 dmabase_ca?dma base and current address registers (lpc i/f?d31:f0) i/o address: ch. #0 = 00h; ch. #1 = 02h attribute: r/w ch. #2 = 04h; ch. #3 = 06h size: 16 bit (per channel), ch. #5 = c4h ch. #6 = c8h but accessed in two 8-bit ch. #7 = cch; quantities default value: undef lockable: no power well: core ceh cfh channel 7 dma base & current count undefined r/w d0h d1h channel 4?7 dma command undefined wo channel 4?7 dma status undefined ro d4h d5h channel 4?7 dma write single mask 000001xxb wo d6h d7h channel 4?7 dma channel mode 000000xxb wo d8h d9h channel 4?7 dma clear byte pointer undefined wo dah dbh channel 4?7 dma master clear undefined wo dch ddh channel 4?7 dma clear mask undefined wo deh dfh channel 4?7 dma write all mask 0fh r/w table 10-2. dma registers (sheet 2 of 2) port alias register name default type bit description 15:0 base and current address ? r/w. this register determin es the address for the transfers to be performed. the address specif ied points to two sepa rate registers. on writes, the value is stored in the base address register and copied to the current address register. on reads, the value is returned from the current address register. the address increments/decrements in the current address register after each transfer, depending on the mode of the transfer. if the channel is in auto-initialize mode, the current address register will be reloaded from the base address register after a terminal count is generated. for transfers to/from a 16-bit slave (channel?s 5-7), the address is shifted left one bit location. bit 15 will be shifted into bit 16. the register is accessed in 8 bit quantities. the byte is po inted to by the current byte pointer flip/flop. before acce ssing an address regi ster, the byte pointer flip/flop should be cleared to ensure that th e low byte is accessed first. free datasheet http://www..net/
intel ? ich7 family datasheet 387 lpc interface bridge registers (d31:f0) 10.2.2 dmabase_cc?dma base an d current count registers (lpc i/f?d31:f0) i/o address: ch. #0 = 01h; ch. #1 = 03h attribute: r/w ch. #2 = 05h; ch. #3 = 07h size: 16-bit (per channel), ch. #5 = c6h; ch. #6 = cah but accessed in two 8-bit ch. #7 = ceh; quantities default value: undefined lockable: no power well: core 10.2.3 dmamem_lp?dma memory low page registers (lpc i/f?d31:f0) i/o address: ch. #0 = 87h; ch. #1 = 83h ch. #2 = 81h; ch. #3 = 82h ch. #5 = 8bh; ch. #6 = 89h ch. #7 = 8ah; attribute: r/w default value: undefined size: 8-bit lockable: no power well: core bit description 15:0 base and current count ? r/w. this register determines the number of transfers to be performed. the address specified points to two separate regist ers. on writes, the value is stored in the base count register and copied to the current count register. on reads, the value is returned from the current count register. the actual number of transfers is one more than the number programmed in the base count register (i.e., programming a count of 4h results in 5 transfers). the count is decrements in the current count register after each transfer. when the value in the register rolls from 0 to ffffh, a terminal count is generated. if the channel is in auto- initialize mode, the current count register will be reloaded from the base count register after a termin al count is generated. for transfers to/from an 8-bit slave (chann els 0?3), the count register indicates the number of bytes to be transferred. for tran sfers to/from a 16-bit slave (channels 5?7), the count register indicates the num ber of words to be transferred. the register is accessed in 8 bit quantities. the byte is po inted to by the current byte pointer flip/flop. before acce ssing a count register, the byte pointer flip/flop should be cleared to ensure that the low byte is accessed first. bit description 7:0 dma low page (isa address bits [23:16]) ? r/w. this register works in conjunction with the dma controller's current address register to define the complete 24-bit address for the dma channel. this register remains static throughout the dma transfer. bit 16 of this register is ignored when in 16 bit i/o count by words mode as it is replaced by the bit 15 shifted out from the current address register. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 388 intel ? ich7 family datasheet 10.2.4 dmacmd?dma command re gister (lpc i/f?d31:f0) i/o address: ch. #0 ? 3 = 08h; ch. #4 ? 7 = d0h attribute: wo default value: undefined size: 8-bit lockable: no power well: core 10.2.5 dmasta?dma status re gister (lpc i/f?d31:f0) i/o address: ch. #0 ? 3 = 08h; ch. #4 ? 7 = d0h attribute: ro default value: undefined size: 8-bit lockable: no power well: core bit description 7:5 reserved. must be 0. 4 dma group arbitration priority ? wo. each channel group is individually assigned either fixed or rotating arbitration priority. at part reset, each gr oup is initialized in fixed priority. 0 = fixed priority to the channel group 1 = rotating priority to the group. 3 reserved. must be 0. 2 dma channel group enable ? wo. both channel groups are enabled following part reset. 0 = enable the dma channel group. 1 = disable. disabling channel group 4?7 also disables channel gr oup 0?3, which is cascaded through channel 4. 1:0 reserved. must be 0. bit description 7:4 channel request status ? ro. when a valid dma reques t is pending for a channel, the corresponding bit is set to 1. when a dma request is not pending for a particular channel, the corresponding bit is set to 0. the source of the dreq may be hardware or a software request. note that channel 4 is the cascade ch annel, so the request status of channel 4 is a logical or of the requ est status for chan nels 0 through 3. 4 = channel 0 5 = channel 1 (5) 6 = channel 2 (6) 7 = channel 3 (7) 3:0 channel terminal count status ? ro. when a channel reaches terminal count (tc), its status bit is set to 1. if tc has not been reached, the status bit is set to 0. channel 4 is programmed for cascade, so the tc bi t response for channe l 4 is irrelevant: 0 = channel 0 1 = channel 1 (5) 2 = channel 2 (6) 3 = channel 3 (7) free datasheet http://www..net/
intel ? ich7 family datasheet 389 lpc interface bridge registers (d31:f0) 10.2.6 dma_wrsmsk?dma write single mask register (lpc i/f?d31:f0) i/o address: ch. #0 ? 3 = 0ah; ch. #4 ? 7 = d4h attribute: wo default value: 0000 01xx size: 8-bit lockable: no power well: core bit description 7:3 reserved. must be 0. 2 channel mask select ? wo. 0 = enable dreq for the selected channel. the channel is selected through bits [1:0]. therefore, only one channel can be masked / unmasked at a time. 1 = disable dreq for the selected channel. 1:0 dma channel select ? wo. these bits select the dma channel mode register to program. 00 = channel 0 (4) 01 = channel 1 (5) 10 = channel 2 (6) 11 = channel 3 (7) free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 390 intel ? ich7 family datasheet 10.2.7 dmach_mode?dma ch annel mode register (lpc i/f?d31:f0) i/o address: ch. #0 ? 3 = 0bh; ch. #4 ? 7 = d6h attribute: wo default value: 0000 00xx size: 8-bit lockable: no power well: core bit description 7:6 dma transfer mode ? wo. each dma channel can be programmed in one of four different modes: 00 = demand mode 01 = single mode 10 = reserved 11 = cascade mode 5 address increment/decrement select ? wo. this bit controls address increment/ decrement during dma transfers. 0 = address increment. (default af ter part reset or master clear) 1 = address decrement. 4 autoinitialize enable ? wo. 0 = autoinitialize feature is di sabled and dma transfers term inate on a terminal count. a part reset or master clea r disables autoinitialization. 1 = dma restores the base address and co unt registers to th e current registers following a terminal count (tc). 3:2 dma transfer type ? wo. these bits represent the direction of the dma transfer. when the channel is programmed for cascade mode, (bits[7:6] = 11) the transfer type is irrelevant. 00 = verify ? no i/o or memory strobes generated 01 = write ? data transferred from the i/o devices to memory 10 = read ? data transferred from memory to the i/o device 11 = invalid 1:0 dma channel select ? wo. these bits select the dma ch annel mode register that will be written by bits [7:2]. 00 = channel 0 (4) 01 = channel 1 (5) 10 = channel 2 (6) 11 = channel 3 (7) free datasheet http://www..net/
intel ? ich7 family datasheet 391 lpc interface bridge registers (d31:f0) 10.2.8 dma clear byte pointer register (lpc i/f?d31:f0) i/o address: ch. #0 ? 3 = 0ch; ch. #4 ? 7 = d8h attribute: wo default value: xxxx xxxx size: 8-bit lockable: no power well: core 10.2.9 dma master clear re gister (lpc i/f?d31:f0) i/o address: ch. #0 ? 3 = 0dh; ch. #4 ? 7 = dah attribute: wo default value: xxxx xxxx size: 8-bit 10.2.10 dma_clmsk?dma clear mask register (lpc i/f?d31:f0) i/o address: ch. #0 ? 3 = 0eh; ch. #4 ? 7 = dch attribute: wo default value: xxxx xxxx size: 8-bit lockable: no power well: core bit description 7:0 clear byte pointer ? wo. no specific pattern. comm and enabled with a write to the i/o port address. writing to th is register initializes the byte pointer flip/flop to a known state. it clears the internal latch used to address the uppe r or lower byte of the 16-bit address and word count registers. the latch is also cleared by part reset and by the master clear command. this command prec edes the first acce ss to a 16-bit dma controller register. the first access to a 16-bit register will then access the significant byte, and the second access automatically accesses the most significant byte. bit description 7:0 master clear ? wo. no specific pattern. enabled wi th a write to the port. this has the same effect as the hardware reset. the command, status , request, and byte pointer flip/flop registers are cleared and the mask register is set. bit description 7:0 clear mask register ? wo. no specific pattern. command enabled with a write to the port. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 392 intel ? ich7 family datasheet 10.2.11 dma_wrmsk?dma writ e all mask register (lpc i/f?d31:f0) i/o address: ch. #0 ? 3 = 0fh; ch. #4 ? 7 = deh attribute: r/w default value: 0000 1111 size: 8-bit lockable: no power well: core 10.3 timer i/o registers (lpc i/f?d31:f0) bit description 7:4 reserved. must be 0. 3:0 channel mask bits ? r/w. this register permits all four channels to be simultaneously enabled/disabled instea d of enabling/disabling each channel individually, as is the case with the mask re gister ? write single mask bit. in addition, this register has a read path to allow the status of the channel mask bits to be read. a channel's mask bit is automatically set to 1 when the current byte/word count register reaches terminal count (unless the channel is in auto-initialization mode). setting the bit(s) to a 1 disa bles the corresponding dreq(s). setting the bit(s) to a 0 enables the corresponding dreq(s). bits [3:0] are set to 1 upon part reset or master clear. when read, bits [3:0] indicate the dma channel [3:0] ([7:4]) mask status. bit 0 = channel 0 (4)1 = masked, 0 = not masked bit 1 = channel 1 (5)1 = masked, 0 = not masked bit 2 = channel 2 (6)1 = masked, 0 = not masked bit 3 = channel 3 (7)1 = masked, 0 = not masked note: disabling channel 4 also disables channe ls 0?3 due to the cascade of channel?s 0 ? 3 through channel 4. port aliases register name default value type 40h 50h counter 0 interval time status byte format 0xxxxxxxb ro counter 0 counter access port undefined r/w 41h 51h counter 1 interval time status byte format 0xxxxxxxb ro counter 1 counter access port undefined r/w 42h 52h counter 2 interval time status byte format 0xxxxxxxb ro counter 2 counter access port undefined r/w 43h 53h timer control word undefined wo timer control word register xxxxxxx0b wo counter latch command x0h wo free datasheet http://www..net/
intel ? ich7 family datasheet 393 lpc interface bridge registers (d31:f0) 10.3.1 tcw?timer control word register (lpc i/f?d31:f0) i/o address: 43h attribute: wo default value: all bits undefined size: 8 bits this register is programmed prior to any counter being accessed to specify counter modes. following part reset, the control words for each register are undefined and each counter output is 0. each timer must be programmed to bring it into a known state. there are two special commands that can be issued to the counters through this register, the read back command and th e counter latch command. when these commands are chosen, several bits within this register are redefined. these register formats are described below: rdbk_cmd?read back comma nd (lpc i/f?d31:f0) the read back command is used to determine the count value, programmed mode, and current states of the out pin and null count flag of the selected counter or counters. status and/or count may be latched in any or all of the counters by selecting the counter during the register write. the count and status remain latched until read, and further latch commands are ignored until the count is read. both count and status of the selected counters may be latched simultaneously by setting both bit 5 and bit 4 bit description 7:6 counter select ? wo. the counter selection bits select the counter the control word acts upon as shown below. the read back command is selected when bits[7:6] are both 1. 00 = counter 0 select 01 = counter 1 select 10 = counter 2 select 11 = read back command 5:4 read/write select ? wo. these bits are the read/w rite control bits. the actual counter programming is done through the counter port (40h for counter 0, 41h for counter 1, and 42h for counter 2). 00 = counter latch command 01 = read/write least significant byte (lsb) 10 = read/write most significant byte (msb) 11 = read/write lsb then msb 3:1 counter mode selection ? wo. these bits select one of six possible modes of operation for the selected counter. 0 binary/bcd countdown select ? wo. 0 = binary countdown is used. the la rgest possible binary count is 2 16 1 = binary coded decimal (bcd) count is us ed. the largest possible bcd count is 10 4 b i t va l ue mo d e 000b mode 0 out signal on end of count (=0) 001b mode 1 hardware retriggerable one- shot x10b mode 2 rate generator (divide by n counter) x11b mode 3 square wave output 100b mode 4 software triggered strobe 101b mode 5 hardware triggered strobe free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 394 intel ? ich7 family datasheet to 0. if both are latched, the first read op eration from that counter returns the latched status. the next one or two reads, depend ing on whether the counter is programmed for one or two byte counts, returns the latched count. subsequent reads return an unlatched count. ltch_cmd?counter latch command (lpc i/f?d31:f0) the counter latch command latches the current count value. this command is used to insure that the count read from the counter is accurate. the count value is then read from each counter's count register through the counter ports access ports register (40h for counter 0, 41h for counter 1, and 42h for counter 2). the count must be read according to the programmed format, i.e., if the counter is programmed for two byte counts, two bytes must be read. the two byte s do not have to be read one right after the other (read, write, or programming operations for other counters may be inserted between the reads). if a counter is latche d once and then latched again before the count is read, the second counter latch command is ignored. bit description 7:6 read back command. must be 11 to select the read back command 5 latch count of selected counters . 0 = current count value of the se lected counters will be latched 1 = current count will not be latched 4 latch status of selected counters . 0 = status of the selected counters will be latched 1 = status will not be latched 3 counter 2 select . 1 = counter 2 count and/or status will be latched 2 counter 1 select . 1 = counter 1 count and/or status will be latched 1 counter 0 select . 1 = counter 0 count and/or status will be latched. 0 reserved. must be 0. bit description 7:6 counter selection. these bits select the counter for la tching. if ?11? is written, then the write is interpreted as a read back command. 00 = counter 0 01 = counter 1 10 = counter 2 5:4 counter latch command . 00 = selects the counter latch command. 3:0 reserved. must be 0. free datasheet http://www..net/
intel ? ich7 family datasheet 395 lpc interface bridge registers (d31:f0) 10.3.2 sbyte_fmt?interval timer status byte format register (lpc i/f?d31:f0) i/o address: counter 0 = 40h, counter 1 = 41h, attribute: ro counter 2 = 42h size: 8 bits per counter default value: bits[6:0] undefined, bit 7=0 each counter's status byte can be read follo wing a read back command. if latch status is chosen (bit 4=0, read back command) as a read back option for a given counter, the next read from the counter's counter access ports register (40h for counter 0, 41h for counter 1, and 42h for counter 2) returns th e status byte. the status byte returns the following: bit description 7 counter out pin state ? ro. 0 = out pin of the counter is also a 0 1 = out pin of the counter is also a 1 6 count register status ? ro. this bit indicates when the last count written to the count register (cr) has been loaded into the counting element (ce). the exact time this happens depends on the counter mode, but until the count is loaded into the counting element (ce), the count value will be incorrect. 0 = count has been transf erred from cr to ce and is available for reading. 1 = null count. count has not been transferre d from cr to ce and is not yet available for reading. 5:4 read/write selection status ? ro. these bits reflect the read/write selection made through bits[5:4] of the control register. th e binary codes returned during the status read match the codes used to progra m the counter read/write selection. 00 = counter latch command 01 = read/write least significant byte (lsb) 10 = read/write most significant byte (msb) 11 = read/write lsb then msb 3:1 mode selection status ? ro. these bits return the counter mode programming. the binary code returned matche s the code used to program the counter mode, as listed under the bit function above. 000 = mode 0 ? out signal on end of count (=0) 001 = mode 1 ? hardware retriggerable one-shot x10 = mode 2 ? rate generator (divide by n counter) x11 = mode 3 ? square wave output 100 = mode 4 ? software triggered strobe 101 = mode 5 ? hardware triggered strobe 0 countdown type status ? ro. this bit reflects the current countdown type. 0 = binary countdown 1 = binary coded decimal (bcd) countdown. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 396 intel ? ich7 family datasheet 10.3.3 counter access ports register (lpc i/f?d31:f0) i/o address: counter 0 ? 40h, counter 1 ? 41h, attribute: r/w counter 2 ? 42h default value: all bits undefined size: 8 bit 10.4 8259 interrupt controller (pic) registers (lpc i/f?d31:f0) 10.4.1 interrupt controller i/o map (lpc i/f?d31:f0) the interrupt controller registers are located at 20h and 21h for the master controller (irq 0 ? 7), and at a0h and a1h for the slave controller (irq 8 ? 13). these registers have multiple functions, depending upon the data written to them. table 10-3 shows the different register possibilities for each address. note: refer to note addressing active-low interrupt sources in 8259 interrupt controllers section ( chapter 5.9 ). bit description 7:0 counter port ? r/w. each counter port address is used to program the 16-bit count register. the order of progra mming, either lsb only, msb only, or lsb then msb, is defined with the interval coun ter control register at port 43h. the counter port is also used to read the current count from the coun t register, and return the status of the counter programming follow ing a read back command. table 10-3. pic registers (lpc i/f?d31:f0) port aliases register name default value type 20h 24h, 28h, 2ch, 30h, 34h, 38h, 3ch master pic icw1 init. cmd word 1 undefined wo master pic ocw2 op ctrl word 2 001xxxxxb wo master pic ocw3 op ctrl word 3 x01xxx10b wo 21h 25h, 29h, 2dh, 31h, 35h, 39h, 3dh master pic icw2 init. cmd word 2 undefined wo master pic icw3 init. cmd word 3 undefined wo master pic icw4 init. cmd word 4 01h wo master pic ocw1 op ctrl word 1 00h r/w a0h a4h, a8h, ach, b0h, b4h, b8h, bch slave pic icw1 init. cmd word 1 undefined wo slave pic ocw2 op ctrl word 2 001xxxxxb wo slave pic ocw3 op ctrl word 3 x01xxx10b wo a1h a5h, a9h, adh, b1h, b5h, b9h, bdh slave pic icw2 init. cmd word 2 undefined wo slave pic icw3 init. cmd word 3 undefined wo slave pic icw4 init. cmd word 4 01h wo slave pic ocw1 op ctrl word 1 00h r/w 4d0h ? master pic edge/level triggered 00h r/w 4d1h ? slave pic edge/level triggered 00h r/w free datasheet http://www..net/
intel ? ich7 family datasheet 397 lpc interface bridge registers (d31:f0) 10.4.2 icw1?initialization command word 1 register (lpc i/f?d31:f0) offset address: master controller ? 20h attribute: wo slave controller ? a0h size: 8 bit /controller default value: all bits undefined a write to initialization command word 1 starts the interrupt controller initialization sequence, during which the following occurs: 1. the interrupt mask register is cleared. 2. irq7 input is assigned priority 7. 3. the slave mode address is set to 7. 4. special mask mode is cleared and status read is set to irr. once this write occurs, the controller expects writes to icw2, icw3, and icw4 to complete the initialization sequence. bit description 7:5 icw/ocw select ? wo. these bits are mcs-85 specific, and not needed. 000 = should be programmed to ?000? 4 icw/ocw select ? wo. 1 = this bit must be a 1 to select ic w1 and enable the icw2, icw3, and icw4 sequence. 3 edge/level bank select (ltim) ? wo. disabled. replac ed by the edge/level triggered control registers (elc r, d31:f0:4d0h, d31:f0:4d1h). 2 adi ? wo. 0 = ignored for the intel ? ich7. should be programmed to 0. 1 single or cascade (sngl) ? wo. 0 = must be programmed to a 0 to indicate two controllers operating in cascade mode. 0 icw4 write required (ic4) ? wo. 1 = this bit must be programmed to a 1 to indicate that icw4 needs to be programmed. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 398 intel ? ich7 family datasheet 10.4.3 icw2?initialization command word 2 register (lpc i/f?d31:f0) offset address: master controller ? 21h attribute: wo slave controller ? a1h size: 8 bit /controller default value: all bits undefined icw2 is used to initialize the interrupt contro ller with the five most significant bits of the interrupt vector address. the value programmed for bits[7:3] is used by the processor to define the base address in the interrupt vector table for the interrupt routines associated with each irq on the controller. typical isa icw2 values are 08h for the master controller and 70h for the slave controller. 10.4.4 icw3?master controller initialization command word 3 register (lpc i/f?d31:f0) offset address: 21h attribute: wo default value: all bits undefined size: 8 bits bit description 7:3 interrupt vector base address ? wo. bits [7:3] define the base address in the interrupt vector table for the interrupt routines as sociated with each interrupt request level input. 2:0 interrupt request level ? wo. when writing icw2, these bits should all be 0. during an interrupt acknowledge cycle, these bits are programmed by the interrupt controller with the interrupt to be serviced. this is combined with bits [7:3] to form the interrupt vector driven onto the data bus during the second inta# cycle. the code is a three bit binary code: code master interrupt slave interrupt 000b irq0 irq8 001b irq1 irq9 010b irq2 irq10 011b irq3 irq11 100b irq4 irq12 101b irq5 irq13 110b irq6 irq14 111b irq7 irq15 bit description 7:3 0 = these bits must be programmed to 0. 2 cascaded interrupt controller irq connection ? wo. this bit indicates that the slave controller is cascaded on irq2. when irq8#?irq15 is asserted, it goes through the slave controller?s priority resolver. the slave controller?s intr output onto irq2. irq2 then goes through the master controlle r?s priority solver. if it wins, the intr signal is asserted to the processor, and th e returning interrupt ac knowledge returns the interrupt vector for the slave controller. 1 = this bit must always be programmed to a 1. 1:0 0 = these bits must be programmed to 0. free datasheet http://www..net/
intel ? ich7 family datasheet 399 lpc interface bridge registers (d31:f0) 10.4.5 icw3?slave controller initialization command word 3 register (lpc i/f?d31:f0) offset address: a1h attribute: wo default value: all bits undefined size: 8 bits 10.4.6 icw4?initialization command word 4 register (lpc i/f?d31:f0) offset address: master controller ? 021h attribute: wo slave controller ? 0a1h size: 8 bits default value: 01h bit description 7:3 0 = these bits must be programmed to 0. 2:0 slave identification code ? wo. these bits are compared against the slave identification code broadcast by the master co ntroller from the trailing edge of the first internal inta# pulse to the trailing edge of the second internal inta# pulse. these bits must be programmed to 02h to match the co de broadcast by the master controller. when 02h is broadcast by the master contro ller during the inta# sequence, the slave controller assumes responsibility for broadcasting the interrupt vector. bit description 7:5 0 = these bits must be programmed to 0. 4 special fully nested mode (sfnm) ? wo. 0 = should normally be disabled by writing a 0 to this bit. 1 = special fully nested mode is programmed. 3 buffered mode (buf) ? wo. 0 = must be programmed to 0 for the intel ? ich7. this is non-buffered mode. 2 master/slave in buffered mode ? wo. not used. 0 = should always be programmed to 0. 1 automatic end of interrupt (aeoi) ? wo. 0 = this bit should normally be programmed to 0. this is the normal end of interrupt. 1 = automatic end of interrupt (aeoi) mode is programmed. 0 microprocessor mode ? wo. 1 = must be programmed to 1 to indicate that the controller is operating in an intel architecture-based system. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 400 intel ? ich7 family datasheet 10.4.7 ocw1?operational contro l word 1 (interrupt mask) register (lpc i/f?d31:f0) offset address: master controller ? 021h attribute: r/w slave controller ? 0a1h size: 8 bits default value: 00h 10.4.8 ocw2?operational control word 2 register (lpc i/f?d31:f0) offset address: master controller ? 020h attribute: wo slave controller ? 0a0h size: 8 bits default value: bit[4:0]=undefined, bit[7:5]=001 following a part reset or icw initialization, the controller enters the fully nested mode of operation. non-specific eoi without rotati on is the default. both rotation mode and specific eoi mode are disabled following initialization. bit description 7:0 interrupt request mask ? r/w. when a 1 is written to any bit in this register, the corresponding irq line is masked. when a 0 is written to any bit in this register, the corresponding irq mask bit is cleared, and in terrupt requests will again be accepted by the controller. masking irq2 on the master controller will also mask the interrupt requests from the slave controller. bit description 7:5 rotate and eoi codes (r, sl, eoi) ? wo. these three bits control the rotate and end of interrupt modes and combinations of the two. 000 = rotate in auto eoi mode (clear) 001 = non-specific eoi command 010 = no operation 011 = *specific eoi command 100 = rotate in auto eoi mode (set) 101 = rotate on non-specific eoi command 110 = *set priority command 111 = *rotate on specific eoi command *l0 ? l2 are used 4:3 ocw2 select ? wo. when selecting ocw2, bits 4:3 = ?00? 2:0 interrupt level select (l2, l1, l0) ? wo. l2, l1, and l0 determine the interrupt level acted upon when the sl bit is active. a simple binary code, outlined below, selects the channel for the command to act upon. when the sl bit is inactive, these bits do not have a defined function; prog ramming l2, l1 and l0 to 0 is sufficient in this case. code interrupt level code interrupt level 000b irq0/8 000b irq4/12 001b irq1/9 001b irq5/13 010b irq2/10 010b irq6/14 011b irq3/11 011b irq7/15 free datasheet http://www..net/
intel ? ich7 family datasheet 401 lpc interface bridge registers (d31:f0) 10.4.9 ocw3?operational co ntrol word 3 register (lpc i/f?d31:f0) offset address: master controller ? 020h attribute: wo slave controller ? 0a0h size: 8 bits default value: bit[6,0]=0, bit[7,4:2]=undefined, bit[5,1]=1 bit description 7 reserved. must be 0. 6 special mask mode (smm) ? wo. 1 = the special mask mode can be used by an interrupt service ro utine to dynamically alter the system priority structure while th e routine is executing, through selective enabling/disabling of the other channel's mask bits. bit 5, the esmm bit, must be set for this bit to have any meaning. 5 enable special mask mode (esmm) ? wo. 0 = disable. the smm bit becomes a ?don't care?. 1 = enable the smm bit to set or reset the special mask mode. 4:3 ocw3 select ? wo. when selecting ocw3, bits 4:3 = 01 2 poll mode command ? wo. 0 = disable. poll command is not issued. 1 = enable. the next i/o read to the interru pt controller is treated as an interrupt acknowledge cycle. an encoded byte is driv en onto the data bus, representing the highest priority level requesting service. 1:0 register read command ? wo. these bits provide cont rol for reading the in-service register (isr) and the interrupt request regi ster (irr). when bit 1=0, bit 0 will not affect the register read sele ction. when bit 1=1, bit 0 selects the register status returned following an ocw3 read. if bit 0=0, the irr will be read. if bit 0=1, the isr will be read. following icw initialization, th e default ocw3 port address read will be ?read irr?. to retain the curre nt selection (read isr or read irr), always write a 0 to bit 1 when programming this register. the se lected register can be read repeatedly without reprogramming ocw3. to select a new status register, ocw3 must be reprogrammed prior to attempting the read. 00 = no action 01 = no action 10 = read irq register 11 = read is register free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 402 intel ? ich7 family datasheet 10.4.10 elcr1?master controller edge/level trig gered register (lpc i/f?d31:f0) offset address: 4d0h attribute: r/w default value: 00h size: 8 bits in edge mode, (bit[x] = 0), the interrupt is recognized by a low to high transition. in level mode (bit[x] = 1), the interrupt is recognized by a high level. the cascade channel, irq2, the heart beat timer (irq 0), and the keyboard controller (irq1), cannot be put into level mode. bit description 7 irq7 ecl ? r/w. 0 = edge. 1 = level. 6 irq6 ecl ? r/w. 0 = edge. 1 = level. 5 irq5 ecl ? r/w. 0 = edge. 1 = level. 4 irq4 ecl ? r/w. 0 = edge. 1 = level. 3 irq3 ecl ? r/w. 0 = edge. 1 = level. 2:0 reserved. must be 0. free datasheet http://www..net/
intel ? ich7 family datasheet 403 lpc interface bridge registers (d31:f0) 10.4.11 elcr2?slave controller e dge/level triggered register (lpc i/f?d31:f0) offset address: 4d1h attribute: r/w default value: 00h size: 8 bits in edge mode, (bit[x] = 0), the interrupt is recognized by a low to high transition. in level mode (bit[x] = 1), the interrupt is recogn ized by a high level. the real time clock, irq8#, and the floating point error interru pt, irq13, cannot be programmed for level mode. bit description 7 irq15 ecl ? r/w. 0 = edge 1 = level 6 irq14 ecl ? r/w. 0 = edge 1 = level 5 reserved. must be 0. 4 irq12 ecl ? r/w. 0 = edge 1 = level 3 irq11 ecl ? r/w. 0 = edge 1 = level 2 irq10 ecl ? r/w. 0 = edge 1 = level 1 irq9 ecl ? r/w. 0 = edge 1 = level 0 reserved. must be 0. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 404 intel ? ich7 family datasheet 10.5 advanced programmabl e interrupt controller (apic)(d31:f0) 10.5.1 apic register map (lpc i/f?d31:f0) the apic is accessed via an indirect addre ssing scheme. two registers are visible by software for manipulation of most of the apic registers. these registers are mapped into memory space. the registers are shown in table 10-4 . table 10-5 lists the registers which can be accessed within the apic via the index register. when accessing these registers, accesses must be done one dword at a time. for example, software should not access byte 2 from the data register before accessing bytes 0 and 1. the hardware will not atte mpt to recover from a bad programming model in this case. 10.5.2 ind?index regist er (lpc i/f?d31:f0) memory address fec0_0000h attribute: r/w default value: 00h size: 8 bits the index register will select which apic indirect register to be manipulated by software. the selector values for the indirect registers are listed in table 10-5 . software will program this register to select the desired apic internal register . table 10-4. apic direct re gisters (lpc i/f?d31:f0) address mnemoni c register name size type fec0_0000h ind index 8 bits r/w fec0_0010h dat data 32 bits r/w feco_0040h eoir eoi 32 bits wo table 10-5. apic indirect registers (lpc i/f?d31:f0) index mnemonic register name size type 00 id identification 32 bits r/w 01 ver version 32 bits ro 02?0f ? reserved ? ro 10?11 redir_tbl0 redirection table 0 64 bits r/w, ro 12?13 redir_tbl1 redirection table 1 64 bits r/w, ro ... ... ... ... ... 3e?3f redir_tbl23 redirection table 23 64 bits r/w, ro 40?ff ? reserved ? ro bit description 7:0 apic index ? r/w. this is an 8-bit pointer into the i/o apic register table. free datasheet http://www..net/
intel ? ich7 family datasheet 405 lpc interface bridge registers (d31:f0) 10.5.3 dat?data register (lpc i/f?d31:f0) memory address fec0_0010h attribute: r/w default value: 00000000h size: 32 bits this is a 32-bit register specifying the data to be read or written to the register pointed to by the index register. this register can only be accessed in dword quantities. 10.5.4 eoir?eoi register (lpc i/f?d31:f0) memory address fec0h_0040h attribute: wo default value: n/a size: 32 bits the eoi register is present to provide a mechanism to maintain the level triggered semantics for level-triggered interrupts issued on the parallel bus. when a write is issued to this register, th e i/o apic will check the lower 8 bits written to this register, and compare it with the vector field for each entry in the i/o redirection table. when a match is found, the remote_irr bit (index offset 10h, bit 14) for that i/o redirection entry will be cleared. note: if multiple i/o redirection entries, for any reason, assign the same vector for more than one interrupt input, each of those entr ies will have the remote_irr bit reset to 0. the interrupt which was prematurely reset will not be lost because if its input remained active when the remote_irr bit is cleared, the interrupt will be reissued and serviced at a later time. note: only bits 7:0 are ac tually used. bits 31:8 are ignored by the ich7. note: to provide for future expansion, the processo r should always write a value of 0 to bits 31:8. bit description 7:0 apic data ? r/w. this is a 32-bit register for the da ta to be read or written to the apic indirect register ( figure 10-5 ) pointed to by the index register (memory address fec0_0000h). bit description 31:8 reserved. to provide for future expansion, th e processor should always write a value of 0 to bits 31:8. 7:0 redirection entry clear ? wo. when a write is issued to this register, the i/o apic will check this field, and compare it with the vector field for each entry in the i/o redirection table. when a match is found, th e remote_irr bit for that i/o redirection entry will be cleared. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 406 intel ? ich7 family datasheet 10.5.5 id?identification re gister (lpc i/f?d31:f0) index offset: 00h attribute: r/w default value: 00000000h size: 32 bits the apic id serves as a physical name of the apic. the apic bus arbitration id for the apic is derived from its i/o apic id. this register is reset to 0 on power-up reset. 10.5.6 ver?version regist er (lpc i/f?d31:f0) index offset: 01h attribute: ro default value: 00170020h size: 32 bits each i/o apic contains a hardwired version register that identifies different implementation of apic and their versions . the maximum redirection entry information also is in this register, to let software kn ow how many interrupt are supported by this apic. bit description 31:28 reserved 27:24 apic id ? r/w. software must program th is value before using the apic. 23:16 reserved 15 scratchpad bit. 14:0 reserved bit description 31:24 reserved 23:16 maximum redirection entries ? ro. this field is the entry number (0 being the lowest entry) of the highest entry in the redirection table. it is equal to the number of interrupt input pins minus one and is in the range 0 through 239. in the intel ? ich7 this field is hardwired to 17h to indicate 24 interrupts. 15 prq ? ro. this bit indicate that the ioxapic does not implement the pin assertion register. 14:8 reserved 7:0 version ? ro. this is a version number that iden tifies the implementation version. free datasheet http://www..net/
intel ? ich7 family datasheet 407 lpc interface bridge registers (d31:f0) 10.5.7 redir_tbl?redirection table (lpc i/f?d31:f0) index offset: 10h ? 11h (vector 0) through attribute:r/w, ro 3e ? 3fh (vector 23) default value: bit 16 = 1,. all other bits undefined size: 64 bits each, (accessed as two 32 bit quantities) the redirection table has a dedicated entry for each interrupt input pin. the information in the redirection table is used to translate the interrupt manifestation on the corresponding interrupt pin into an apic message. the apic will respond to an edge triggered in terrupt as long as the interrupt is held until after the acknowledge cycle has begun. once the interrupt is detected, a delivery status bit internally to the i/o apic is se t. the state machine will step ahead and wait for an acknowledgment from the apic unit th at the interrupt message was sent. only then will the i/o apic be able to recognize a new edge on that interrupt pin. that new edge will only result in a new invocation of the handler if its acceptance by the destination apic causes the interrupt request register bit to go from 0 to 1. (in other words, if the interrupt was not already pending at the destination.) bit description 63:56 destination ? r/w. if bit 11 of this entry is 0 (physical), then bits 59:56 specifies an apic id. in this case, bits 63:59 shou ld be programmed by software to 0. if bit 11 of this entry is 1 (logical), then bits 63:56 specify the logical destination address of a set of processors. 55:48 extended destination id (edid) ? ro. these bits are sent to a local apic only when in processor system bus mode. th ey become bits 11:4 of the address. 47:17 reserved 16 mask ? r/w. 0 = not masked: an edge or level on this in terrupt pin results in the delivery of the interrupt to the destination. 1 = masked: interrupts are not delivered nor held pending. setting this bit after the interrupt is accepted by a local apic has no effect on that inte rrupt. this behavior is identical to the device withdrawing th e interrupt before it is posted to the processor. it is software's responsibility to deal with the case where the mask bit is set after the interrupt message has been ac cepted by a local apic unit but before the interrupt is dispen sed to the processor. 15 trigger mode ? r/w. this field indicates the type of signal on the interrupt pin that triggers an interrupt. 0 = edge triggered. 1 = level triggered. 14 remote irr ? r/w. this bit is used for level triggered interrupts; its meaning is undefined for edge tr iggered interrupts. 0 = reset when an eoi message is received from a local apic. 1 = set when local apic/s accept the level interrupt sent by the i/o apic. 13 interrupt input pin polarity ? r/w. this bit specifies the polarity of each interrupt signal connected to the interrupt pins. 0 = active high. 1 = active low. 12 delivery status ? ro. this field contains the current st atus of the delivery of this interrupt. writes to th is bit have no effect. 0 = idle. no activity for this interrupt. 1 = pending. interrupt has been inject ed, but delivery is not complete. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 408 intel ? ich7 family datasheet note: delivery mode encoding: 000 = fixed. deliver the signal on the intr signal of all processor cores listed in the destination. trigger mode can be edge or level. 001 = lowest priority. deliver the signal on th e intr signal of the processor core that is executing at the lowest priority among all the processors listed in the specified destination. trigger mode can be edge or level. 010 = smi (system management in terrupt). requires th e interrupt to be pr ogrammed as edge triggered. the vector information is ignored but must be programmed to all 0?s for future compatibility: not supported 011 = reserved 100 = nmi. deliver the signal on the nmi signal of all processor cores listed in the destination. vector information is ignored. nmi is treated as an edge triggered interrupt even if it is programmed as level triggered. for proper op eration this redirectio n table entry must be programmed to edge triggered. the nmi delivery mode does not set the rirr bit. if the redirection table is incorrectly set to level, the loop count will continue counting through the redirection table addresses. once the co unt for the nmi pin is reached again, the interrupt will be sent again: not supported 101 = init. deliver the signal to all processor co res listed in the destination by asserting the init signal. all addressed local apics will assu me their init state. in it is always treated as an edge triggered interrupt even if pr ogrammed as level triggered. for proper operation this redirection table entry must be programmed to edge triggered. the init delivery mode does not set the ri rr bit. if the redirection table is incorrectly set to level, the loop count will continue counting through the redirection table addresses. once the count for the init pin is reached again, the interrupt will be sent again: not supported 110 = reserved 111 = extint. deliver the signal to the intr signal of all processor cores listed in the destination as an interrupt that originated in an exte rnally connected 8259a compatible interrupt controller. the inta cycle that corresponds to this extint delivery will be routed to the external controller that is expected to supply the vector. requires the interrupt to be programmed as edge triggered. 11 destination mode ? r/w. this field dete rmines the interpretati on of the destination field. 0 = physical. destination apic id is identified by bits 59:56. 1 = logical. destinations are identified by matching bit 63:56 with the logical destination in the destination format regi ster and logical destination register in each local apic. 10:8 delivery mode ? r/w. this field specifies how the apics listed in the destination field should act upon reception of this signal. certain delivery modes will only operate as intended when used in conjunction with a specific trigger mode. these encodings are listed in the note below: 7:0 vector ? r/w. this field contains the interrupt vector for this interrupt. values range between 10h and feh. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 409 lpc interface bridge registers (d31:f0) 10.6 real time clock regi sters (lpc i/f?d31:f0) 10.6.1 i/o register addres s map (lpc i/f?d31:f0) the rtc internal registers and ram are or ganized as two banks of 128 bytes each, called the standard and extended banks. the first 14 bytes of the standard bank contain the rtc time and date information along with four registers, a ? d, that are used for configuration of the rtc. the extended bank contains a full 128 bytes of battery backed sram, and will be accessible even when the rtc module is disabled (via the rtc configuration register). registers a ? d do not physically exist in the ram. all data movement between the host processor and the real-time clock is done through registers mapped to the standard i/o space. the register map appears in table 10-6 . notes: 1. i/o locations 70h and 71h are the standard legacy location for the real-time clock. the map for this bank is shown in table 10-7 . locations 72h and 73h are for accessing the extended ram. the extended ram bank is also accessed using an indexed scheme. i/o address 72h is used as the address pointer and i/o address 73h is used as the data register. index addresses above 127h are not valid. if the extended ram is not needed, it may be disabled. 2. software must preserve the value of bit 7 at i/o addresses 70h and 74h. when writing to this address, software must firs t read the value, and then write the same value for bit 7 during the sequential address write. note that port 70h is not directly readable. the only way to read this register is through alt access mode. although rtc index bits 6:0 are readable fr om port 74h, bit 7 will always return 0. if the nmi# enable is not changed during normal operation, software can alternatively read this bit once and then retain the value for all subsequent writes to port 70h. table 10-6. rtc i/o registers (lpc i/f?d31:f0) i/o locations if u128e bit = 0 function 70h and 74h also alias to 72h and 76h real- time clock (standard ram) index register 71h and 75h also alias to 73h and 77h real-time clock (standard ram) target register 72h and 76h extended ram index register (if enabled) 73h and 77h extended ram targ et register (if enabled) free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 410 intel ? ich7 family datasheet 10.6.2 indexed register s (lpc i/f?d31:f0) the rtc contains two sets of indexed registers that are accessed using the two separate index and target registers (70/71h or 72/73h), as shown in table 10-7 . table 10-7. rtc (standard) ram bank (lpc i/f?d31:f0) index name 00h seconds 01h seconds alarm 02h minutes 03h minutes alarm 04h hours 05h hours alarm 06h day of week 07h day of month 08h month 09h year 0ah register a 0bh register b 0ch register c 0dh register d 0eh?7fh 114 bytes of user ram free datasheet http://www..net/
intel ? ich7 family datasheet 411 lpc interface bridge registers (d31:f0) 10.6.2.1 rtc_rega?register a (lpc i/f?d31:f0) rtc index: 0a attribute: r/w default value: undefined size: 8-bit lockable: no power well: rtc this register is used for general configuratio n of the rtc functions. none of the bits are affected by rsmrst# or any other intel ? ich7 reset signal. bit description 7 update in progress (uip) ? r/w. this bit may be monito red as a status flag. 0 = the update cycle will not start for at least 488 s. the time, calendar, and alarm information in ram is always av ailable when the uip bit is 0. 1 = the update is soon to occur or is in progress. 6:4 division chain select (dv[2:0]) ? r/w. these three bits cont rol the divider chain for the oscillator, and are not affected by rsmrst# or any other reset signal. dv2 corresponds to bit 6. 010 = normal operation 11x = divider reset 101 = bypass 15 stages (test mode only) 100 = bypass 10 stages (test mode only) 011 = bypass 5 stages (test mode only) 001 = invalid 000 = invalid 3:0 rate select (rs[3:0]) ? r/w. selects one of 13 taps of the 15 stage divider chain. the selected tap can generate a periodic interrupt if the pi e bit is set in register b. otherwise this tap will set the pf flag of register c. if the periodic interrupt is not to be used, these bits should all be set to 0. rs3 corresponds to bit 3. 0000 = interrupt does not toggle 0001 = 3.90625 ms 0010 = 7.8125 ms 0011 = 122.070 s 0100 = 244.141 s 0101 = 488.281 s 0110 = 976.5625 s 0111 = 1.953125 ms 1000 = 3.90625 ms 1001 = 7.8125 ms 1010 = 15.625 ms 1011 = 31.25 ms 1100 = 62.5 ms 1101 = 125 ms 1110 = 250 ms 1111= 500 ms free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 412 intel ? ich7 family datasheet 10.6.2.2 rtc_regb?register b (general configuration) (lpc i/f?d31:f0) rtc index: 0bh attribute: r/w default value: u0u00uuu (u: undefined) size: 8-bit lockable: no power well: rtc bit description 7 update cycle inhibit (set) ? r/w. enables/inhibits the update cycles. this bit is not affected by rsmrst# nor any other reset signal. 0 = update cycle occurs normally once each second. 1 = a current update cy cle will abort and subs equent update cycles will not occur until set is returned to 0. when set is one, the bios may in itialize time and calendar bytes safely. note: this bit should be set then cleared ea rly in bios post after each powerup directly after coin-cell battery insertion. 6 periodic interrupt enable (pie) ? r/w. this bit is cleare d by rsmrst#, but not on any other reset. 0 = disable. 1 = enable. allows an interrupt to occur with a time base set with the rs bits of register a. 5 alarm interrupt enable (aie) ? r/w. this bit is cleared by rtcrst#, but not on any other reset. 0 = disable. 1 = enable. allows an interrupt to occur when the af is set by an alarm match from the update cycle. an alarm can occur once a se cond, one an hour, once a day, or one a month. 4 update-ended interrupt enable (uie) ? r/w. this bit is cleared by rsmrst#, but not on any other reset. 0 = disable. 1 = enable. allows an interrupt to occur when the update cycle ends. 3 square wave enable (sqwe) ? r/w. this bit serves no function in the intel ? ich7. it is left in this register bank to provide compatibility with the motorola 146818b. the ich7 has no sqw pin. this bit is cleare d by rsmrst#, but no t on any ot her reset. free datasheet http://www..net/
intel ? ich7 family datasheet 413 lpc interface bridge registers (d31:f0) 10.6.2.3 rtc_regc?register c (flag register) (lpc i/f?d31:f0) rtc index: 0ch attribute: ro default value: 00u00000 (u: undefined) size: 8-bit lockable: no power well: rtc writes to register c have no effect. 2 data mode (dm) ? r/w. this bit specifies either binary or bcd data representation. this bit is not affected by rs mrst# nor any othe r reset signal. 0 = bcd 1 = binary 1 hour format (hourform) ? r/w. this bit indicates the hour byte format. this bit is not affected by rsmrst# nor any other reset signal. 0 = twelve-hour mode. in twelve-hour mode, the seventh bit represents am as 0 and pm as one. 1 = twenty-four hour mode. 0 daylight savings enable (dse) ? r/w. this bit triggers two sp ecial hour updates per year. the days for the hour adjustment are th ose specified in united states federal law as of 1987, which is different than previous years. this bit is not affected by rsmrst# nor any other reset signal. 0 = daylight savings time updates do not occur. 1 = a) update on the first sunday in april, where time increments from 1:59:59 am to 3:00:00 am. b) update on the last sunday in october when the time first reaches 1:59:59 am, it is changed to 1:00:00 am. the time must increment normally for at least two update cycles (seconds) prev ious to these conditions fo r the time change to occur properly. bit description bit description 7 interrupt request flag (irqf) ? ro. irqf = (pf * pie) + (af * aie) + (uf *ufe). this bit also causes the rtc interrupt to be asserted. this bit is cleared upon rsmrst# or a read of register c. 6 periodic interrupt flag (pf) ? ro. this bit is cleared upon rsmrst# or a read of register c. 0 = if no taps are specified via the rs bits in register a, this flag will not be set. 1 = periodic interrupt flag will be 1 when the tap specified by the rs bits of register a is 1. 5 alarm flag (af) ? ro. 0 = this bit is cleared upon rtcrst# or a read of register c. 1 = alarm flag will be set after all alarm values match the current time. 4 update-ended flag (uf) ? ro. 0 = the bit is cleared upon rsmrst# or a read of register c. 1 = set immediately following an update cycle for each second. 3:0 reserved. will always report 0. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 414 intel ? ich7 family datasheet 10.6.2.4 rtc_regd?register d (flag register) (lpc i/f?d31:f0) rtc index: 0dh attribute: r/w default value: 10uuuuuu (u: undefined) size: 8-bit lockable: no power well: rtc bit description 7 valid ram and time bit (vrt) ? r/w. 0 = this bit should always be written as a 0 fo r write cycle, however it will return a 1 for read cycles. 1 = this bit is hardwired to 1 in the rtc power well. 6 reserved. this bit always returns a 0 an d should be set to 0 for write cycles. 5:0 date alarm ? r/w. these bits store the date of month alarm value. if set to 000000b, then a don?t care state is assumed. the ho st must configure the date alarm for these bits to do anything, yet they can be writ ten at any time. if th e date alarm is not enabled, these bits will return 0?s to mimic the functionality of the motorola 146818b. these bits are not affected by any reset assertion. free datasheet http://www..net/
intel ? ich7 family datasheet 415 lpc interface bridge registers (d31:f0) 10.7 processor interface regi sters (lpc i/f?d31:f0) table 10-8 is the register address map for the processor interface registers. 10.7.1 nmi_sc?nmi status and control register (lpc i/f?d31:f0) i/o address: 61h attribute: r/w, ro default value: 00h size: 8-bit lockable: no power well: core table 10-8. processor inte rface pci register address map (lpc i/f?d31:f0) offset mnemonic register name default type 61h nmi_sc nmi status and control 00h r/w, ro 70h nmi_en nmi enable 80h r/w (special) 92h port92 fast a20 and init 00h r/w f0h coproc_err coprocessor error 00h r/w cf9h rst_cnt reset control 00h r/w bit description 7 serr# nmi source status (serr#_nmi_sts) ? ro. 1 = bit is set if a pci agent detected a syst em error and pulses the pci serr# line and if bit 2 (pci_serr_en) is clea red. this interrupt source is enabled by setting bit 2 to 0. to reset the interrupt, set bit 2 to 1 and then set it to 0. when writing to port 61h, this bit must be 0. note: this bit is set by any of the intel ? ich7 internal sources of serr; this includes serr assertions forwarded from the se condary pci bus, errors on a pci express* port, or other internal functions that generate serr#. 6 iochk# nmi source status (iochk_nmi_sts) ? ro. 1 = bit is set if an lpc agent (via serirq) asserted iochk# and if bit 3 (iochk_nmi_en) is cleared. this interrupt source is enabled by setting bit 3 to 0. to reset the interrupt, set bit 3 to 1 and then set it to 0. when writing to port 61h, this bit must be a 0. 5 timer counter 2 out status (tmr2_out_sts) ? ro. this bit reflects the current state of the 8254 counter 2 output. counter 2 must be programmed following any pci reset for this bit to have a determinate value. when writin g to port 61h, this bit must be a 0. 4 refresh cycle toggle (ref_toggle) ? ro. this signal toggles from either 0 to 1 or 1 to 0 at a rate that is equivalent to when refresh cycles would oc cur. when writing to port 61h, this bit must be a 0. 3 iochk# nmi enable (iochk_nmi_en) ? r/w. 0 = enabled. 1 = disabled and cleared. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 416 intel ? ich7 family datasheet 10.7.2 nmi_en?nmi enable (and real time clock index) register (lpc i/f?d31:f0) i/o address: 70h attribute: r/w (special) default value: 80h size: 8-bit lockable: no power well: core note: the rtc index field is write-only for normal op eration. this field can only be read in alt- access mode. note, however, that this register is aliased to port 74h (documented in), and all bits are readable at that address. 10.7.3 port92?fast a20 and init register (lpc i/f?d31:f0) i/o address: 92h attribute: r/w default value: 00h size: 8-bit lockable: no power well: core 2 pci serr# enable (pci_serr_en) ? r/w. 0 = serr# nmis are enabled. 1 = serr# nmis are di sabled and cleared. 1 speaker data enable ( spkr_dat_en) ? r/w. 0 = spkr output is a 0. 1 = spkr output is equivalent to the counter 2 out signal value. 0 timer counter 2 enable (tim_cnt2_en) ? r/w. 0 = disable 1 = enable bit description bits description 7 nmi enable (nmi_en) ? r/w (special). 0 = enable nmi sources. 1 = disable all nmi sources. 6:0 real time clock index address (rtc_indx) ? r/w (special). th is data goes to the rtc to select which register or cmos ram address is being accessed. bit description 7:2 reserved 1 alternate a20 gate (alt_a20_gate) ? r/w. this bit is or?d with the a20gate input signal to generate a20m# to the processor. 0 = a20m# signal can potentially go active. 1 = this bit is set when init# goes active. 0 init_now ? r/w. when this bit transitions from a 0 to a 1, the intel ? ich7 will force init# active for 16 pci clocks. free datasheet http://www..net/
intel ? ich7 family datasheet 417 lpc interface bridge registers (d31:f0) 10.7.4 coproc_err?coprocessor error register (lpc i/f?d31:f0) i/o address: f0h attribute: r/w default value: 00h size: 8-bits lockable: no power well: core 10.7.5 rst_cnt?reset control register (lpc i/f?d31:f0) i/o address: cf9h attribute: r/w default value: 00h size: 8-bit lockable: no power well: core bits description 7:0 coprocessor error (coproc_err) ? r/w. any value written to this register will cause ignne# to go active, if ferr# had ge nerated an internal irq13. for ferr# to generate an internal irq13, the coproc_err_en bit (device 31:function 0, offset d0, bit 13) must be 1. reads to th is register always return 00h. bit description 7:4 reserved 3 full reset (full_rst) ? r/w. this bit is used to de termine the states of slp_s3#, slp_s4#, and slp_s5# after a cf9 hard rese t (sys_rst =1 and rst_cpu is set to 1), after pwrok going low (with rsmrst# high), or after two tco timeouts. 0 = intel ? ich7 will keep slp_s3#, slp_s4# and slp_s5# high. 1 = ich7 will drive slp_s3#, slp_s4# and slp_s5# low for 3 ? 5 seconds. note: when this bit is set, it also causes the full power cycle (slp_s3/4/5# assertion) in response to sysreset#, pwrok# , and watchdog timer reset sources. 2 reset cpu (rst_cpu) ? r/w. when this bit transitions from a 0 to a 1, it initiates a hard or soft reset, as de termined by the sys_rst bit (bit 1 of this register). 1 system reset (sys_rst) ? r/w. this bit is used to dete rmine a hard or soft reset to the processor. 0 = when rst_cpu bit goes from 0 to 1, the ich7 performs a soft reset by activating init# for 16 pci clocks. 1 = when rst_cpu bit goes from 0 to 1, the ich7 performs a hard reset by activating pltrst# and sus_stat# active for ab out 5-6 milliseconds, however the slp_s3#, slp _ s4# and slp_s5# will not go active . the ich7 main power well is reset when this bit is 1. it also resets the resume well bits (except for those noted throughout the datasheet). 0 reserved free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 418 intel ? ich7 family datasheet 10.8 power management registers (pm?d31:f0) the power management registers are distributed within the pci device 31: function 0 space, as well as a separate i/o range. each register is described below. unless otherwise indicate, bits are in the main (core) power well. bits not explicitly defined in each register are assumed to be reserved. when writing to a reserved bit, the value should always be 0. software should not attempt to use the value read from a reserved bit, as it may not be consistently 1 or 0. 10.8.1 power management pci configuration registers (pm?d31:f0) table 10-9 shows a small part of the configuration space for pci device 31: function 0. it includes only those registers dedicated for power management. some of the registers are only used for legacy power management schemes. table 10-9. power management pci register address map (pm?d31:f0) offset mnemonic register name default type a0h gen_pmcon_1 general power management configuration 1 0000h r/w, ro, r/wo a2h gen_pmcon_2 general power management configuration 2 00h r/w, r/ wc a4h gen_pmcon_3 general power management configuration 3 00h r/w, r/ wc a9h cx-state_cnf cx state configuration (mobile/ultra mobile only). 00h r/w aah c4-timing_cnt c4 timing control (m obile/ultra mobile only). 00h r/w abh bm_break_en bm_break_en 00h r/w adh msc_fun miscellaneous functionality 00h r/w b0h el_sts intel ? quick resume technology status register (digital home only) 00h r/wc, ro b1h-b2h el_cntl1 intel quick resume technology control 1 register (digital home only) f000h r/w, ro, wo b3h el_cntl2 intel quick resume technology control 2 register (digital home only) 00h r/w, ro b8?bbh gpi_rout gpi route control 0000000 0h r/w free datasheet http://www..net/
intel ? ich7 family datasheet 419 lpc interface bridge registers (d31:f0) 10.8.1.1 gen_pmcon_1?general pm configuration 1 register (pm?d31:f0) offset address: a0h attribute: r/w, ro, r/wo default value: 0000h size: 16-bit lockable: no usage: acpi, legacy power well: core bit description 15:11 reserved 10 (desktop and mobile only) bios_pci_exp_en ? r/w. this bit acts as a glob al enable for th e sci associated with the pci express* ports. 0 = the various pci express ports and (g)m ch cannot cause the pci_exp_sts bit to go active. 1 = the various pci express ports and (g)m ch can cause the pci_exp_sts bit to go active. 10 (ultra mobile only) reserved 9 pwrbtn_lvl ? ro. this bit indicates the curre nt state of the pwrbtn# signal. 0 = low. 1 = high. 8 reserved 7 (desktop only) reserved 7 (mobile/ ultra mobile only) enter c4 when c3 invoked (c4onc3_en) ? r/w. if this bit is set, then when software does a lv l3 read, the intel ? ich7-m/ich7-u transitions to the c4 state. 6 i64_en . software sets this bit to indicate th at the processor is an ia_64 processor, not an ia_32 processor. this may be used in various state machines where there are behavioral differences. 5 (desktop only) cpu slp# enable (cpuslp_en) ? r/w. 0 = disable. 1 = enables the cpuslp# signal to go acti ve in the s1 state. this reduces the processor power. 5 (mobile/ ultra mobile only) reserved 4 smi_lock ? r/wo. when this bit is set, writes to the glb_smi_en bit (pmbase + 30h, bit 0) will have no effect. once th e smi_lock bit is set, writes of 0 to smi_lock bit will have no effect (i.e., on ce set, this bit can only be cleared by pltrst#). 3:2 (desktop only) reserved free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 420 intel ? ich7 family datasheet 10.8.1.2 gen_pmcon_2?general pm configuration 2 register (pm?d31:f0) offset address: a2h attribute: r/w, r/wc default value: 00h size: 8-bit lockable: no usage: acpi, legacy power well: resume 3 (mobile/ ultra mobile only) intel speedstep enable (ss_en) ? r/w. 0 = intel speedstep technology logic is disa bled and the ss_cnt re gister will not be visible (reads to ss_cnt will return 00h and writes will have no effect). 1 = intel speedstep technology logic is enabled. 2 (mobile/ ultra mobile only) pci clkrun# enable (clkrun_en) ? r/w. 0 = disable. intel ? ich7-m/ich7-u drives the clkrun# signal low. 1 = enable clkrun# logic to control the system pci clock via the clkrun# and stp_pci# signals. note: when the slp_en# bit is set, the ich7 drives the clkrun# signal low regardless of the state of the clkrun_e n bit. this ensures that the pci and lpc clocks continue running during a transition to a sleep state. 1:0 periodic smi# rate select (per_smi_sel) ? r/w. set by software to control the rate at which period ic smi# is generated. 00 = 1 minute 01 = 32 seconds 10 = 16 seconds 11 = 8 seconds bit description bit description 7 dram initialization bit ? r/w. this bit does not effect hardware functionality in any way. bios is expected to set this bit prior to starting the dram initialization sequence and to clear this bit after completing the dram initialization sequence. bios can detect that a dram initialization sequence was interru pted by a reset by re ading this bit during the boot sequence. ? if the bit is 1, then the dram initialization was interrupted. ? this bit is reset by the assertion of the rsmrst# pin. 6:5 cpu pll lock time (cplt) ? r/w. this field indicates the amount of time that the processor needs to lock its plls. this is used wherever timing t270 ( chapter 23 ) applies. 00 = min 30.7 s (default) 01 = min 61.4 s 10 = min 122.8 s 11 = min 245.6 s it is the responsibility of the bios to program the correct value in this field prior to the first transition to c3 or c4 states (or performing intel speedstep ? technology transitions). note: the new dpslp-to-slp bits (d31:fo:aah, bits 1:0) act as an override to these bits. note: these bits are not cleared by any type of reset except rsmrst# or a cf9 write free datasheet http://www..net/
intel ? ich7 family datasheet 421 lpc interface bridge registers (d31:f0) note: vrmpwrok is sampled using the rtc clock. therefore, low times that are less than one rtc clock period may not be detected by the ich7. 4 system reset status (srs) ? r/wc. software clears this bit by writing a 1 to it. 0 = sys_reset# button not pressed. 1 = ich7 sets this bit when the sys_reset# button is pressed. bi os is expected to read this bit and clear it, if it is set. note: this bit is also reset by rsmrst# and cf9h resets. 3 cpu thermal trip status (cts) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when pltrst# is inacti ve and thrmtrip# goes active while the system is in an s0 or s1 state. notes: 1. this bit is also reset by rsmrst#, an d cf9h resets. it is not reset by the shutdown and reboot associated with the cputhrmtrip# event. 2. the cf9h reset in the desc ription refers to cf9h ty pe core well reset which includes sys_rst#, pwrok/vrmpwrgd lo w, smbus hard reset, tco timeout. this type of reset will clear cts bit. 2 minimum slp_s4# assertion width violation status ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = hardware sets this bit when the slp_s4# assertion width is less than the time programmed in the slp_s4# minimum a ssertion width field (d31:f0:offset a4h:bits 5:4). the ich7 begi ns the timer when slp_s4# is asserted during s4/s5 entry, or when the rsmrst# input is deasse rted during g3 exit. note that this bit is functional regardless of the value in the slp_s4# assertion stretch enable (d31:f0:offset a4h:bit 3). note: this bit is reset by the assertion of th e rsmrst# pin, but can be set in some cases before the default value is readable. 1 cpu power failure (cpupwr_flr) ? r/wc. 0 = software (typically bios) clears this bit by writing a 0 to it. 1 = indicates that the vrmpwrgd signal from the processor?s vrm went low while the system was in an s0 or s1 state. note: vrmpwrgd is sampled using the rtc clock. therefore, low times that are less than one rtc clock period may not be detected by the ich7. 0 pwrok failure (pwrok_flr) ? r/wc. 0 = software clears this bit by writing a 1 to it, or when the system goes into a g3 state. 1 = this bit will be set any ti me pwrok goes low, when th e system was in s0, or s1 state. the bit will be cleared only by software by writing a 1 to this bit or when the system goes to a g3 state. note: see chapter 5.14.11.3 for more details about the pwrok pin functionality. note: in the case of true pwrok failure, pwrok will go low first before the vrmpwrgd. bit description free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 422 intel ? ich7 family datasheet 10.8.1.3 gen_pmcon_3?general pm configuration 3 register (pm?d31:f0) offset address: a4h attribute: r/w, r/wc default value: 00h size: 8-bit lockable: no usage: acpi, legacy power well: rtc bit description 7:6 swsmi_rate_sel ? r/w. this field indicates wh en the swsmi timer will time out. valid values are: 00 = 1.5 ms 0.6 ms 01 = 16 ms 4 ms 10 = 32 ms 4 ms 11 = 64 ms 4 ms these bits are not cleared by an y type of reset except rtcrst#. 5:4 slp_s4# minimum assertion width ? r/w. this field indicates the minimum assertion width of the slp_s4 # signal to ensure that th e drams have been safely power-cycled. valid values are: 11 = 1 to 2 seconds 10 = 2 to 3 seconds 01 = 3 to 4 seconds 00 = 4 to 5 seconds this value is used in two ways: 1. if the slp_s4# assertion width is ever shorter than this time, a status bit is set for bios to read when s0 is entered. 2. if enabled by bit 3 in this register, th e hardware will prevent the slp_s4# signal from deasserting within this minimum time pe riod after asserting. rtcrst# forces this field to the conservative default state (00b) 3 slp_s4# assertion stretch enable ? r/w. 0 = the slp_s4# minimum assertion time is 1 to 2 rtcclk. 1 = the slp_s4# signal minimally assert for the time specified in bits 5:4 of this register. this bit is cleared by rtcrst# free datasheet http://www..net/
intel ? ich7 family datasheet 423 lpc interface bridge registers (d31:f0) note: rsmrst# is sampled using the rtc clock. therefore, low times that are less than one rtc clock period may not be detected by the ich7. 2 rtc power status (rtc_pwr_sts) ? r/w. this bit is se t when rtcrst# indicates a weak or missing battery. the bit is not cl eared by any type of reset. the bit will remain set until the software clears it by writing a 0 back to this bit position. 1 power failure (pwr_flr) ? r/wc. this bit is in the rt c well, and is not cleared by any type of reset except rtcrst#. 0 = indicates that the trickle current has not failed since the last time the bit was cleared. software clears this bit by writing a 1 to it. 1 = indicates that the trickl e current (from the main battery or trickle supply) was removed or failed. note: clearing cmos in an ich-based platform can be done by using a jumper on rtcrst# or gpi, or using safemode strap. implementations should not attempt to clear cmos by using a jumper to pull vccrtc low. 0 afterg3_en ? r/w. this bit determines what stat e to go to when power is re-applied after a power failure (g3 state). this bit is in the rtc well and is not cleared by any type of reset except writes to cf9h or rtcrst#. 0 = system will return to s0 stat e (boot) after power is re-applied. 1 = system will return to the s5 state (except if it was in s4, in which case it will return to s4). in the s5 state, the only enabled wake event is the power button or any enabled wake event that was preserved through the power failure. note: bit will be set when thrmtr ip#-based shutdown occurs. bit description free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 424 intel ? ich7 family datasheet 10.8.1.4 cx-state_cnf?cx state configuration register (pm?d31:f0) (mobile/ultra mobile only) offset address: a9h attribute: r/w default value: 00h size: 8-bit lockable: no usage: acpi, legacy power well: core this register is used to enable new c-state related modes. bit description 7 scratchpad (sp) ? r/w. 6:5 reserved 4 popdown mode enable (pdme) ? r/w. this bit is used in conjunction with the pume bit (d31:f0:a9h, bit 3). if pume is 0, then this bit must also be 0. 0 = the intel ? ich7-m/ich7-u will not attempt to automatically return to a previous c3 or c4 state. 1 = when this bit is a 1 and ich7-m/ich7-u observes that there are no bus master requests, it can return to a previous c3 or c4 state. note: this bit is separate from the pume bi t to cover cases where latency issues permit popup but not popdown. 3 popup mode enable (pume) ? r/w. when this bit is a 0, the ich7-m/ich7-u behaves like ich5, in that bus master traffi c is a break event, an d it will return from c3/c4 to c0 based on a break event. see chapter 5.14.5 for additional details on this mode. 0 = the ich7 will treat bus master traffic a break event, and will return from c3/c4 to c0 based on a break event. 1 = when this bit is a 1 and ich7 observes a bus master request, it will take the system from a c3 or c4 state to a c2 stat e and auto enable bus masters. this will let snoops and memory access occur. 2 report zero for bm_s ts (bm_sts_zero_en) ? r/w. 0 = the ich7 sets bm_sts (pmbase + 00h, bi t 4) if there is bus master activity from pci, pci express* and internal bus masters. 1 = when this bit is a 1, ich7 will not set the bm_sts if there is bus master activity from pci, pci express an d internal bus masters. notes: 1. if the bm_sts bit is already set when the bm_sts_zero_en bit is set, the bm_sts bit will remain set. software wi ll still need to clear the bm_sts bit. 2. it is expected that if the pume bi t (this register, bit 3) is set, the bm_sts_zero_en bit should also be se t. setting one without the other would mainly be for debug or errata workaround. 3. bm_sts will be set by lpc dma (mob ile only) or lpc masters, even if bm_sts_zero_en is set. 1:0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 425 lpc interface bridge registers (d31:f0) 10.8.1.5 c4-timing_cnt?c4 timing control register (pm?d31:f0) (mobile/ultra mobile only) offset address: aah attribute: r/w default value: 00h size: 8-bit lockable: no usage: acpi, legacy power well: core this register is used to enable c-state related modes. bit description 7:4 reserved 3:2 dprslpvr to stpcpu ? r/w. this field selects the am ount of time that the intel ? ich7-m/ich7-u waits for from the deassertio n of dprslpvr to the deassertion of stp_cpu#. this provides a programmable time for the processor?s voltage to stabilize when exiting from a c4 state. this changes the value for t266. 1:0 dpslp-to-slp ? r/w. this field selects the dpslp# deassertion to cpu_slp# deassertion time (t270). normally this value is determined by the cpu_pll_lock_time field in th e gen_pmcon_2 register. when this field is non-zero, then the values in this register have higher priority. it is software?s responsibility to program these fields in a consistent manner. bits t266 min t266 max comment 00b 95 s 101 s default 01b 22 s 28 s value used for ?fast? vrms 10b 34 s 40 s recommended value 11b reserved bit s t270 00b use value in cpu_pll_lock_t ime field (default is 30 s) 01b 20 s 10b 15 s (recommended value) 11b 10 s free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 426 intel ? ich7 family datasheet 10.8.1.6 bm_break_en register (pm?d3 1:f0) (mobile/ultra mobile only) offset address: abh attribute: r/w default value: 00h size: 8-bit lockable: no usage: acpi, legacy power well: core bit description 7 ide_break_en ? r/w. 0 = parallel ide or serial ata traffic will not act as a break event. 1 = parallel ide or serial ata traffic acts as a break event, even if the bm_sts- zero_en and popup_en bits are set. parall el ide or serial ata master activity will cause bm_sts to be set and will cause a break from c3/c4. 6 (mobile only) pcie_break_en ? r/w. 0 = pci express* traffic will not act as a break event. 1 = pci express traffic acts as a break event, even if the bm_sts-zero_en and popup_en bits are set. pci express master activity will cause bm_sts to be set and will cause a break from c3/c4. 6 (ultra mobile only) reserved 5 pci_break_en ? r/w. 0 = pci traffic will not act as a break event. 1 = pci traffic acts as a break event, even if the bm_sts-zero_en and popup_en bits are set. pci master activity will cause bm_sts to be set and will cause a break from c3/c4. 4:3 reserved 2 ehci_break_en ? r/w. 0 = ehci traffic will not act as a break event. 1 = ehci traffic acts as a break event, even if the bm_sts-zero_en and popup_en bits are set. ehci master activity will cause bm_sts to be set and will cause a break from c3/c4. 1 uhci_break_en ? r/w. 0 = uhci traffic will not act as a break event. 1 = usb traffic from any of the internal uh cis acts as a break event, even if the bm_sts-zero_en and popup_en bits are se t. uhci master activity will cause bm_sts to be set and will cause a break from c3/c4. 0 acaz_break_en ? r/w. 0 = ac ?97 or intel ? high definition audio traffic will not act as a break event. 1 = ac ?97 or intel high definition audio tr affic acts as a break event, even if the bm_sts-zero_en and popup_en bits are set. ac ?97 or intel high definition audio master activity will cause bm_sts to be set and will cause a break from c3/c4. note: for ich7-u ultra mobile, only intel high definition is supported, ac ?97 is not supported. free datasheet http://www..net/
intel ? ich7 family datasheet 427 lpc interface bridge registers (d31:f0) 10.8.1.7 msc_fun?miscellaneous functionality register (pm?d31:f0) offset address: adh attribute: r/w default value: 00h size: 8-bit power well: resume 10.8.1.8 el_sts?intel ? quick resume technology status register (pm? d31:f0) (ich7dh only) offset address: b0h attribute: r/wc, ro default value: 00h size: 8-bit power well: resume bit description 7:2 reserved 1:0 usb transient disconnect detect (tdd) ? r/w: this field prevents a short single- ended zero (se0) condition on the usb port s from being interpreted by the uhci host controller as a disconnect. bios should set to 11b. bit description 7:5 reserved 4 el_sci_now_sts ? r/wc: this bit goes active wh en software writes a 1 to el_cnt1.sci_now_cnt. it can be enabled to cause an sci which will allow the intel quick resume technology (qrt) software to transition the reaction to an intel qrt event from an smi# handler to an sci handler. this bit remains set until a 1 is written to this bit position. once a 1 is written to this bit position, the logic will ?re-arm? to allow the bit to be set on the next write of 1 to sci_now_cnt (offset b1h:bit 8). 3 el_pb_sci_sts ? r/wc: this bit goes active when the pwrbtn# pin goes from high-to-low (post-debounce). it can be enabled to cause an sci that will allow the intel qrt software to se e when the power button has been pressed. it is a separate bit from pwrbtn_sts because the os clears th e pwrbtn_sts bit and does not provide any indication to other (i .e. intel qrt) software. the intel qrt software clears el_pb_sci_st s by writing a 1 to this bit position. 2 reserved 1 el_pb_smi_sts ? r/wc: this bit goes active when the pwrbtn# pin goes from high-to-low (post-debounce). it can be enabled to cause an smi# that will allow the intel qrt software to se e when the power button has been pressed. it is a separate bit from pwrbtn_sts because the os clears th e pwrbtn_sts bit and does not provide any indication to other (i .e., intel qrt) software. the intel qrt software clears el_pb_smi_st s by writing a 1 to this bit position. 0 reserved. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 428 intel ? ich7 family datasheet 10.8.1.9 el_cnt1?intel ? quick resume technology control 1 register (pm? d31:f0) (ich7dh only) offset address: b1h-b2h attribute: r/w, ro, wo default value: f000h size: 16-bit power well: resume bit description 15:10 reserved 9 smi_option_cnt ?r/w : 0 = disable. platform does not generate an smi when an intel quick resume technology (qrt) event occurs 1 = enable. platform generates an smi when an intel qrt event occurs (rather than generating an sci). the smi handler can cause the sci by setting the sci_now_cnt. 8 sci_now_cnt ?wo : when software writes a 1 to this bit, it causes el_sci_now_sts (offset b0:bit 4) to assert (which can be enabled to cause an sci). this allows the smi hand ler to cause the sci. 7 pwrbtn_int_en ?r/w : 0 = disable. 1 = enable. the intel qrt logic is enabled to intercept the power button to cause the intel qrt smi or sci, and not immediately setting the pwrbtn_sts bit. the intel qrt software will later set the pwrbtn_sts bit by setting the pwrbtn_evnt bit. note: this bit is effective only in s0. 6 pwrbtn_evnt ?wo : when this bit is set to 1 by software, the pwrbtn_sts bit is set to 1. this allows software to communicate pwr_btn event to os. notes: 1. power button ove rride still possible 2. software does not need to clear this bit, as it is treated as an event 5:4 el_state1_cnt[1:0] ?r/w : these bits controls the el_state1 pin. the el_state[1:0] pins can be used to control a multi color led to indicate the platform power states to user. if el_led_own is 0 then these bits have no impact. 00 = low 01 = high 10 = blinking. note that the blink rate is ~ 1 hz 11 = reserved. software must not set this combination 3:2 el_state0_cnt[1:0] ?r/w : these bits controls the el_state0 pin. the el_state[1:0] pins can be used to control a multi-color led to indicate the platform power states to user. if el_led_own is 0 then these bits have no impact. 00 = low 01 = high 10 = blinking. note that the blink rate is ~ 1 hz 11 = reserved. software must not set this combination 1 el_led_own ?r/w : software sets this bit to 1 to configure the multiplexed pins to be el_state[1:0] rather than gpio[28:27]. 0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 429 lpc interface bridge registers (d31:f0) 10.8.1.10 el_cnt2?intel ? quick resume technology control 2 register (pm? d31:f0) (ich7dh only) offset address: b3h attribute: r/w, ro default value: 00h size: 8-bit power well: rtc 10.8.1.11 gpio_rout?gpio routing control register (pm?d31:f0) offset address: b8h ? bbh attribute: r/w default value: 00000000h size: 32-bit lockable: no power well: resume note: gpios that are not implemented will not have the corresponding bits implemented in this register. bit description 7:1 reserved 0 intel quick resume technology enable (el_en) ?r/w : this bit enables intel quick resume technology. 0 = disabled 1 = enabled when this bit is 0, the r/w bits of inte l quick resume technology control registers (el_cnt1, el_cnt2) scratchpad with no effect on hardware functions. also, wo bits have no effect on hardware functions. bios software is expected to set this bit af ter booting. default value for this bit is 0. bit description 31:30 gpio15 route ? r/w. see bits 1:0 for description. same pattern for gpio14 through gpio3 5:4 gpio2 route ? r/w. see bits 1:0 for description. 3:2 gpio1 route ? r/w. see bits 1:0 for description. 1:0 gpio0 route ? r/w. gpio[15:0] can be routed to cause an smi or sci when the gpio[n]_sts bit is set. if the gpio0 is not set to an input, this field has no effect. if the system is in an s1?s5 state and if the gpe0_en bit is also set, then the gpio can cause a wake event, even if the gpio is not routed to cause an smi# or sci. 00 = no effect. 01 = smi# (if corresponding alt_gpi_smi_en bit is also set) 10 = sci (if corresponding gpe0_en bit is also set) 11 = reserved free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 430 intel ? ich7 family datasheet 10.8.2 apm i/o decode table 10-10 shows the i/o registers associated with apm support. this register space is enabled in the pci device 31: function 0 space (apmdec_en), and cannot be moved (fixed i/o location). 10.8.2.1 apm_cnt?advanced power management control port register i/o address: b2h attribute: r/w default value: 00h size: 8-bit lockable: no usage: legacy only power well: core 10.8.2.2 apm_sts?advanced power management status port register i/o address: b3h attribute: r/w default value: 00h size: 8-bit lockable: no usage: legacy only power well: core table 10-10. apm register map address mnemonic register name default type b2h apm_cnt advanced power management control port 00h r/w b3h apm_sts advanced power management status port 00h r/w bit description 7:0 used to pass an apm command between the os and the smi handler. writes to this port not only store data in the apmc regi ster, but also generates an smi# when the apmc_en bit is set. bit description 7:0 used to pass data between the os and the smi handler. basically, this is a scratchpad register and is not affected by any other register or functi on (other than a pci reset). free datasheet http://www..net/
intel ? ich7 family datasheet 431 lpc interface bridge registers (d31:f0) 10.8.3 power management i/o registers table 10-11 shows the registers associated with acpi and legacy power management support. these registers are enabled in the pci device 31: function 0 space (pm_io_en), and can be moved to any i/o lo cation (128-byte aligned). the registers are defined to support the acpi 2.0 specification, and use the same bit names. note: all reserved bits and registers will always re turn 0 when read, and will have no effect when written. table 10-11. acpi and legacy i/ o register map (sheet 1 of 2) pmbase + offset mnemonic register name acpi pointer default type 00h?01h pm1_sts pm1 status pm1a_evt_blk 0000h r/wc 02h?03h pm1_en pm1 enable pm1a_evt_blk+2 0000h r/w 04h?07h pm1_cnt pm1 control pm1a_cnt_blk 00000000h r/w, wo 08h?0bh pm1_tmr pm1 timer pmtmr_blk xx000000h ro 0ch?0fh ? reserved ? ? ? 10h?13h proc_cnt processor control p_blk 00000000h r/w, ro, wo 14h?16h ? reserved (desktop only) ? ? ? 14h lv2 level 2 (mobile/ultra mobile only) p_blk+4 00h ro 15h lv3 level 3 (mobile/ultra mobile only) p_blk+5 00h ro 16h lv4 level 4 (mobile/ultra mobile only) p_blk+6 00h ro 17h?1fh ? reserved ? ? ? 20h ? reserved (desktop only) ? ? ? 20h pm2_cnt pm2 control (mobile/ ultra mobile only) pm2a_cnt_blk 00h r/w 28h?2bh gpe0_sts general purpose event 0 status gpe0_blk 00000000h r/wc 2ch?2fh gpe0_en general purpose event 0 enables gpe0_blk+4 00000000h r/w 30h?33h smi_en smi# control and enable 00000000h r/w, wo, r/w (special) 34h?37h smi_sts smi status 00000000h r/wc, ro 38h?39h alt_gp_smi_en alternate gpi smi enable 0000h r/w 3ah?3bh alt_gp_smi_st s alternate gpi smi status 0000h r/wc 3ch?41h ? reserved ? ? ? 42h gpe_cntl general purpose event control 00h ro, r/w 43h ? reserved ? ? ? 44h?45h devact_sts device activity status 0000h r/wc 46h?4fh ? reserved free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 432 intel ? ich7 family datasheet 10.8.3.1 pm1_sts?power mana gement 1 status register i/o address: pmbase + 00h ( acpi pm1a_evt_blk ) attribute: r/wc default value: 0000h size: 16-bit lockable: no usage: acpi or legacy power well: bits 0 ? 7: core, bits 8 ? 15: resume, except bit 11 in rtc if bit 10 or 8 in this register is set, and the corresponding _en bit is set in the pm1_en register, then the ich7 will generate a wake event. once back in an s0 state (or if already in an s0 state when the event occurs), the ich7 will also generate an sci if the sci_en bit is set, or an smi# if the sci_en bit is not set. note: bit 5 does not cause an smi# or a wake event. bit 0 does not cause a wake event but can cause an smi# or sci. 50h ? reserved (desktop only) 50h ss_cnt intel speedstep ? technology control (mobile/ultra mobile only) 01h r/w (special) 51h?5fh ? reserved ? ? ? 54h?57h c3_res c3-residency register (mobile/ultra mobile only) ? 00000000h ro, r/w 60h?7fh ? reserved for tco ? ? ? table 10-11. acpi and legacy i/ o register map (sheet 2 of 2) pmbase + offset mnemonic register name acpi pointer default type free datasheet http://www..net/
intel ? ich7 family datasheet 433 lpc interface bridge registers (d31:f0) bit description 15 wake status (wak_sts) ? r/wc. this bit is not affect ed by hard resets caused by a cf9 write, but is reset by rsmrst#. 0 = software clears this bi t by writing a 1 to it. 1 = set by hardware when the system is in one of the sleep states (via the slp_en bit) and an enabled wake event occurs. upon setting this bit, the intel ? ich7 will transition the system to the on state. if the afterg3_en bit is not set and a powe r failure (such as removed batteries on a mobile/ultra mobile platform ) occurs without the slp_en bit set, the system will return to an s0 state when power returns, and the wak_ sts bit will not be set. if the afterg3_en bit is set and a powe r failure occurs without the slp_en bit having been set, the system will go into an s5 state when power returns, and a subsequent wake event will cause the wak_sts bit to be set. note that any subsequent wake event would have to be caused by either a power button press, or an enabled wake event that was preserved through the power failure (enable bit in the rtc well). 14 (desktop and mobile only) pci express wake status (pciexpwak_sts) ? r/wc. 0 = software clears this bit by writing a 1 to it. if the wake# pin is still active during the write or the pme message received indication has not been cleared in the root port, then the bit will remain active (i.e. all inputs to this bit are level- sensitive). 1 = this bit is set by hardware to indicate that the system woke due to a pci express wakeup event. this wakeup event can be caused by the pci express wake# pin being active or receipt of a pci express pme me ssage at a root port. this bit is set only when one of these events causes the system to transition from a non-s0 system power state to the s0 system powe r state. this bit is set independent of the state of the pciexp_wake_dis bit. note: this bit does not itself cause a wake event or prevent entry to a sleeping state. thus, if the bit is 1 and the system is put into a sleeping state, the system will not automatically wake. 14 (ultra mobile only) reserved 13:12 reserved 11 power button override status (prbtnor_sts) ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = this bit is set any time a power button override occurs (i.e., the power button is pressed for at least 4 consecutive second s), or due to the corresponding bit in the smbus slave message. the power butt on override causes an unconditional transition to the s5 state, as well as sets the afte rg# bit. the bios or sci handler clears this bit by writing a 1 to it . this bit is not affected by hard resets via cf9h writes, and is not reset by rsmrst#. thus, this bit is preserved through power failures. note that if this bit is still asserted when the global sci_en is set then an sci will be generated. 10 rtc status (rtc_sts) ? r/wc. this bit is not affected by hard resets caused by a cf9 write, but is reset by rsmrst#. 0 = software clears this bi t by writing a 1 to it. 1 = set by hardware when the rtc genera tes an alarm (asser tion of the irq8# signal). additionally if the rtc_en bit (p mbase + 02h, bit 10) is set, the setting of the rtc_sts bit will generate a wake event. 9 reserved free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 434 intel ? ich7 family datasheet 8 power button status ( pwrbtn__sts) ? r/wc. this bit is not affected by hard resets caused by a cf9 write. 0 = if the pwrbtn# signal is held low for mo re than 4 seconds, the hardware clears the pwrbtn_sts bit, sets the pwrbtnor_sts bit, and the system transitions to the s5 state with only pwrbtn# enabled as a wake event. this bit can be cleared by software by writing a one to the bit position. 1 = this bit is set by hardware when the pwrbtn# signal is asserted low, independent of any other enable bit. in the s0 state, while pwrbtn_en and pwrbtn_sts are both set, an sci (or smi# if sci_en is not set) will be generated. in any sleeping state s1?s5, while pwrbtn_en (pmbase + 02h, bit 8) and pwrbtn_sts are both set, a wake event is generated. note: if the pwrbtn_sts bit is cleared by software while the pwrbtn# signal is sell asserted, this will not cause the pwrbn_sts bit to be set. the pwrbtn# signal must go inactive and active again to set the pwrbtn_sts bit. 7:6 reserved 5 global status (gbl _sts) ? r/wc. 0 = the sci handler should th en clear this bit by writing a 1 to the bit location. 1 = set when an sci is generated due to bios wanting the attention of the sci handler. bios has a corresponding bit, bios_rls, which will cause an sci and set this bit. 4 (desktop only) reserved 4 (mobile/ ultra mobile only) bus master status (bm_sts) ? r/wc. this bit will not cause a wake event, sci or smi#. 0 = software clears this bit by writing a 1 to it. 1 = set by the intel ? ich7-m/ich7-u when a bus mast er requests ac cess to main memory. bus master activity is detected by any of the pci requests being active, any internal bus master request being ac tive, the bm_busy# si gnal being active, or req-c2 message received while in c3 or c4 state. notes: 1. if the bm_sts_zero_en bit is set, then this bit will generally report as a 0. lpc dma (mobile only) and bus master ac tivity will always set the bm_sts bit, even if the bm_sts_zero_en bit is set. 3:1 reserved 0 timer overflow status (tmrof_sts) ? r/wc. 0 = the sci or smi# handler clears this bit by writing a 1 to the bit location. 1 = this bit gets set any time bit 22 of th e 24-bit timer goes hi gh (bits are numbered from 0 to 23). this will occur every 2.3435 seconds. when the tmrof_en bit (pmbase + 02h, bit 0) is set, then the setting of the tmrof_sts bit will additionally generate an sci or smi# (depending on the sci_en). bit description free datasheet http://www..net/
intel ? ich7 family datasheet 435 lpc interface bridge registers (d31:f0) 10.8.3.2 pm1_en?power management 1 enable register i/o address: pmbase + 02h ( acpi pm1a_evt_blk + 2 ) attribute: r/w default value: 0000h size: 16-bit lockable: no usage: acpi or legacy power well: bits 0 ? 7: core, bits 8 ? 9, 11 ? 15: resume, bit 10: rtc bit description 15 reserved 14 (desktop and mobile only) pci express wake disa ble(pciexpwak_dis) ? r/w. modification of this bit has no impact on the value of the pciexp_wake_sts bit. 0 = inputs to the pciexp_wake_sts bit in th e pm1 status register enabled to wake the system. 1 = inputs to the pciexp_wake_sts bit in the pm1 status register disabled from waking the system. 14 (ultra mobile only) reserved 13:11 reserved 10 rtc event enable (rtc_en) ? r/w. this bit is in the rtc well to allow an rtc event to wake after a power failure. this bit is not cleared by any reset other than rtcrst# or a power button override event. 0 = no sci (or smi#) or wake event is generated then rtc_sts (pmbase + 00h, bit 10) goes active. 1 = an sci (or smi#) or wake event will occur when this bit is set and the rtc_sts bit goes active. 9 reserved. 8 power button enable (pwrbtn_en) ? r/w. this bit is used to enable the setting of the pwrbtn_sts bit to gene rate a power management event (smi#, sci). pwrbtn_en has no effect on the pwrbtn_sts bit (pmbase + 00h, bit 8) being set by the assertion of the power bu tton. the power button is always enabled as a wake event. 0 = disable. 1 = enable. 7:6 reserved. 5 global enable (gbl_en) ? r/w. when both the gbl_en and the gbl_sts bit (pmbase + 00h, bit 5) are set, an sci is raised. 0 = disable. 1 = enable sci on gbl_sts going active. 4:1 reserved. 0 timer overflow interrupt enable (tmrof_en) ? r/w. works in conjunction with the sci_en bit (pmbase + 04h, bit 0) as described below: tmrof _ en sci _ en eff ec t w h en tmrof _ sts i s se t 0 x no smi# or sci 1 0 smi# 1 1 sci free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 436 intel ? ich7 family datasheet 10.8.3.3 pm1_cnt?power management 1 control i/o address: pmbase + 04h ( acpi pm1a_cnt_blk ) attribute: r/w, wo default value: 00000000h size: 32-bit lockable: no usage: acpi or legacy power well: bits 0 ? 7: core, bits 8 ? 12: rtc, bits 13 ? 15: resume bit description 31:14 reserved. 13 sleep enable ( slp_en) ? wo. setting this bit causes the system to sequence into the sleep state defined by the slp_typ field. 12:10 sleep type (slp_typ) ? r/w. this 3-bit field defines the type of sleep the system should enter when the slp_en bit is set to 1. these bits are on ly reset by rtcrst#. 9:3 reserved. 2 global release (gbl_rls) ? wo. 0 = this bit always reads as 0. 1 = acpi software writes a 1 to this bit to raise an event to the bios. bios software has a corresponding enable and status bits to control its ability to receive acpi events. 1 (desktop only) reserved 1 (mobile/ ultra mobile only) bus master reload (bm_rld) ? r/w. this bit is treated as a scratchpad bit. this bit is reset to 0 by pltrst# 0 = bus master requests will no t cause a break from the c3 state. 1 = enable bus master requests (internal, external or bm_busy#) to cause a break from the c3 state. if software fails to set this bit be fore going to c3 state, the intel ? ich7-m/ich7-u will still return to a snoopable state from c3 or c4 states due to bus master activity. 0 sci enable ( sci_en) ? r/w. selects the sci interrupt or the smi# interrupt for various events including the bits in the pm1_ sts register (bit 10, 8, 0), and bits in gpe0_sts. 0 = these events will generate an smi#. 1 = these events will generate an sci. code master interrupt 000b on: typically maps to s0 state. 001b asserts stpclk#. puts processor in stop-grant state. optional to assert cpuslp# to put processor in sl eep state: typically, maps to s1 state. 010b reserved 011b reserved 100b reserved 101b suspend-to-ram. assert slp_s3 #: typically maps to s3 state. 110b suspend-to-disk. assert slp_s3#, and slp_s4#: typically maps to s4 state. soft off assert slp s3# slp s4# and slp s5#: typically maps to free datasheet http://www..net/
intel ? ich7 family datasheet 437 lpc interface bridge registers (d31:f0) 10.8.3.4 pm1_tmr?power management 1 timer register i/o address: pmbase + 08h ( acpi pmtmr_blk ) attribute: ro default value: xx000000h size: 32-bit lockable: no usage: acpi power well: core 10.8.3.5 proc_cnt?processor control register i/o address: pmbase + 10h ( acpi p_blk ) attribute: r/w, ro, wo default value: 00000000h size: 32-bit lockable: no (bits 7:5 are write once)usage: acpi or legacy power well: core bit description 31:24 reserved 23:0 timer value (tmr_val) ? ro. returns the running count of the pm timer. this counter runs off a 3.579545 mhz clock (14.31818 mhz divided by 4). it is reset to 0 during a pci reset, and then continues counting as long as the system is in the s0 state. after an s1 state, the counter will not be reset (it will continue counting from the last value in s0 state. anytime bit 22 of the timer goes high to low (bits referenced from 0 to 23), the tmrof_sts bit (pmbase + 00h, bit 0) is set. the high-to-low transition will occur every 2.3435 seconds. if the tmrof_en bit (pmbase + 02h, bit 0) is set, an sci interrupt is also generated. bit description 31:18 reserved 17 throttle status (thtl_sts) ? ro. 0 = no clock throttling is occurring (maximum processor performance). 1 = indicates that the clock state machine is throttling the processor performance. this could be due to the tht_en bit or the force_thtl bit being set. 16:9 reserved 8 force thermal throttling (force_thtl) ? r/w. software can se t this bit to force the thermal throttling function. 0 = no forced throttling. 1 = throttling at the duty cycle specified in thrm_dty starts immediately, and no smi# is generated. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 438 intel ? ich7 family datasheet 7:5 thrm_dty ? wo. this write-once fi eld determines the duty cycle of the throttling when the force_thtl bit is set. the duty cycle indicates the a pproximate percentage of time the stpclk# signal is asserted while in the throttle mode. the stpclk# throttle period is 1024 pciclks. note that the throttling only occurs if the system is in the c0 state. for mobile /ultra mobile only, if in the c2, c3, or c4 state, no throttling occurs. once the thrm_dty field is written, any subs equent writes will have no effect until pltrst# goes active. 4 thtl_en ? r/w. when set and the system is in a c0 state, it enables a processor- controlled stpclk# throttling. the duty cy cle is selected in the thtl_dty field. 0 = disable 1 = enable 3:1 thtl_dty ? r/w. this field determines the duty cycle of the throttling when the thtl_en bit is set. the duty cycle indicate s the approximate percentage of time the stpclk# signal is asserted (low) while in the throttle mode. the stpclk# throttle period is 1024 pciclks. 0 reserved bit description thrm _ dty th ro ttl e m o d e pci cl oc k s 000b 50% (default) 512 001b 87.5% 896 010b 75.0% 768 011b 62.5% 640 100b 50% 512 101b 37.5% 384 110b 25% 256 111b 12.5% 128 thtl _ dty th ro ttl e m o d e pci cl oc k s 000b 50% (default) 512 001b 87.5% 896 010b 75.0% 768 011b 62.5% 640 100b 50% 512 101b 37.5% 384 110b 25% 256 111b 12.5% 128 free datasheet http://www..net/
intel ? ich7 family datasheet 439 lpc interface bridge registers (d31:f0) 10.8.3.6 lv2 ? level 2 register (mobile/ultra mobile only) i/o address: pmbase + 14h ( acpi p_blk+4 ) attribute: ro default value: 00h size: 8-bit lockable: no usage: acpi or legacy power well: core note: this register should not be used by intel ? ia64 processors or syst ems with more than 1 logical processor, unless approp riate semaphoring software has been put in place to ensure that all threads/processors ar e ready for the c2 state when the ?read to this register? instruction occurs. 10.8.3.7 lv3?level 3 register (mobile/ultra mobile only) i/o address: pmbase + 15h ( acpi p_blk + 5 ) attribute: ro default value: 00h size: 8-bit lockable: no usage: acpi or legacy power well: core note: if the c4onc3_en bit is set, reads this register will initiate a lvl4 transition rather than a lvl3 transition. in the event that software at tempts to simultaneous ly read the lvl2 and lvl3 registers (which is not permitted), the intel ? ich7-m/ich7-u will ignore the lvl3 read, and only perform a c2 transition. note: this register should not be used by ia64 pr ocessors or systems with more than 1 logical processor, unless appropriate semaphoring software has been put in place to ensure that all threads/processors are re ady for the c3 stat e when the ?read to this register? instruction occurs. 10.8.3.8 lv4?level 4 register (mobile/ultra mobile only) i/o address: pmbase + 16h ( acpi p_blk + 6 ) attribute: ro default value: 00h size: 8-bit lockable: no usage: acpi or legacy power well: core note: this register should not be used by ia64 pr ocessors or systems with more than 1 logical processor, unless appropriate semaphoring software has been put in place to ensure that all threads/processors are re ady for the c4 stat e when the ?read to this register? instruction occurs. bit description 7:0 reads to this register return all 0s, writes to this register have no effect. reads to this register generate a ?enter a level 2 power state? (c2) to the clock control logic. this will cause the stpclk# signal to go active, and stay active until a break event occurs. throttling (due either to thtl_en or force_thtl) will be ignored. bit description 7:0 reads to this register return al l 0s, writes to this register have no effect. reads to this register generate a ?enter a c3 power state? to the clock control logic. the c3 state persists until a break event occurs. bit description 7:0 reads to this register return al l 0s, writes to this register have no effect. reads to this register generate a ?enter a c4 power state? to the clock control logic. the c4 state persists until a break event occurs. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 440 intel ? ich7 family datasheet 10.8.3.9 pm2_cnt?power management 2 control register (mobile/ultra mobile only) i/o address: pmbase + 20h ( acpi pm2_blk ) attribute: r/w default value: 00h size: 8-bit lockable: no usage: acpi power well: core 10.8.3.10 gpe0_sts?general purp ose event 0 status register i/o address: pmbase + 28h ( acpi gpe0_blk ) attribute: r/wc default value: 00000000h size: 32-bit lockable: no usage: acpi power well: resume this register is symmetrical to the gene ral purpose event 0 enable register. unless indicated otherwise below, if the corresponding _en bit is set, then when the _sts bit get set, the ich7 will generate a wake event. once back in an s0 state (or if already in an s0 state when the event occurs), the ich7 will also generate an sci if the sci_en bit is set, or an smi# if th e sci_en bit (pmbase + 04h, bit 0) is not set. bits 31:16 are reset by a cf9h write; bits 15:0 are not. all are reset by rsmrst#. bit description 7:1 reserved 0 arbiter disable (arb_dis) ? r/w. this bit is a scratchp ad bit for legacy software compatibility. software typically sets this bi t to 1 prior to entering a c3 or c4 state. when a transition to a c3 or c4 state occurs, intel ? ich7-m/ich7-u will automatically prevent any internal or external non-isoch bu s masters from initiating any cycles up to the (g)mch. this blocking starts immediately upon the ich7 sending the go?c3 message to the (g)mch. the blocking stops when the ack-c2 message is received. note that this is not really blocking, in that messages (such as from pci express*) are just queued and held pending. bit description 31:16 gpion_sts ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = these bits are set any time the correspon ding gpio is set up as an input and the corresponding gpio signal is high (or low if the corresponding gp_inv bit is set). if the corresponding enable bit is set in the gpe0_en register, then when the gpio[n]_sts bit is set: ? if the system is in an s1?s5 state, the event will also wake the system. ? if the system is in an s0 state (or upon waki ng back to an s0 state), a sci will be caused depending on the gpio_rout bits (d31:f0:b8h , bits 31:30) for the corresponding gpi. note: mapping is as follows: bit 31 corresponds to gpio15 ... and bit 16 corresponds to gpio0. 15 reserved 14 usb4_sts ? r/wc. 0 = disable. 1 = set by hardware and can be reset by writing a one to this bit position or a resume well reset. this bit is set when usb uhci controller #4 needs to cause a wake. additionally if the usb4_en bit is set, the setting of the usb4_sts bit will generate a wake event. free datasheet http://www..net/
intel ? ich7 family datasheet 441 lpc interface bridge registers (d31:f0) 13 pme_b0_sts ? r/wc. this bit will be set to 1 by the intel ? ich7 when any internal device with pci power management capabiliti es on bus 0 asserts the equivalent of the pme# signal. additionally, if the pme_b0_en bit is set, and the sy stem is in an s0 state, then the setting of the pme_b0_sts bit will generate an sci (or smi# if sci_en is not set). if the pme_b0_sts bit is set, and the system is in an s1?s4 state (or s5 state due to slp_typ and slp_en), then the setting of the pme_b0_sts bit will generate a wake event, and an sci (o r smi# if sci_en is not set) will be generated. if the system is in an s5 state due to power button override, then the pme_b0_sts bit will not cause a wake event or sci. the default for this bit is 0. writing a 1 to this bit position clears this bit. 12 usb3_sts ? r/wc. 0 = disable. 1 = set by hardware and can be reset by writing a one to this bit position or a resume well reset. this bit is set when usb uhci controller #3 needs to cause a wake. additionally if the usb3_en bit is set, the setting of the usb3_sts bit will generate a wake event. 11 pme_sts ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = set by hardware when the pme# signal goes active. additionally, if the pme_en bit is set, and the system is in an s0 state, then the setting of the pme_sts bit will generate an sci or smi# (if sci_en is not set). if the pme_en bit is set, and the system is in an s1?s4 state (or s5 state due to setting slp_typ and slp_en), then the setting of the pme_sts bit will generate a wake event, and an sci will be generated. if the system is in an s5 state due to power button override or a power failure, then pme_ sts will not cause a wake event or sci. 10 (desktop only) intel ? ich7dh only: el_sci_sts ? r/wc. in desktop mode, when intel quick resume technology feature is enabled, this bit will be se t by hardware when the sci_now_cnt or el_pb_sci_sts bit goes high. software cl ears the bit by writing a 1 to the bit position. in desktop mode, when intel quick resume technology feat ure is disabled, this bit will be treated as reserved. ich7 and ich7r only: reserved 10 (mobile/ ultra mobile only) batlow_sts ? r/wc. (mobile/ultra mobile only ) software clears this bit by writing a 1 to it. 0 = batlow# not asserted 1 = set by hardware when the batlow# signal is asserted. bit description free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 442 intel ? ich7 family datasheet 9 pci_exp_sts ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = set by hardware to indicate that: ? the pme event message was received on one or more of the pci express* ports (desktop and mobile only) ? an assert pmegpe message received from the (g)mch via dmi notes: 1. the pci wake# pin has no impact on this bit. 2. if the pci_exp_sts bit went active due to an assert pmegpe message, then a deassert pmegpe message mu st be received prior to the software write in order for the bit to be cleared. 3. if the bit is not cleare d and the corresponding pci_exp_en bit is set, the level-triggered sci will remain active. 4. a race condition exists where the pci express device sends another pme message because the pci express device was not serviced within the time when it must re send the message. this may re sult in a spurious interrupt, and this is comprehended and approved by the pci express* specification, revision 1.0a . the window for this race condition is approximately 95?105 milliseconds. 8 ri_sts ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = set by hardware when the ri# input signal goes active. 7 smbus wake status (smb_wak_sts) ? r/wc. the smbus controller can independently cause an smi# or sci, so this bit does not need to do so (unlike the other bits in this register). software clears this bit by writing a 1 to it. 0 = wake event not caused by the ich7?s smbus logic. 1 = set by hardware to indicate that th e wake event was caused by the ich7?s smbus logic.this bit will be set by the wake/smi# command type, even if the system is already awake. the smi ha ndler should then clear this bit. notes: 1. this bit is set by the smbus slave command 01h (wake/smi#) even when the system is in the s0 state. therefore, to avoid an instant wake on subsequent transitions to sleep states, software must clear this bit after each reception of the wake/smi# command or just pr ior to entering the sleep state. 2. if smb_wak_sts is set due to smbus sl ave receiving a message, it will be cleared by internal logic when a thrmtrip# event happens or a power button override event. however, thrmtrip# or power button override event will not clear smb_wak_sts if it is set due to smbalert# signal going active. 3. the smbalert_sts bit (d31:f3:i/o offs et 00h:bit 5) shou ld be cleared by software before the smb_ wak_sts bit is cleared. 6 tcosci_sts ? r/wc. software clears this bit by writing a 1 to it. 0 = toc logic did not cause sci. 1 = set by hardware when the tco logic causes an sci. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 443 lpc interface bridge registers (d31:f0) 5 ac97_sts ? r/wc. this bit will be set to 1 when the codecs are attempting to wake the system and the pme events for the codecs are armed for wakeup. a pme is armed by programming the appropriate pmee bi t in the power mana gement control and status register at bit 8 of offs et 54h in each ac ?97 function. 0 = software clears this bit by writing a 1 to it. 1 = set by hardware when the codecs are attempting to wake the system. the ac97_sts bit gets set only from the following two cases: 1. the pmee bit for the function is set, an d o the ac-link bit clock has been shut and the routed acz_sdin line is high (for audio, if routing is disabled, no wake events are allowed). 2. for modem, if audio routin g is disabled, then the wake event is an or of all acz_sdin lines. if routing is enabled, then the wake event for modem is the remaining non-routed acz_sdin line), or o gpi status ch ange interrupt bit (nabmbar + 30h, bit 0) is 1. notes: 1. this bit is not affected by a ha rd reset caused by a cf9h write. 2. this bit is also used for intel ? high definition audio when ich7 is configured to use the intel high definition audio host controller rather than the ac97 host controller. 3. for ich7 ultra mobile, only intel high definition is supported, ac ?97 is not supported. 4 usb2_sts ? r/wc. software clears this bit by writing a 1 to it. 0 = usb uhci controller 2 does not need to cause a wake. 1 = set by hardware when us b uhci controller 2 needs to cause a wake. wake event will be generated if the corr esponding usb2_en bit is set. 3 usb1_sts ? r/wc. software clears this bit by writing a 1 to it. 0 = usb uhci controller 1 does not need to cause a wake. 1 = set by hardware when us b uhci controller 1 needs to cause a wake. wake event will be generated if the corr esponding usb1_en bit is set. 2 swgpe_sts ? r/wc. the swgpe_ctrl bit (bit 1 of gpe_ctrl re g) acts as a level input to this bit. 1 (desktop and mobile only) hot_plug_sts ? r/wc. 0 = this bit is cleared by writ ing a 1 to this bit position. 1 = when a pci express* hot-plug event oc curs. this will cause an sci if the hot_plug_en bit is set in the gep0_en register. 1 (ultra mobile only) reserved 0 thermal interrupt status (thrm_sts) ? r/wc. software clears this bit by writing a 1 to it. 0 = thrm# signal not driven active as defined by the thrm_pol bit 1 = set by hardware anytime the thrm# sign al is driven active as defined by the thrm_pol bit. additionally, if the thrm_en bit is set, then the setting of the thrm_sts bit will also generate a po wer management event (sci or smi#). bit description free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 444 intel ? ich7 family datasheet 10.8.3.11 gpe0_en?general purpose event 0 enables register i/o address: pmbase + 2ch ( acpi gpe0_blk + 4 ) attribute: r/w default value: 00000000h size: 32-bit lockable: no usage: acpi power well: bits 0?7, 9, 12, 14?31 resume, bits 8, 10?11, 13 rtc this register is symmetrical to the general purpose event 0 status register. all the bits in this register should be cleared to 0 based on a power button override or processor thermal trip event. the resume well bits ar e all cleared by rsmrst#. the rtc sell bits are cleared by rtcrst#. bit description 31:16 gpin_en ? r/w. these bits enable the corresp onding gpi[n]_sts bits being set to cause a sci, and/or wake event. these bits are cleared by rsmrst#. note: mapping is as follows: bit 31 corresponds to gpi o 15 ... and bit 16 corresponds to gpi o 0. 15 reserved 14 usb4_en ? r/w. 0 = disable. 1 = enable the setting of the usb4_sts bit to generate a wake event. the usb4_sts bit is set anytime usb uhci controller #4 signals a wake event. break events are handled via the usb interrupt. 13 pme_b0_en ? r/w. 0 = disable 1 = enables the setting of the pme_b0_sts bit to generate a wake event and/or an sci or smi#. pme_b0_sts can be a wake event from the s1?s4 states, or from s5 (if entered via slp_typ and slp_en) or power failure, but not power button override. this bit defaults to 0. note: it is only cleared by software or rtcr st#. it is not cleared by cf9h writes. 12 usb3_en ? r/w. 0 = disable. 1 = enable the setting of the usb3_sts bit to generate a wake event. the usb3_sts bit is set anytime usb uhci controller #3 signals a wake event. break events are handled via the usb interrupt. 11 pme_en ? r/w. 0 = disable. 1 = enables the setting of the pme_sts to generate a wake event and/or an sci. pme# can be a wake event from the s1 ? s4 state or from s5 (if entered via slp_en, but not power button override). 10 (desktop only) ich7dh only : el_sci_en ? r/w. in desktop mode with inte l quick resume technology feature enabled, this bit enables the el_sci_sts si gnal to cause an sci (depending on the sci_en bit) when it is asserted. in desktop mode, when intel quick resume technology feat ure is disabled, this bit will be treated as reserved. ich7 and ich7r only: reserved free datasheet http://www..net/
intel ? ich7 family datasheet 445 lpc interface bridge registers (d31:f0) 10 (mobile/ ultra mobile only) batlow_en ? r/w. (mobile/ultra mobile only) 0 = disable. 1 = enables the batlow# signal to cause an smi# or sci (depending on the sci_en bit) when it goes low. this bit does not preven t the batlow# signal from inhibiting the wake event. 9 (desktop and mobile only) pci_exp_en ? r/w. 0 = disable sci generation up on pci_exp_sts bit being set. 1 = enables intel ? ich7 to cause an sci when pci_exp_sts bit is set. this is used to allow the pci express* ports, including th e link to the (g)mch, to cause an sci due to wake/pme events. 9 (ultra mobile only) reserved. must be programmed to 0. 8 ri_en ? r/w. the value of this bit will be maintained through a g3 state and is not affected by a hard reset caused by a cf9h write. 0 = disable. 1 = enables the setting of the ri_sts to generate a wake event. 7 reserved 6 tcosci_en ? r/w. 0 = disable. 1 = enables the setting of the tc osci_sts to generate an sci. 5 ac97_en ? r/w. 0 = disable. 1 = enables the setting of the ac97_sts to generate a wake event. note: this bit is also used for intel ? high definition audi o when the intel high definition audio host controller is enabled rather than the ac97 host controller. 4 usb2_en ? r/w. 0 = disable. 1 = enables the setting of the usb2_sts to generate a wake event. 3 usb1_en ? r/w. 0 = disable. 1 = enables the setting of the usb1_sts to generate a wake event. 2 swgpe_en ? r/w. this bit allows software to control the assert ion of swgpe_sts bit. this bit this bit, when set to 1, enables the sw gpe function. if swgpe_ctrl is written to a 1, hardware will se t swgpe_sts (acts as a level input) if swgpe_sts, swgpe_en, and sci_en ar e all 1s, an sci will be generated if swgpe_sts = 1, swgpe_en = 1, sci_en = 0, and gbl_smi_en = 1, then an smi# will be generated bit description free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 446 intel ? ich7 family datasheet 1 (desktop and mobile only) hot_plug_en ? r/w. 0 = disables sci generation upon the hot_plug_sts bit being set. 1 = enables the intel ? ich7 to cause an sci when the hot_plug_sts bit is set. this is used to allow the pci express ports to cause an sci due to hot-plug events. 1 (ultra mobile only) reserved 0 thrm_en ? r/w. 0 = disable. 1 = active assertion of the thrm# signal (a s defined by the thrm_pol bit) will set the thrm_sts bit and generate a powe r management event (sci or smi). bit description free datasheet http://www..net/
intel ? ich7 family datasheet 447 lpc interface bridge registers (d31:f0) 10.8.3.12 smi_en?smi control and enable register i/o address: pmbase + 30h attribute: r/w, r/w (special), wo default value: 00000000h size: 32 bit lockable: no usage: acpi or legacy power well: core note: this register is symmetrical to the smi status register. bit description 31:26 reserved 25 intel ? ich7dh only: el_smi_en ? r/w. 0 = disable 1 = software sets this bit to enable inte l quick resume technology logic to cause smi# ich7 and ich7r and mobile/ultra mobile only: reserved 24:19 reserved 18 intel_usb2_en ? r/w. 0 = disable 1 = enables intel-specific usb2 smi logic to cause smi#. 17 legacy_usb2_en ? r/w. 0 = disable 1 = enables legacy usb2 logic to cause smi#. 16:15 reserved 14 periodic_en ? r/w. 0 = disable. 1 = enables the intel ? ich7 to generate an smi# when the periodic_sts bit (pmbase + 34h, bit 14) is set in the smi_sts register (pmbase + 34h). 13 tco_en ? r/w. 0 = disables tco logic generating an smi#. note that if the nmi2smi_en bit is set, smis that are caused by re-routed nmis will not be gated by the tco_en bit. even if the tco_en bit is 0, nmis will still be routed to cause smis. 1 = enables the tco logic to generate smi#. note: this bit cannot be written once the tco_lock bit is set. 12 reserved 11 mcsmi_enmicrocontroller smi enable (mcsmi_en) ? r/w. 0 = disable. 1 = enables ich7 to trap accesses to th e microcontroller range (62h or 66h) and generate an smi#. note that ?trapped? cycles will be claimed by the ich7 on pci, but not forwarded to lpc. 10:8 reserved free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 448 intel ? ich7 family datasheet 7 bios release (bios_rls) ? wo. 0 = this bit will always return 0 on reads. writes of 0 to this bit have no effect. 1 = enables the generation of an sci inte rrupt for acpi software when a one is written to this bit position by bios software. note: gbl_sts being set will cause an sci, even if the sci_en bit is not set. software must take great care not to set the bios_rls bit (which causes gbl_sts to be set) if the sci handler is not in place. 6 software smi# timer enable (swsmi_tmr_en) ? r/w. 0 = disable. clearing the swsmi_tmr_en bi t before the timer expires will reset the timer and the smi# will not be generated. 1 = starts software smi# timer. when the swsmi timer expires (the timeout period depends upon the swsmi_rate_s el bit setting), swsmi_tmr_sts is set and an smi# is generated. swsm i_tmr_en stays set until cleared by software. 5 apmc_en ? r/w. 0 = disable. writes to the apm_cnt register will not cause an smi#. 1 = enables writes to the apm_cn t register to cause an smi#. 4 slp_smi_en ? r/w. 0 = disables the generation of smi# on slp_en. note that this bit must be 0 before the software attemp ts to transition the system into a sleep state by writing a 1 to the slp_en bit. 1 = a write of 1 to the slp_en bit (bit 13 in pm1_cnt register) will generate an smi#, and the system will not transition to the sleep state based on that write to the slp_en bit. 3 legacy_usb_en ? r/w. 0 = disable. 1 = enables legacy usb circuit to cause smi#. 2 bios_en ? r/w. 0 = disable. 1 = enables the generation of smi# wh en acpi software writes a 1 to the gbl_rls bit (d31:f0:pmbase + 04h:bit 2). note that if the bios_sts bit (d31:f0:pmbase + 34h:bit 2), which gets set when software writes 1 to gbl_rls bit, is already a 1 at the time that bios_en becomes 1, an smi# will be generated when bios_en gets set. 1 end of smi (eos) ? r/w (special). this bit controls the arbitration of the smi signal to the processor. this bit must be set for the intel ? ich7 to assert smi# low to the processor after smi# ha s been asserted previously. 0 = once the ich7 asserts smi# low, the eos bit is automatically cleared. 1 = when this bit is set to 1, smi# signal will be deasserted for 4 pci clocks before its assertion. in the smi handler, the processor should clear all pending smis (by servicing them and then clearing their respective status bits), set the eos bit, and exit smm. this will allow the smi arbiter to re-assert smi upon detection of an smi event and the setting of a smi status bit. note: ich7 is able to generate 1st smi after reset even though eos bit is not set. subsequent smi require eos bit is set. 0 gbl_smi_en ? r/w. 0 = no smi# will be generated by ich7. this bit is reset by a pci reset event. 1 = enables the generation of smi# in the system upon any enabled smi event. note: when the smi_lock bit is set, this bit cannot be changed. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 449 lpc interface bridge registers (d31:f0) 10.8.3.13 smi_sts?smi status register i/o address: pmbase + 34h attribute: ro, r/wc default value: 00000000h size: 32-bit lockable: no usage: acpi or legacy power well: core note: if the corresponding _en bit is set when th e _sts bit is set, the ich7 will cause an smi# (except bits 8 ? 10 and 12, which do not need enable bits since they are logic ors of other registers that have enable bits). the ich7 uses the same gpe0_en register (i/ o address: pmbase+2ch) to enable/disable both smi and acpi sci general purpose input events. acpi os assumes that it owns the entire gpe0_en register per acpi spec. problems arise when some of the general-pu rpose inputs are enabled as smi by bios, and some of the general purpose inputs are en abled for sci. in this case acpi os turns off the enabled bit for any gpix input sign als that are not indicated as sci general- purpose events at boot, and exit from slee ping states. bios should define a dummy control method which prevents the acpi os from clearing the smi gpe0_en bits. bit description 31:27 reserved 26 (desktop and mobile only) spi_sts ? ro. this bit will be set if the spi logi c is generating an smi#. this bit is read only because the sticky status and en able bits associated with this function are located in the spi registers. 26 (ultra mobile only) reserved 25 (desktop only) intel ? ich7dh only: el_smi_sts ? ro. this bit will be set if the intel quick resume technology logic is generating an smi#. writing a 1 to this bit clears this bit to ?0?. ich7 and ich7r only: reserved. 25 (mobile only) reserved 24:22 reserved 21 monitor_sts ? ro. this bit will be set if the trap/smi logic has caused the smi. this will occur when the processor or a bus mast er accesses an assigned register (or a sequence of accesses). see section 7.1.36 through section 7.1.39 for details on the specific cause of the smi. 20 (desktop and mobile only) pci_exp_smi_sts ? ro. pci express* smi event occu rred. this could be due to a pci express pme event or hot-plug event. 20 (ultra mobile only) reserved 19 reserved free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 450 intel ? ich7 family datasheet 18 intel_usb2_sts ? ro. this non-sticky read-only bit is a logical or of each of the smi status bits in the intel-specific usb2 smi status register anded with the corresponding enable bits. this bit will not be active if the enable bits are not set. writes to this bit will have no effect. 17 legacy_usb2_sts ? ro. this non-sticky read-only bit is a logical or of each of the smi status bits in the usb2 le gacy support register anded with the corresponding enable bits. this bit will not be active if the enable bits are not set. writes to this bit will have no effect. 16 smbus smi status (smbus_smi_sts) ? r/wc. software clears this bit by writing a 1 to it. 0 = this bit is set from the 64 khz clock domain used by th e smbus. software must wait at least 15.63 us after the initial assertion of this bit before clearing it. 1 = indicates that the smi# was caused by: 1. the smbus slave receiving a message that an smi# should be caused, or 2. the smbalert# signal goes active and the smb_smi_en bit is set and the smbalert_dis bit is cleared, or 3. the smbus slave receiving a host notify message and the host_notify_intren and the sm b_smi_en bits are set, or 4. the ich7 detecting the smlink_slave_smi command while in the s0 state. 15 serirq_smi_sts ? ro. 0 = smi# was not caused by the serirq decoder. 1 = indicates that the smi# was caused by the serirq decoder. note: this is not a sticky bit 14 periodic_sts ? r/wc. software clears this bit by writing a 1 to it. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set at the rate determined by the per_smi_sel bits. if the periodic_en bit (pmbase + 30h, bit 14) is also set, the intel ? ich7 generates an smi#. 13 tco_sts ? r/wc. software clears this bit by writing a 1 to it. 0 = smi# not caused by tco logic. 1 = indicates the smi# was caused by the tco logic. note that this is not a wake event. 12 device monitor status (devmon_sts) ? ro. 0 = smi# not caused by device monitor. 1 = set if bit 0 of the devact_sts register (pmbase + 44h) is set. the bit is not sticky, so writes to this bit will have no effect. 11 microcontroller smi# status ( mcsmi_sts) ? r/wc. software clears this bit by writing a 1 to it. 0 = indicates that there has been no access to the power management microcontroller rang e (62h or 66h). 1 = set if there has been an access to the power manageme nt microcontroller range (62h or 66h) and the microcontrol ler decode enable #1 bit in the lpc bridge i/o enables configuration register is 1 (d31:f0:offset 82h:bit 11). note that this implementation assumes th at the microcontrolle r is on lpc. if this bit is set, and the mcsmi_en bit is also set, the ich7 will generate an smi#. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 451 lpc interface bridge registers (d31:f0) 10 gpi_sts ? ro. this bit is a logical or of the bits in the alt_gp_smi_sts register that are also set up to cause an smi# (as indicated by the gpi_rout registers) and have the co rresponding bit set in the alt_gp_smi_en register. bits that are not routed to cause an sm i# will have no effect on this bit. 0 = smi# was not generated by a gpi assertion. 1 = smi# was generated by a gpi assertion. 9 gpe0_sts ? ro. this bit is a logical or of the bits 14:10, 8:2, and 0 in the gpe0_sts register (pmbase + 28h) that al so have the corresponding bit set in the gpe0_en register (pmbase + 2ch). 0 = smi# was not generated by a gpe0 event. 1 = smi# was generated by a gpe0 event. 8 pm1_sts_reg ? ro. this is an ors of the bits in the acpi pm1 status register (offset pmbase+00h) that can cause an smi#. 0 = smi# was not generated by a pm1_sts event. 1 = smi# was generated by a pm1_sts event. 7 reserved 6 swsmi_tmr_sts ? r/wc. software clears this bit by writing a 1 to it. 0 = software smi# timer has not expired. 1 = set by the hardware when th e software smi# timer expires. 5 apm_sts ? r/wc. software clears this bit by writing a 1 to it. 0 = no smi# generated by write access to apm control register with apmch_en bit set. 1 = smi# was generated by a write access to the apm co ntrol register with the apmc_en bit set. 4 slp_smi_sts ? r/wc. software clears this bit by writing a 1 to the bit location. 0 = no smi# caused by write of 1 to slp_en bit when slp_smi_en bit is also set. 1 = indicates an smi# was caused by a write of 1 to slp_en bit when slp_smi_en bit is also set. 3 legacy_usb_sts ? ro. this bit is a logical or of each of the smi status bits in the usb legacy keyboard/mouse control registers anded with the corresponding enable bits. this bit will not be active if the enable bits are not set. 0 = smi# was not generated by usb legacy event. 1 = smi# was generated by usb legacy event. 2 bios_sts ? r/wc. 0 = no smi# generated due to acpi software requesting attention. 1 = this bit gets set by hardware when a 1 is written by software to the gbl_rls bit (d31:f0:pmbase + 04h:bit 2). when both the bios_en bit (d31:f0:pmbase + 30h:bit 2) and the bios _sts bit are set, an smi# will be generated. the bios_sts bi t is cleared when software writes a 1 to its bit position. 1:0 reserved bit description free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 452 intel ? ich7 family datasheet 10.8.3.14 alt_gp_smi_en?alternate gpi smi enable register i/o address: pmbase +38h attribute: r/w default value: 0000h size: 16-bit lockable: no usage: acpi or legacy power well: resume 10.8.3.15 alt_gp_smi_sts?altern ate gpi smi status register i/o address: pmbase +3ah attribute: r/wc default value: 0000h size: 16-bit lockable: no usage: acpi or legacy power well: resume bit description 15:0 alternate gpi smi enable ? r/w. these bits are used to enable the corresponding gpio to cause an smi#. for these bits to ha ve any effect, the following must be true. ? the corresponding bit in the alt_gp_smi_en register is set. ? the corresponding gpi must be routed in the gpi_rout register to cause an smi. ? the corresponding gpio must be implemented. note: mapping is as follows: bit 15 correspon ds to gpio15 ... bit 0 corresponds to gpio0. bit description 15:0 alternate gpi smi status ? r/wc. these bits report th e status of the corresponding gpios. 0 = inactive. software clears th is bit by writing a 1 to it. 1 = active these bits are sticky. if the following conditions are true, then an smi# will be generated and the gpe0_sts bit set: ? the corresponding bit in the alt_gpi_ smi_en register (pmbase + 38h) is set ? the corresponding gpio must be routed in the gpi_rout register to cause an smi. ? the corresponding gpio must be implemented. all bits are in the resume well. default for these bits is dependent on the state of the gpio pins. free datasheet http://www..net/
intel ? ich7 family datasheet 453 lpc interface bridge registers (d31:f0) 10.8.3.16 gpe_cntl? general purpose control register i/o address: pmbase +42h attribute: r/w default value: 00h size: 8-bit lockable: no usage: acpi or legacy power well: resume bit description 7:2 reserved 1 swgpe_ctrl ? r/w. this bit allows software to control the assertion of swgpe_sts bit. this bit is used by hardware as the level input signal for the swgpe_sts bit in the gpe0_sts register. when swgpe_ctrl is 1, sw gpe_sts will be set to 1, and writes to swgpe_sts with a value of 1 to clear swgp e_sts will result in swgpe_sts being set back to 1 by hardware. when swgpe_ctrl is 0, writes to swgpe_sts with a value of 1 will clear swgpe_sts to 0. 0 thrm#_pol ? r/w. this bit controls the polarity of the thrm# pin needed to set the thrm_sts bit. 0 = low value on the thrm# signal will set the thrm_sts bit. 1 = high value on the thrm# signal will set the thrm_sts bit. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 454 intel ? ich7 family datasheet 10.8.3.17 devact_sts ? device activity status register i/o address: pmbase +44h attribute: r/wc default value: 0000h size: 16-bit lockable: no usage: legacy only power well: core each bit indicates if an access has occurred to the corresponding device?s trap range, or for bits 6:9 if the corresponding pci interru pt is active. this register is used in conjunction with the periodic smi# timer to detect any system activity for legacy power management. the periodic smi# timer indicate s if it is the right time to read the devact_sts register (pmbase + 44h). note: software clears bits that are set in this register by writing a 1 to the bit position. bit description 15:13 reserved 12 kbc_act_sts ? r/wc. kbc (60/64h). 0 = indicates that there has been no access to this device?s i/o range. 1 = this device?s i/o range has been accessed. clear this bit by writing a 1 to the bit location. 11:10 reserved 9 pirqdh_act_sts ? r/wc. pirq[d or h]. 0 = the corresponding pci inte rrupts have not been active. 1 = at least one of the corresponding pci inte rrupts has been active . clear this bit by writing a 1 to the bit location. 8 pirqcg_act_sts ? r/wc. pirq[c or g]. 0 = the corresponding pci inte rrupts have not been active. 1 = at least one of the corresponding pci inte rrupts has been active . clear this bit by writing a 1 to the bit location. 7 pirqbf_act_sts ? r/wc. pirq[b or f]. 0 = the corresponding pci inte rrupts have not been active. 1 = at least one of the corresponding pci inte rrupts has been active . clear this bit by writing a 1 to the bit location. 6 pirqae_act_sts ? r/wc. pirq[a or e]. 0 = the corresponding pci inte rrupts have not been active. 1 = at least one of the corresponding pci inte rrupts has been active . clear this bit by writing a 1 to the bit location. 5:1 reserved 0 ide_act_sts ? r/wc. ide primary drive 0 and drive 1. 0 = indicates that there has been no access to this device?s i/o range. 1 = this device?s i/o range has been accessed. the enable bit is in the atc register (d31:f1:offset c0h). clear this bit by writing a 1 to the bit location. free datasheet http://www..net/
intel ? ich7 family datasheet 455 lpc interface bridge registers (d31:f0) 10.8.3.18 ss_cnt? intel speedstep ? technology control register (mobile /ultra mobile only) i/o address: pmbase +50h attribute: r/w (special) default value 01h size: 8-bit lockable: no usage: acpi/legacy power well: core note: writes to this register will initiate an intel speedstep technology transition that involves a temporary transition to a c3-lik e state in which the stpclk# signal will go active. an intel speedstep technology transition always occur on writes to the ss_cnt register, even if the value written to ss_state is the same as the previous value (after this ?transition? the system would still be in the same intel speedstep technology state). if the ss_en bit is 0, then writes to this register will have no effect and reads will return 0. 10.8.3.19 c3_res? c3 residency regi ster (mobile/ultra mobile only) i/o address: pmbase +54h attribute: r/w/ro default value 00000000h size: 32-bit lockable: no usage: acpi/legacy power well: core the value in this field increments at the same rate as the power management timer. this field increments while stp_ cpu# is active (i.e. the cpu is in a c3 or c4 state). this field will roll over in the same way as the power management timer, however the most significant bit is not sticky. bit description 7:1 reserved 0 ss_state (intel speedstep ? technology state) ? r/w (spe cial). when this bit is read, it returns the last value written to this register. by convention, this will be the current intel speedstep technology state. writes to this register causes a change to the intel speedstep technolo gy state indicated by the value wr itten to this bit. if the new value for ss_state is the same as the previous value, then transition will still occur. 0 = high power state. 1 = low power state note: this is only a convention because the tr ansition is the same regardless of the value written to this bit. bit description 31:24 reserved 23:0 c3_residency ? ro. the value in this field increments at the same rate as the power management timer. if the c3_resedency_mod e bit is clear, this field automatically resets to 0 at the point when the lvl3 or lvl4 read occurs. if the c3_residency_mode bit is set, the register does not reset when the lvl3 or lvl4 read occurs. in either mode, it increments while stp_cpu# is active (i.e., the processor is in a c3 or c4 state). this field will roll over in the same way as the pm timer, however the most significant bit is not sticky. software is responsible for reading this fi eld before performing th e lvl3/4 transition. software must also check for rollover if the maximum time in c3/c4 could be exceeded. note: hardware reset is the only reset of this counter field. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 456 intel ? ich7 family datasheet 10.9 system management tco registers (d31:f0) the tco logic is accessed via registers mapped to the pci configuration space (device 31:function 0) and the system i/o space. for tco pci configuration registers, see lpc device 31:function 0 pci configuration registers. tco register i/o map the tco i/o registers reside in a 32-byte range pointed to by a tcobase value, which is, pmbase + 60h in the pci configuratio n space. the following table shows the mapping of the registers within that 32-byte range. each register is described in the following sections. 10.9.1 tco_rld?tco timer reload and current value register i/o address: tcobase +00h attribute: r/w default value: 0000h size: 16-bit lockable: no power well: core table 10-12. tco i/o register address map tcobase + offset mnemonic register name default type 00h?01h tco_rld tco timer reload and current value 0000h r/w 02h tco_dat_in tco data in 00h r/w 03h tco_dat_out tco data out 00h r/w 04h?05h tco1_sts tco1 status 0000h r/wc, ro 06h?07h tco2_sts tco2 status 0000h r/w, r/wc 08h?09h tco1_cnt tco1 control 0000h r/w, r/w (special), r/wc 0ah?0bh tco2_cnt tco2 control 0008h r/w 0ch?0dh tco_message1, tco_message2 tco message 1 and 2 00h r/w 0eh tco_wdcnt watchdog control 00h r/w 0fh ? reserved ? ? 10h sw_irq_gen software irq generation 11h r/w 11h ? reserved ? ? 12h?13h tco_tmr tco timer initial value 0004h r/w 14h?1fh ? reserved ? ? bit description 15:10 reserved 9:0 tco timer value ? r/w. reading this register will return the current count of the tco timer. writing any value to this register wi ll reload the timer to prevent the timeout. free datasheet http://www..net/
intel ? ich7 family datasheet 457 lpc interface bridge registers (d31:f0) 10.9.2 tco_dat_in?tco data in register i/o address: tcobase +02h attribute: r/w default value: 00h size: 8-bit lockable: no power well: core 10.9.3 tco_dat_out?tco data out register i/o address: tcobase +03h attribute: r/w default value: 00h size: 8-bit lockable: no power well: core 10.9.4 tco1_sts?tco1 status register i/o address: tcobase +04h attribute: r/wc, ro default value: 0000h size: 16-bit lockable: no power well: core (except bit 7, in rtc) bit description 7:0 tco data in value ? r/w. this data register field is used for passing commands from the os to the smi handler. writes to this register will cause an smi and set the sw_tco_smi bit in the tco1_sts register (d31:f0:04h). bit description 7:0 tco data out value ? r/w. this data register fi eld is used for passing commands from the smi handler to the os. writes to this register will set the tco_int_sts bit in the tco_sts register. it will also cause an interrupt, as selected by the tco_int_sel bits. bit description 15:13 reserved 12 dmiserr_sts ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = intel ? ich7 received a dmi special cycle message via dmi indicating that it wants to cause an serr#. the soft ware must read the (g)mch to determine the reason for the serr#. 11 reserved 10 dmismi_sts ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = ich7 received a dmi special cycle message via dmi indicating that it wants to cause an smi. the software must read th e (g)mch to determine the reason for the smi. 9 dmisci_sts ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = ich7 received a dmi special cycle message via dmi indicating that it wants to cause an sci. the software must read th e (g)mch to determine the reason for the sci. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 458 intel ? ich7 family datasheet 8 bioswr_sts ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = ich7 sets this bit and gene rates and smi# to indicate an invalid attempt to write to the bios. this occurs when either: a) the bioswp bit is changed from 0 to 1 and the bld bit is also set, or b) any write is attempted to the bios and the bioswp bit is also set. note: on write cycles attempted to the 4 mb lower alias to the bios space, the bioswr_sts will not be set. 7 newcentury_sts ? r/wc. this bit is in the rtc well. 0 = cleared by writing a 1 to the bit position or by rtcrst# going active. 1 = this bit is set when the year byte (rtc i/o space, index offset 09h) rolls over from 99 to 00. setting this bit will cause an smi# (but not a wake event). note: the newcentury_sts bit is not valid when the rtc battery is first installed (or when rtc power has not been maintain ed). software can determine if rtc power has not been maintained by checking the rtc_pwr_sts bit (d31:f0:a4h, bit 2), or by other means (such as a checksum on rtc ram). if rtc power is determined to have not been maintained, bios should set the time to a legal value and then clear the newcentury_sts bit. the newcentury_sts bit may take up to 3 rtc clocks for the bit to be cleared after a 1 is written to the bit to clear it . after writing a 1 to this bit, software should not exit the smi handler until ve rifying that the bit has actually been cleared. this will ensure that the smi is not re-entered. 6:4 reserved 3 timeout ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = set by ich7 to indicate that the sm i was caused by the tco timer reaching 0. 2 tco_int_sts ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = smi handler caused the interrupt by writing to the tco_dat_out register (tcobase + 03h). 1 sw_tco_smi ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = software caused an smi# by writing to the tco_dat_in register (tcobase + 02h). 0 nmi2smi_sts ? ro. 0 = cleared by clearing the associated nmi status bit. 1 = set by the ich7 when an smi# occu rs because an event occurred that would otherwise have caused an nmi (because nmi2smi_en is set). bit description free datasheet http://www..net/
intel ? ich7 family datasheet 459 lpc interface bridge registers (d31:f0) 10.9.5 tco2_sts?tco2 status register i/o address: tcobase +06h attribute: r/w, r/wc default value: 0000h size: 16-bit lockable: no power well: resume (except bit 0, in rtc) bit description 15:5 reserved 4 smlink slave smi status (smlink_slv_smi_sts) ? r/wc. allow the software to go directly into pre-determined sleep state. this avoids race conditions. software clears this bit by writing a 1 to it. 0 = the bit is reset by rsmrst#, but not du e to the pci reset associated with exit from s3?s5 states. 1 = intel ? ich7 sets this bit to 1 when it receives the smi message on the smlink's slave interface. 3 reserved 2 boot_sts ? r/wc. 0 = cleared by ich7 based on rsmrst# or by software writing a 1 to this bit. note that software should first clear the seco nd_to_sts bit before writing a 1 to clear the boot_sts bit. 1 = set to 1 when the second_to_sts bit go es from 0 to 1 and the processor has not fetched the firs t instruction. if rebooting due to a second tco timer timeout, and if the boot_sts bit is set, the ich7 will reboot using the ?safe? multiplier (1111). this allows the system to recover from a processor frequency multiplier that is too high, and allows the bios to check the boot_sts bit at boot. if the bit is set and the frequency multiplier is 1111, then the bios knows that the processor has been programmed to an invalid multiplier. 1 second_to_sts ? r/wc. 0 = software clears this bit by wr iting a 1 to it, or by a rsmrst#. 1 = ich7 sets this bit to 1 to indicate that the timeout bit had be en (or is currently) set and a second timeout occurred before th e tco_rld register was written. if this bit is set and the no_reboot config bit is 0, then the ich7 will reboot the system after the second timeout. the reboot is done by asserting pltrst#. 0 intruder detect (intrd_det) ? r/wc. 0 = software clears this bit by writin g a 1 to it, or by rtcrst# assertion. 1 = set by ich7 to indicate that an intrusion was detected. this bit is set even if the system is in g3 state. note: this bit has a recovery time. after writing a 1 to this bit position (to clear it), the bit may be read back as a 1 for up 65 mi croseconds before it is read as a 0. software must be aware of this recovery time when reading this bit after clearing it. note: if the intruder# signal is active when the software attempts to clear the intrd_det bit, the bit will remain as a 1, and the smi# will be generated again immediately. the smi handler can clear the intrd_sel bits (tcobase + 0ah, bits 2:1), to avoid further smis. howe ver, if the intruder# signals goes inactive and then active again, there will not be further smi?s (because the intrd_sel bits would select th at no smi# be generated). note: if the intruder# signal goes inactive some point after the intrd_det bit is written as a 1, then the in trd_det signal will go to a 0 when intruder# input signal goes inactive. note th at this is slightly differen t than a classic sticky bit, since most sticky bits would remain acti ve indefinitely when the signal goes active and would immediately go inacti ve when a 1 is written to the bit. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 460 intel ? ich7 family datasheet 10.9.6 tco1_cnt?tco1 control register i/o address: tcobase +08h attribute: r/w, r/w (special), r/wc default value: 0000h size: 16-bit lockable: no power well: core bit description 15:13 reserved 12 tco_lock ? r/w (special). when set to 1, this bit prevents writes from changing the tco_en bit (in offset 30h of power management i/o space). once this bit is set to 1, it can not be cleared by software writing a 0 to this bit location. a core-well reset is required to change this bit from 1 to 0. this bit defaults to 0. 11 tco timer halt (tco_tmr_hlt) ? r/w. 0 = the tco timer is enabled to count. 1 = the tco timer will halt. it will not count, and thus cannot reach a value that will cause an smi# or set the second_to_sts bit. when set, this bit will prevent rebooting and prevent alert on lan even t messages from being transmitted on the smlink (but not alert on lan* heartbeat messages). 10 send_now ? r/w (special). 0 = the intel ? ich7 will clear this bit when it has completed sending the message. software must not se t this bit to 1 again until the ich7 has set it back to 0. 1 = ich7 sends an alert on lan event message over the smlink interface, with the software event bit set. setting the send_now bit causes the ich7 in tegrated lan controller to reset, which can have unpredictable side-effects. unless software protects against these side effects, software should no t attempt to set this bit. 9 nmi2smi_en ? r/w. 0 = normal nmi functionality. 1 = forces all nmis to instead cause smis. th e functionality of this bit is dependent upon the settings of the nmi_en bit and the gbl_smi_en bit as detailed in the following table: 8 nmi_now ? r/wc. 0 = software clears this bit by writing a 1 to it. the nmi handler is expected to clear this bit. another nmi will not be generated until the bit is cleared. 1 = writing a 1 to this bit causes an nmi. this allows the bios or smi handler to force an entry to the nmi handler. 7:0 reserved nmi_en gbl_smi_en description 0b 0b no smi# at all be cause gbl_smi_en = 0 0b 1b smi# will be caused due to nmi events 1b 0b no smi# at all be cause gbl_smi_en = 0 1b 1b no smi# due to nmi because nmi_en = 1 free datasheet http://www..net/
intel ? ich7 family datasheet 461 lpc interface bridge registers (d31:f0) 10.9.7 tco2_cnt?tco2 control register i/o address: tcobase +0ah attribute: r/w default value: 0008h size: 16-bit lockable: no power well: resume 10.9.8 tco_message1 and tc o_message2 registers i/o address: tcobase +0ch (message 1) attribute: r/w tcobase +0dh (message 2) default value: 00h size: 8-bit lockable: no power well: resume bit description 15:6 reserved 5:4 os_policy ? r/w. os-based software writes to these bits to select the policy that the bios will use after the pl atform resets due the wdt. the following convention is recommended for the bios and os: 00 = boot normally 01 = shut down 10 = don?t load os. hold in pre-boot state and use lan to determine next step 11 = reserved note: these are just scratchpad bits. they should not be reset when the tco logic resets the platform due to watchdog timer. 3 gpio11_alert_disable ? r/w. at reset (via rsmrst# asserted) this bit is set and gpio11 alerts are disabled. 0 = enable. 1 = disable gpio11/smbalert# as an alert source for the heartbeats and the smbus slave. 2:1 intrd_sel ? r/w. this field selects the action to take if the intruder# signal goes active. 00 = no interrupt or smi# 01 = interrupt (as sele cted by tco_int_sel). 10 = smi 11 = reserved 0 reserved bit description 7:0 tco_message[ n ] ? r/w. the value written into this register will be sent out via the smlink interface in the message field of th e alert on lan message. bios can write to this register to indicate its boot progress which ca n be monitored externally. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 462 intel ? ich7 family datasheet 10.9.9 tco_wdcnt?tco watc hdog control register offset address: tcobase + 0eh attribute: r/w default value: 00h size: 8 bits power well: resume 10.9.10 sw_irq_gen?software irq generation register offset address: tcobase + 10h attribute: r/w default value: 11h size: 8 bits power well: core 10.9.11 tco_tmr?tco timer initial value register i/o address: tcobase +12h attribute: r/w default value: 0004h size: 16-bit lockable: no power well: core bit description 7:0 watchdog status (wdstatus) ? r/w. the value written to this register will be sent in the alert on lan message on the smlink interface. it can be used by the bios or system management software to indicate more details on the boot progress. this register will be reset to the default of 00h based on rsmrst# (but not pci reset). bit description 7:2 reserved 1 irq12_cause ? r/w. the state of this bit is logically anded with the irq12 signal as received by the intel ? ich7?s serirq logic. this bit must be a 1 (default) if the ich7 is expected to receive irq12 asse rtions from a serirq device. 0 irq1_cause ? r/w. the state of this bit is logically anded with the irq1 signal as received by the ich7?s serirq logic. this bit must be a 1 (default) if the ich7 is expected to receive irq1 asse rtions from a serirq device. bit description 15:10 reserved 9:0 tco timer initial value ? r/w. value that is loaded into the timer each time the tco_rld register is written. values of 0000h or 0001h will be ignored and should not be attempted. the timer is clocked at a pproximately 0.6 seconds, and thus allows timeouts ranging from 1.2 second to 613. 8 seconds. note: the timer has an error of 1 tick (0.6s). the tco timer will only count down in the s0 state. free datasheet http://www..net/
intel ? ich7 family datasheet 463 lpc interface bridge registers (d31:f0) 10.10 general purpose i/o registers (d31:f0) the control for the general purpose i/o sign als is handled through a separate 64-byte i/o space. the base offset for this spac e is selected by the gpiobase register. gpio register i/o address map table 10-13. registers to control gpio address map gpiobase + offset mnemonic register name default access general registers 00h?03h gpio_use_sel gpio use select 1f3ff7ffh (desktop only) / 1f2af7ffh (mobile/ultra mobile only) r/w 04h?07h gp_io_sel gpio input/output select e0e8ffffh r/w 08h?0bh ? reserved ? ? 0ch?0fh gp_lvl gpio level for input or output 02fe0000h r/w 10h?13h reserved ? ? output control registers 14h?17h ? reserved ? ? 18h?1bh gpo_blink gpio bl ink enable 00040000h r/w 1ch?1fh ? reserved ? ? input control registers 20?2bh ? reserved ? ? 2c?2fh gpi_inv gpio signal invert 00000000h r/w 30h?33h gpio_use_sel2 gpio use select 2 [63:32] 000300ffh (desktop only) / 000300feh (mobile/ultra mobile only) r/w 34h?37h gp_io_sel2 gpio input/output select 2 [63:32] 000000f0h r/w 38h?3bh gp_lvl2 gpio level for input or output 2 [63:32] 00030003h r/w free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 464 intel ? ich7 family datasheet 10.10.1 gpio_use_sel?gpio use select register offset address: gpiobase + 00h attribute: r/w default value: 1f3ff7ffh (desktop only) size: 32-bit 1f2af7ffh (mobile/ultra mobile only) lockable: no power well: core for 0:7, 16:23, resume for 8:15, 24:31 10.10.2 gp_io_sel?gpio input/output select register offset address: gpiobase +04h attribute: r/w default value: e0e8ffffh size: 32-bit lockable: no power well: core for 0:7, 16:23, resume for 8:15, 24:31 bit description 31:0 gpio_use_sel[31:0] ? r/w. each bit in this regi ster enables the corresponding gpio (if it exists) to be used as a gp io, rather than for the native function. 0 = signal used as native function. 1 = signal used as a gpio. notes: 1. the following bits are always 1 because they are unmuxed: 6:10,12:15, 24:25 2. the following bits are not implemente d because they are determined by the desktop only /mobile only/ultra mobile configuration: 16, 18, 20, 32 3. if gpio[n] does not exist, then the bit in this register will always read as 0 and writes will have no effect. 4. after a full reset (rsmrst#) all multip lexed signals in the resume and core wells are configured as their default func tion. after just a pltrst#, the gpio in the core well are configured as their default function. 5. when configured to gpio mode, the mult iplexing logic will present the inactive state to native logic that uses the pin as an input. 6. all gpios are reset to the default state by cf9h reset except gpio24 bit description 31:0 gp_io_sel[31:0] ? r/w. when configured in na tive mode (gpio_use_sel[n] is 0), writes to these bits have no effect. the value reported in this register is undefined when programmed as native mode. 0 = output. the corresponding gpio signal is an output. 1 = input. the corresponding gpio signal is an input. free datasheet http://www..net/
intel ? ich7 family datasheet 465 lpc interface bridge registers (d31:f0) 10.10.3 gp_lvl?gpio level for input or output register offset address: gpiobase +0ch attribute: r/w default value: 02fe0000h size: 32-bit lockable: no power well: core for 0:7, 16:23, resume for 8:15, 24:31 10.10.4 gpo_blink?gpo b link enable register offset address: gpiobase +18h attribute: r/w default value: 00040000h size: 32-bit lockable: no power well: core for 0:7, 16:23, resume for 8:15, 24:31 note: (desktop only) gpio18 will blink by default i mmediately after reset. this signal could be connected to an led to indicate a failed bo ot (by programming bios to clear gp_blink18 after successful post). bit description 31:0 gp_lvl[31:0] ? r/w: if gpio[n] is programmed to be an output (via the corresponding bit in the gp_i o_sel register), then the corresponding gp_lvl[n] bit can be updated by software to drive a high or low value on the output pin. 1 = high, 0 = low. if gpio[n] is programmed as an input, then the corresponding gp_lvl bit reflects the state of the input signal (1 = high, 0 = low.) and writes will have no effect. when configured in native mode (gpio_use_ sel[n] is 0), writes to these bits have no effect. the value reported in this register is unde fined when programmed as native mode. bit description 31:0 gp_blink[31:0] ? r/w. the setting of this bit has no effect if the corresponding gpio signal is programmed as an input. 0 = the corresponding gpio will function normally. 1 = if the corresponding gpio is programmed as an output, the output signal will blink at a rate of approximately once per second. the high and low times have approximately 0.5 seconds each. the gp_lvl bit is not altered when this bit is set. the value of the corresponding gp_lvl bit remains unchanged during the blink process, and does not effect the blink in any way. the gp_lvl bit is not altered when programmed to blink. it wi ll remain at its previous value. these bits correspond to gpio in the resu me well. these bits revert to the default value based on rsmrst# or a write to the cf9h register (but not just on pltrst#). free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 466 intel ? ich7 family datasheet 10.10.5 gpi_inv?gpio sign al invert register offset address: gpiobase +2ch attribute: r/w default value: 00000000h size: 32-bit lockable: no power well: core for 0:7, 16:23, resume for 8:15, 24:31 10.10.6 gpio_use_sel2?gpio us e select 2 register[63:32] offset address: gpiobase +30h attribute: r/w default value: 000300ffh (desktop only) size: 32-bit 000300feh (mobile/ultra mobile only) lockable: no power well: cpu i/o for 17, core for 16, 7:0 bit description 31:0 gp_inv[n] ? r/w. input inversion: this bit only has effect if the corresponding gpio is used as an input and used by the gpe logic, where the polarity matters. when set to 1, then the gpi is invert ed as it is sent to the gpe logic that is using it. this bit has no effect on the value that is reported in the gp_lvl register. these bits are used to allow both active-low and active-high inputs to cause smi# or sci. note that in the s0 or s1 state, the input signal must be active for at least two pci clocks to ensure de tection by the intel ? ich7. in the s3, s4 or s5 states the input signal must be active for at least 2 rtc clocks to ensure detection. the setting of these bits has no effect if the corresponding gpio is programmed as an output. these bits correspond to gpi that are in the resume well, and will be reset to their default values by rsmrst# or by a write to the cf9h register. 0 = the corresponding gpi_sts bit is set when the ich7 detects the state of the input pin to be high. 1 = the corresponding gpi_sts bit is set when the ich7 detects the state of the input pin to be low. bit description 17:16, 7:0 gpio_use_sel2[49:48, 39:32] bits[17:16, 7:0] ? r/w. each bit in this register enables the corresponding gpio (if it exists) to be used as a gpio, rather than for the native function. 0 = signal used as native function. 1 = signal used as a gpio. after a full reset (rsmrst#), all multiplexed signals in the resume and core wells are configured as a gpio rather than as their native function. after just a pltrst#, the gpio in the core well are configured as gpio. notes: 1. the following bits are not implemente d because there is no corresponding gpio: 31:18, 15:8. 2. the following bits are not implemented because they are determined by the desktop/mobile/ultra mobile configuration: 0 free datasheet http://www..net/
intel ? ich7 family datasheet 467 lpc interface bridge registers (d31:f0) 10.10.7 gp_io_sel2?gpio in put/output select 2 register[63:32] offset address: gpiobase +34h attribute: r/w default value: 000000f0h size: 32-bit lockable: no power well: cpu i/o for 17, core for 16, 7:0 10.10.8 gp_lvl2?gpio level for input or output 2 register[63:32] offset address: gpiobase +38h attribute: r/w default value: 00030003h size: 32-bit lockable: no power well: cpu i/o for 17, core for 16:0 bit description 31:18, 15:8 always 0. no corresponding gpio. 17:16, 7:0 gp_io_sel2[49:48, 39:32] ? r/w. 0 = gpio signal is programmed as an output. 1 = corresponding gpio signal (if enab led in the gpio_use_sel2 register) is programmed as an input. bit description 31:18, 15:8 reserved. read-only 0 17:16, 7:0 gp_lvl[49:48, 39:32] ? r/w. if gpio[n] is programmed to be an output (via the corresponding bit in the gp_io_sel register), then the correspondi ng gp_lvl[n] bit can be updated by software to drive a high or low value on the output pin. 1 = high, 0 = low. if gpio[n] is programmed as an input, then the corresponding gp_l vl bit reflects the state of the input signal (1 = high, 0 = low.) and writes will have no effect. when configured in native mode (gpio_use_sel[n] is 0), writes to these bits have no effect. the value reported in this register is undefined when programmed as native mode. free datasheet http://www..net/
lpc interface bridge registers (d31:f0) 468 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 469 uhci controllers registers 11 uhci controllers registers 11.1 pci configuration registers (usb?d29:f0/f1/f2/f3) note: register address locations that are not shown in table 11-1 and should be treated as reserved (see section 6.2 for details). note: refer to the intel ? i/o controller hub 7 (ich 7) family specification update for the value of the revision id register table 11-1. uhci controller pci regist er address map (usb?d29:f0/f1/f2/f3) offset mnemonic register name function 0 default function 1 default function 2 default function 3 default type 00?01h vid vendor identification 8086h 8086h 8086h 8086h ro 02?03h did device identification see register description see register description see register description see register description ro 04?05h pcicmd pci command 0000h 0000h 0000h 0000h r/w, ro 06?07h pcists pci status 0280h 0280h 0280h 0280h r/wc, ro 08h rid revision identification see register description see register description see register description see register description ro 09h pi programming interface 00h 00h 00h 00h ro 0ah scc sub class code 03h 03h 03h 03h ro 0bh bcc base class code 0ch 0ch 0ch 0ch ro 0dh mlt master latency timer 00h 00h 00h 00h ro 0eh headtyp header type 80h 00h 00h 00h ro 20?23h base base address 00000001h 00000001h 00000001h 00000001h r/w, ro 2c?2dh svid subsystem vendor identification 0000h 0000h 0000h 0000h r/wo 2e?2fh sid subsystem identification 0000h 0000h 0000h 0000h r/wo 3ch int_ln interrupt line 00h 00h 00h 00h r/w 3dh int_pn interrupt pin see register description. see register description. see register description. see register description. ro 60h usb_relnum serial bus release number 10h 10h 10h 10h ro c0?c1h usb_legkey usb legacy keyboard/mouse control 2000h 2000h 2000h 2000h r/w, ro r/wc c4h usb_res usb resume enable 00h 00h 00h 00h r/w c8h cwp core well policy 00h 00h 00h 00h r/w free datasheet http://www..net/
uhci controllers registers 470 intel ? ich7 family datasheet 11.1.1 vid?vendor identi fication register (usb?d29:f0/f1/f2/f3) address offset: 00h ? 01h attribute: ro default value: 8086h size: 16 bits 11.1.2 did?device identi fication register (usb?d29:f0/f1/f2/f3) address offset: 02h ? 03h attribute: ro default value: uhci #1 = see bit description size: 16 bits uhci #2 = see bit description uhci #3 = see bit description uhci #4 = see bit description 11.1.3 pcicmd?pci command re gister (usb?d29:f0/f1/f2/ f3) address offset: 04h ? 05h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:0 vendor id ? ro. this is a 16-bit value assigned to intel bit description 15:0 device id ? ro. this is a 16-bit value assigned to the intel ? ich7 usb universal host controllers. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the device id register. bit description 15:11 reserved 10 interrupt disable ? r/w. 0 = enable. the function is able to generate its interrupt to the interrupt controller. 1 = disable. the function is not ca pable of generating interrupts. note: the corresponding interrupt status bit is not affected by th e interrupt enable. 9 fast back to back enable (fbe) ? ro. hardwired to 0. 8 serr# enable ? ro. reserved as 0. 7 wait cycle control (wcc) ? ro. hardwired to 0. 6 parity error response (per) ? ro. hardwired to 0. 5 vga palette snoop (vps) ? ro. hardwired to 0. 4 postable memory write enable (pmwe) ? ro. hardwired to 0. 3 special cycle en able (sce) ? ro. hardwired to 0. 2 bus master enable (bme) ? r/w. 0 = disable 1 = enable. intel ? ich7 can act as a master on the pci bus for usb transfers. 1 memory space enable (mse) ? ro. hardwired to 0. 0 i/o space enable (iose) ? r/w. this bit controls acce ss to the i/o space registers. 0 = disable 1 = enable accesses to the usb i/o registers. the base address register for usb should be programmed before this bit is set. free datasheet http://www..net/
intel ? ich7 family datasheet 471 uhci controllers registers 11.1.4 pcists?pci status register (usb?d29:f0/f1/f2/f3) address offset: 06h ? 07h attribute: r/wc, ro default value: 0280h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. 11.1.5 rid?revision identification register (usb?d29:f0/f1/f2/f3) offset address: 08h attribute: ro default value: see bit description size: 8 bits bit description 15 detected parity error (dpe) ? r/wc. 0 = no parity error detected. 1 = set when a data parity error data parity error is detected on writes to the uhci register space or on read completion s returned to the host controller. 14 reserved as 0b. read only. 13 received master abort (rma) ? r/wc. 0 = no master abort generated by usb. 1 = usb, as a master, gene rated a master abort. 12 reserved. always read as 0. 11 signaled target abort (sta) ? r/wc. 0 = intel ? ich7 did not terminate transaction fo r usb function with a target abort. 1 = usb function is targeted with a transaction that the ich7 terminates with a target abort. 10:9 devsel# timing status (dev_sts) ? ro. this 2-bit field defines the timing for devsel# assertion. these read only bits indicate the ic h7's devsel# timing when performing a positive decode. ich7 genera tes devsel# with medium timing for usb. 8 data parity error detected (dped) ? ro. hardwired to 0. 7 fast back to back capable (fb2bc) ? ro. hardwired to 1. 6 user definable features (u df) ? ro. hardwired to 0. 5 66 mhz capable ? ro. hardwired to 0. 4 capabilities list ? ro. hardwired to 0. 3 interrupt status ? ro. this bit reflects the state of this functi on?s interrupt at the input of the enable/disable logic. 0 = interrupt is de-asserted. 1 = interrupt is asserted. the value reported in this bit is independen t of the value in the interrupt enable bit. 2:0 reserved bit description 7:0 revision id ? ro. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the revision id register. free datasheet http://www..net/
uhci controllers registers 472 intel ? ich7 family datasheet 11.1.6 pi?programming interface register (usb?d29:f0/f1/f2/f3) address offset: 09h attribute: ro default value: 00h size: 8 bits 11.1.7 scc?sub class code register (usb?d29:f0/f1/f2/f3) address offset: 0ah attribute: ro default value: 03h size: 8 bits 11.1.8 bcc?base class code register (usb?d29:f0/f1/f2/f3) address offset: 0bh attribute: ro default value: 0ch size: 8 bits bit description 7:0 programming interface ? ro. 00h = no specific register level programming interface defined. bit description 7:0 sub class code (scc) ? ro. 03h = usb host controller. bit description 7:0 base class code (bcc) ? ro. 0ch = serial bus controller. free datasheet http://www..net/
intel ? ich7 family datasheet 473 uhci controllers registers 11.1.9 mlt?master latency timer register (usb?d29:f0/f1/f2/f3) address offset: 0dh attribute: ro default value: 00h size: 8 bits 11.1.10 headtyp?header type register (usb?d29:f0/f1/f2/f3) address offset: 0eh attribute: ro default value: fn 0: 80h size: 8 bits fn 1: 00h fn 2: 00h fn 3: 00h for functions 1, 2, and 3, this register is hardwired to 00h. for function 0, bit 7 is determined by the values in the usb function disable bits (11:8 of the function disable register chipset config registers:offset 3418h). bit description 7:0 master latency timer (mlt) ? ro. the usb co ntroller is implemented internal to the intel ? ich7 and not arbitrated as a pci device. therefore the device does not require a master latency timer. bit description 7 multi-function device ? ro. 0 = single-func tion device. 1 = multi-function device. since the upper functions in this device can be individually hidden, this bit is based on the function-disable bits in chipset co nfig space: offset 3418h as follows: 6:0 configuration layout. hardwired to 00h, whic h indicates the standard pci configuration layout. d29:f7_disa ble (bit 15) d29:f3_disa ble (bit 11) d29:f2_disa ble (bit10) d29:f1_disa ble (bit 9) multi-function device (this bit) 0b x x x 1 x 0b x x 1 x x 0b x 1 x x x 0b 1 1 1 1 1 0 free datasheet http://www..net/
uhci controllers registers 474 intel ? ich7 family datasheet 11.1.11 base?base address register (usb?d29:f0/f1/f2/f3) address offset: 20h ? 23h attribute: r/w, ro default value: 00000001h size: 32 bits 11.1.12 svid ? subsys tem vendor identi fication register (usb?d29:f0/f1/f2/f3) address offset: 2ch?2dh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core 11.1.13 sid ? subsystem id entification register (usb?d29:f0/f1/f2/f3) address offset: 2eh ? 2fh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core bit description 31:16 reserved 15:5 base address ? r/w. bits [15:5] correspond to i/o address signals ad [15:5], respectively. this gives 32 bytes of relocatable i/o space. 4:1 reserved 0 resource type indicator (rte) ? ro. hardwire d to 1 to indicate that the base address field in this register maps to i/o space. bit description 15:0 subsystem vendor id (svid) ? r/wo. bios sets the value in this register to identify the subsystem vendor id. the usb_svid register, in combination with the usb subsystem id register, enable s the operating system to distinguish each subsystem from the others. note: the software can write to this register only once per core well reset. writes should be done as a single, 16-bit cycle. bit description 15:0 subsystem id (sid) ? r/wo. bios sets the value in this register to identify the subsystem id. the sid register, in combination with the svid register (d29:f0/f1/f2/ f3:2c), enables the operating system to di stinguish each subsystem from other(s). the value read in this register is the same as what was written to the ide_sid register. note: the software can write to this register only once per core well reset. writes should be done as a single, 16-bit cycle. free datasheet http://www..net/
intel ? ich7 family datasheet 475 uhci controllers registers 11.1.14 int_ln?interrupt line register (usb?d29:f0/f1/f2/f3) address offset: 3ch attribute: r/w default value: 00h size: 8 bits 11.1.15 int_pn?interrupt pin register (usb?d29:f0/f1/f2/f3) address offset: 3dh attribute: ro default value: function 0: see description size: 8 bits function 1: see description function 2: see description function 3: see description 11.1.16 usb_relnum?serial bus release number register (usb?d29:f0/f1/f2/f3) address offset: 60h attribute: ro default value: 10h size: 8 bits bit description 7:0 interrupt line (int_ln) ? ro. this data is not used by the intel ? ich7. it is to communicate to software the interrupt line that the interrupt pin is connected to. bit description 7:0 interrupt line (int_ln) ? ro. this value tells the software which interrupt pin each usb host controller uses. the upper 4 bits are hardwired to 0000b; the lower 4 bits are determine by the interrupt pi n default values that are programmed in the memory- mapped configuration space as follows: function 0 d29ip.u0p (chipset config registers:offset 3108:bits 3:0) function 1 d29ip.u1p (chipset config registers:offset 3108:bits 7:4) function 2 d29ip.u2p (chipset config registers:offset 3108:bits 11:8) function 3 d29ip.u3p (chipset config registers:offset 3108:bits 15:12) note: this does not determine the mapping to the pirq pins. bit description 7:0 serial bus release number ? ro. 10h = usb controller supports the usb specification , release 1.0. free datasheet http://www..net/
uhci controllers registers 476 intel ? ich7 family datasheet 11.1.17 usb_legkey?usb legacy keyboard/mouse control register (usb?d29:f0/f1/f2/f3) address offset: c0h ? c1h attribute: r/w, r/wc, ro default value: 2000h size: 16 bits this register is implemented separately in each of the usb uhci functions. however, the enable and status bits for the trapping logic are or?d and shared, respectively, since their functionality is not spec ific to any one host controller. bit description 15 smi caused by end of pa ss-through (smibyendps) ? r/wc. this bit indicates if the event occurred. note that even if the co rresponding enable bit is not set in bit 7, then this bit will still be active. it is up to the smm code to use the enable bit to determine the exact cause of the smi#. 0 = software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = event occurred 14 reserved 13 pci interrupt enable (usbpirqen) ? r/w. this bit is used to prevent the usb controller from generating an interrupt due to transactions on its ports. note that, when disabled, it will probably be configured to generate an smi using bi t 4 of this register. default to 1 for compatibilit y with older usb software. 0 = disable 1 = enable 12 smi caused by usb interrupt (smibyusb) ? ro. this bit indicates if an interrupt event occurred from this controller. the inte rrupt from the controller is taken before the enable in bit 13 has any effect to create this read-only bit. no te that even if the corresponding enable bit is not set in bit 4, this bit may still be active. it is up to the smm code to use the enable bit to determine the exact cause of the smi#. 0 = software should clear the interrupts via th e usb controllers. writing a 1 to this bit will have no effect. 1 = event occurred. 11 smi caused by port 64 write (trapby64w) ? r/wc. this bit indicates if the event occurred. note that even if th e corresponding enable bit is not set in bit 3, this bit will still be active. it is up to the smm code to use the enable bit to determine the exact cause of the smi#. note that the a20gate pass-through logic allows specific port 64h writes to complete without setting this bit. 0 = software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = event occurred. 10 smi caused by port 64 read (trapby64r) ? r/wc. this bit indicates if the event occurred. note that even if th e corresponding enable bit is not set in bit 2, this bit will still be active. it is up to the smm code to use the enable bit to determine the exact cause of the smi#. 0 = software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = event occurred. 9 smi caused by port 60 write (trapby60w) ? r/wc. this bit indicates if the event occurred. note that even if th e corresponding enable bit is not set in bit 1, this bit will still be active. it is up to the smm code to use the enable bit to determine the exact cause of the smi#. note that the a20gate pass-through logic allows specific port 64h writes to complete without setting this bit. 0 = software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = event occurred. free datasheet http://www..net/
intel ? ich7 family datasheet 477 uhci controllers registers 8 smi caused by port 60 read (trapby60r) ? r/wc. this bit indicates if the event occurred. note that even if the corresponding enable bit is not set in the bit 0, then this bit will still be active. it is up to the sm m code to use the enable bit to determine the exact cause of the smi#. 0 = software clears this bit by writing a 1 to the bit location in any of the controllers. 1 = event occurred. 7 smi at end of pass-through enable (smiatendps) ? r/w. this bit enables smi at the end of a pass-through. this can occur if an smi is generated in the middle of a pass-through, and needs to be serviced later. 0 = disable 1 = enable 6 pass through state (pstate) ? ro. 0 = if software needs to reset this bit, it should set bit 5 in all of the host controllers to 0. 1 = indicates that the state machine is in the middle of an a20gate pass-through sequence. 5 a20gate pass-through enable (a20passen) ? r/w. 0 = disable. 1 = enable. allows a20gate sequence pass-through function. a specific cycle sequence involving writes to port 60h and 64h does no t result in the setting of the smi status bits. 4 smi on usb irq enable (usbsmien) ? r/w. 0 = disable 1 = enable. usb interrupt will cause an smi event. 3 smi on port 64 writes enable (64wen) ? r/w. 0 = disable 1 = enable. a 1 in bit 11 will cause an smi event. 2 smi on port 64 reads enable (64ren) ? r/w. 0 = disable 1 = enable. a 1 in bit 10 will cause an smi event. 1 smi on port 60 writes enable (60wen) ? r/w. 0 = disable 1 = enable. a 1 in bit 9 will cause an smi event. 0 smi on port 60 reads enable (60ren) ? r/w. 0 = disable 1 = enable. a 1 in bit 8 will cause an smi event. bit description free datasheet http://www..net/
uhci controllers registers 478 intel ? ich7 family datasheet 11.1.18 usb_res?usb resu me enable register (usb?d29:f0/f1/f2/f3) address offset: c4h attribute: r/w default value: 00h size: 8 bits 11.1.19 cwp?core well policy register (usb?d29:f0/f1/f2/f3) address offset: c8h attribute: r/w default value: 00h size: 8 bits bit description 7:2 reserved 1 port1en ? r/w. enable port 1 of the usb controller to respond to wakeup events. 0 = the usb controller will not look at this port for a wakeup event. 1 = the usb controller will monitor this port for remote wakeup and connect/ disconnect events. 0 port0en ? r/w. enable port 0 of the usb controller to respond to wakeup events. 0 = the usb controller will not look at this port for a wakeup event. 1 = the usb controller will monitor this port for remote wakeup and connect/ disconnect events. bit description 7:1 reserved 0 static bus master status policy enable (sbmspe) ? r/w. 0 = the uhci host controller dynamically sets the bus master status bit (power management 1 status register,[pmbase +00h], bit 4) based on the memory accesses that are sc heduled. for mobile/u ltra mobile only, the default setting provides a more accurate in dication of snoopable memory accesses in order to help with software-invoked entry to c3 and c4 power states. 1 = the uhci host controller statically fo rces the bus master status bit in power management space to 1 whenever the hchalted bit (usb status register, base+02h, bit 5) is cleared. note: the pci power management registers are enabled in the pci device 31: function 0 space (pm_io_en), and can be moved to any i/o location (128-byte aligned). free datasheet http://www..net/
intel ? ich7 family datasheet 479 uhci controllers registers 11.2 usb i/o registers some of the read/write register bits that deal with changing the state of the usb hub ports function such that on read back they reflect the current state of the port, and not necessarily the state of the last write to the register. this allows the software to poll the state of the port and wait until it is in the proper state before proceeding. a host controller reset, global reset, or port rese t will immediately terminate a transfer on the affected ports and disable the port. this affects the usbcmd register, bit 4 and the portsc registers, bits [12,6,2]. see individual bit descriptions for more detail. notes: 1. these registers are word writable only. byte writes to these registers have unpredictable effects. table 11-2. usb i/o registers base + offset mnemonic register name default type 00?01h usbcmd usb command 0000h r/w 02?03h usbsts usb status 0020h r/wc 04?05h usbintr usb interrupt enable 0000h r/w 06?07h frnum frame number 0000h r/w (see note 1) 08?0bh frbaseadd frame list base address undefined r/w 0ch sofmod start of frame modify 40h r/w 0d?0fh ? reserved ? ? 10?11h portsc0 port 0 status/control 0080h r/wc, ro, r/w (see note 1) 12?13h portsc1 port 1 status/control 0080h r/wc, ro, r/w (see note 1) free datasheet http://www..net/
uhci controllers registers 480 intel ? ich7 family datasheet 11.2.1 usbcmd?usb command register i/o offset: base + (00h ? 01h) attribute: r/w default value: 0000h size: 16 bits the command register indicates the command to be executed by the serial bus host controller. writing to the register causes a command to be executed. the table following the bit description provides additi onal information on the operation of the run/stop and debug bits. bit description 15:7 reserved 8 loop back test mode ? r/w. 0 = disable loop back test mode. 1 = intel ? ich7 is in loop back test mode. wh en both ports are connected together, a write to one port will be se en on the other port and the data will be stored in i/o offset 18h. 7 max packet (maxp) ? r/w. this bit selects the maximum packet size that can be used for full speed bandwidth re clamation at the end of a fram e. this value is used by the host controller to determine whether it should initiate another transaction based on the time remaining in the sof counter. us e of reclamation packets larger than the programmed size will cause a babble error if executed during the critical window at frame end. the babble error results in the of fending endpoint being st alled. software is responsible for ensuring that any packet which could be executed under bandwidth reclamation be within this size limit. 0 = 32 bytes 1 = 64 bytes 6 configure flag (cf) ? r/w. this bit has no effect on the hardware. it is provided only as a semaphore service for software. 0 = indicates that software has not co mpleted host controller configuration. 1 = hcd software sets this bit as the last action in its process of configuring the host controller. 5 software debug (swdbg) ? r/w. the swdbg bit must only be manipulated when the controller is in the stopped state. this can be determined by checking the hchalted bit in the usbsts register. 0 = normal mode. 1 = debug mode. in sw debug mode, the host controller clears th e run/stop bit after the completion of each usb transaction. the next transaction is executed when software sets the run/stop bit back to 1. 4 force global resume (fgr) ? r/w. 0 = software resets this bit to 0 after 20 ms has elapsed to stop sending the global resume signal. at that time all usb devices should be ready for bus activity. the 1 to 0 transition causes the port to send a low speed eop signal. this bit will remain a 1 until the eop has completed. 1 = host controller sends the global resume si gnal on the usb, and sets this bit to 1 when a resume event (connect, disconnect, or k-state) is detected while in global suspend mode. free datasheet http://www..net/
intel ? ich7 family datasheet 481 uhci controllers registers 3 enter global suspend mode (egsm) ? r/w. 0 = software resets this bit to 0 to come ou t of global suspend mode. software writes this bit to 0 at the same time that force global resume (bit 4) is written to 0 or after writing bit 4 to 0. 1 = host controller enters the global suspend mode. no usb transactions occur during this time. the host controll er is able to receive re sume signals from usb and interrupt the system. software must ensure that the run/stop bit (bit 0) is cleared prior to setting this bit. 2 global reset (greset) ? r/w. 0 = this bit is reset by the software after a minimum of 10 ms has elapsed as specified in chapter 7 of th e usb specification. 1 = global reset. the host controller sends the global reset signal on the usb and then resets all its logic, including the internal hub registers. the hub registers are reset to their power on state. chip hardware re set has the same effe ct as global reset (bit 2), except that the host controller does not send the global reset on usb. 1 host controller reset (hcreset) ? r/w. the effects of hcreset on hub registers are slightly different from chip hardware reset and global usb reset. the hcreset affects bits [8,3:0] of the po rt status and control regist er (portsc) of each port. hcreset resets the state machines of the host controller including the connect/ disconnect state machine (one for each port). when the connect/disconnect state machine is reset, the output that signals connect/disconnect are negated to 0, effectively signalin g a disconnect, even if a device is attached to the port. this virtual disconnect causes the port to be disabled. this disconnec t and disabling of the port causes bit 1 (connect status change) and bit 3 (port enable/disable change) of the portsc (d29:f0/f1/f2/f3:base + 10h) to get set. the disconnect also causes bit 8 of portsc to reset. about 64 bit times after hcreset goes to 0, the connect and low- speed detect will take place, and bits 0 and 8 of the port sc will change accordingly. 0 = reset by the host controller wh en the reset process is complete. 1 = reset. when this bit is set, the host controller module re sets its inte rnal timers, counters, state machines, etc. to their in itial value. any transaction currently in progress on usb is im mediately terminated. 0 run/stop (rs) ? r/w. when set to 1, the ich7 proceeds with execution of the schedule. the ich7 continues execution as long as this bit is set. when this bit is cleared, the ich7 completes the current transaction on the usb and then halts. the hc halted bit in the status register indicates when the host controller has finished the transaction and has entered the stopped state. the host contro ller clears this bit when the following fatal errors occur: cons istency check failure, pci bus errors. 0 = stop 1 = run note: this bit should only be cleared if there are no active transaction descriptors in the executable schedule or software will reset the host controller prior to setting this bit again. bit description free datasheet http://www..net/
uhci controllers registers 482 intel ? ich7 family datasheet when the usb host controller is in software debug mode (usbcmd register bit 5=1), the single stepping software debug operation is as follows: to enter software debug mode: 1. hcd puts host controller in stop state by setting the run/stop bit to 0. 2. hcd puts host controller in debug mode by setting the swdbg bit to 1. 3. hcd sets up the correct command list and start of frame value for starting point in the frame list single step loop. 4. hcd sets run/stop bit to 1. 5. host controller executes next active td, sets run/stop bit to 0, and stops. 6. hcd reads the usbcmd register to check if the single step execution is completed (hchalted=1). 7. hcd checks results of td execution. go to step 4 to execute next td or step 8 to end software debug mode. 8. hcd ends software debug mode by setting swdbg bit to 0. 9. hcd sets up normal command list and frame list table. 10. hcd sets run/stop bit to 1 to resume normal schedule execution. in software debug mode, when the run/stop bit is set, the host controller starts. when a valid td is found, the run/stop bi t is reset. when the td is finished, the hchalted bit in the usbsts register (bit 5) is set. the sw debug mode skips over inactive tds an d only halts after an active td has been executed. when the last active td in a frame has been executed, the host controller waits until the next sof is sent and then fetc hes the first td of the next frame before halting. table 11-3. run/stop, debug bit interaction sw dbg (bit 5), run/stop (bit 0) operation swdbg (bit 5) run/stop (bit 0) description 0 0 if executing a command, the host controller completes the command and then stops. the 1.0 ms frame counter is reset and command list execution resumes from start of fr ame using the frame list pointer selected by the current value in the frnum register. (while run/ stop=0, the frnum register (d29:f0/f1/f2/f3:base + 06h) can be reprogrammed). 0 1 execution of the command list resumes from start of frame using the frame list pointer selected by the current value in the frnum register. the host controller remains running until the run/stop bit is cleared (by software or hardware). 1 0 if executing a command, the host controller completes the command and then stops and the 1.0 ms fram e counter is frozen at its current value. all status are preserved. the host controller begins execution of the command list from where it le ft off when the run/stop bit is set. 1 1 execution of the command list resumes from where the previous execution stopped. the run/stop bit is set to 0 by the host controller when a td is being fetched. this ca uses the host controller to stop again after the execution of the td (single step). when the host controller has completed execution, the hc halted bit in the status register is set. free datasheet http://www..net/
intel ? ich7 family datasheet 483 uhci controllers registers this hchalted bit can also be used outside of software debug mode to indicate when the host controller has detected the run/stop bit and has completed the current transaction. outside of the software debug mode, setting the run/stop bit to 0 always resets the sof counter so that when the run/stop bit is set the host controller starts over again from the frame list location pointed to by the frame list index (see frnum register description) rather than continuing where it stopped. 11.2.2 usbsts?usb status register i/o offset: base + (02h ? 03h) attribute: r/wc default value: 0020h size: 16 bits this register indicates pending interrupts and various states of the host controller. the status resulting from a transaction on the serial bus is not indicated in this register. bit description 15:6 reserved 5 hchalted ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = the host controller has stopped executing as a result of the r un/stop bit being set to 0, either by software or by the host controller hardware (debug mode or an internal error). default. 4 host controller process error ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = the host controller has detected a fatal e rror. this indicates that the host controller suffered a consistency check failure while processing a transfer descriptor. an example of a consistency check failure woul d be finding an invalid pid field while processing the packet header portion of the td. when this e rror occurs, the host controller clears the run/stop bit in the command register (d29:f0/f1/f2/ f3:base + 00h, bit 0) to prevent further schedule execution. a hardware interrupt is generated to the system. 3 host system error ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = a serious error occurred duri ng a host system access involving the host controller module. in a pci system, conditions that se t this bit to 1 include pci parity error, pci master abort, and pci target abort. wh en this error occurs, the host controller clears the run/stop bit in the command re gister to prevent further execution of the scheduled tds. a hardware inte rrupt is generated to the system. 2 resume detect (rsm_det) ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = the host controller received a ?resume? signal from a usb device. this is only valid if the host controller is in a global suspend state (command register, d29:f0/ f1/f2/f3:base + 00h, bit 3 = 1). 1 usb error interrupt ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = completion of a usb transaction resulted in an error condition (e.g., error counter underflow). if the td on which the erro r interrupt occurred al so had its ioc bit (d29:f0/f1/f2/f3:base + 04h, bit 2) set, both this bit and bit 0 are set. 0 usb interrupt (usbint) ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = the host controller sets this bit when the cause of an interrupt is a completion of a usb transaction whose transfer descriptor had its ioc bit set. also set when a short packet is detected (actual length field in td is less than maximum length field in td), and short packet detection is enabled in that td. free datasheet http://www..net/
uhci controllers registers 484 intel ? ich7 family datasheet 11.2.3 usbintr?usb interrupt enable register i/o offset: base + (04h ? 05h) attribute: r/w default value: 0000h size: 16 bits this register enables and disables reporting of the corresponding interrupt to the software. when a bit is set and the corresponding interrupt is active, an interrupt is generated to the host. fatal errors (host controller processor error, (d29:f0/f1/f2/ f3:base + 02h, bit 4, usbsts register) cann ot be disabled by the host controller. interrupt sources that are disabled in this register still appear in the status register to allow the software to poll for events. 11.2.4 frnum?frame number register i/o offset: base + (06 ? 07h) attribute: r/w (writes must be word writes) default value: 0000h size: 16 bits bits [10:0] of this register contain the current frame number that is included in the frame sof packet. this register reflects the count value of the internal frame number counter. bits [9:0] are used to select a particular entry in the frame list during scheduled execution. this register is updated at the end of each frame time. this register must be written as a word. by te writes are not supported. this register cannot be written unless the host controller is in the stopped state as indicated by the hchalted bit (d29:f0/f1/f2/f3:base + 02h, bit 5). a write to this register while the run/stop bit is set (d29:f0/f1/f2/f3:base + 00h, bit 0) is ignored. bit description 15:5 reserved 4 scratchpad (sp) ? r/w. 3 short packet interrupt enable ? r/w. 0 = disabled. 1 = enabled. 2 interrupt on complete enable (ioc) ? r/w. 0 = disabled. 1 = enabled. 1 resume interrupt enable ? r/w. 0 = disabled. 1 = enabled. 0 timeout/crc interrupt enable ? r/w. 0 = disabled. 1 = enabled. bit description 15:11 reserved 10:0 frame list current index/frame number ? r/w. this field provides the frame number in the sof frame. the value in this register increments at the end of each time frame (approximately every 1 ms). in addition, bits [9:0] are used for the frame list current index and correspond to memory address signals [11:2]. free datasheet http://www..net/
intel ? ich7 family datasheet 485 uhci controllers registers 11.2.5 frbaseadd?frame list base address register i/o offset: base + (08h ? 0bh) attribute: r/w default value: undefined size: 32 bits this 32-bit register contains the beginning address of the frame list in the system memory. hcd loads this register prior to starting the schedule execution by the host controller. when written, only the upper 20 bits are used. the lower 12 bits are written as 0?s (4-kb alignment). the contents of th is register are combined with the frame number counter to enable the host contro ller to step through the frame list in sequence. the two least significant bits are always 00. this requires dword-alignment for all list entries. this configuration supports 1024 frame list entries. bit description 31:12 base address ? r/w. these bits correspond to memory address signals [31:12], respectively. 11:0 reserved free datasheet http://www..net/
uhci controllers registers 486 intel ? ich7 family datasheet 11.2.6 sofmod?start of frame modify register i/o offset: base + (0ch) attribute: r/w default value: 40h size: 8 bits this 1-byte register is used to modify the value used in the generation of sof timing on the usb. only the 7 least significant bits are used. when a new value is written into these 7 bits, the sof timing of the next frame will be adjusted. this feature can be used to adjust out any offset from the clock source that generates the clock that drives the sof counter. this register can also be used to maintain real time synchronization with the rest of the system so that all devices have the same sense of real time. using this register, the frame length can be adju sted across the full range required by the usb specification. its initial programmed value is system dependent based on the accuracy of hardware usb clock and is initialized by system bios. it may be reprogrammed by usb system software at any time. its value will take effect from the beginning of the next frame. this register is reset upon a host controller reset or global reset. software must maintain a copy of its value for reprogramming if necessary. bit description 7 reserved 6:0 sof timing value ? r/w. guidelines for the modifica tion of frame time are contained in chapter 7 of the usb specification. the sof cycle time (number of sof counter clock periods to generate a sof frame length) is equal to 11936 + value in this field. the default value is decimal 64 which gives a sof cycle time of 12000. for a 12 mhz sof counter clock input, this produces a 1 ms frame period. the following table indicates what sof timing value to program into this field for a certain frame period. frame lengt h ( # 12 mhz clocks) (decimal) sof t i m i ng va l ue ( t hi s reg i ster ) (decimal) 11936 0 11937 1 ? ? 11999 63 12000 64 12001 65 ? ? 12062 126 12063 127 free datasheet http://www..net/
intel ? ich7 family datasheet 487 uhci controllers registers 11.2.7 portsc[0,1]?port stat us and control register i/o offset: port 0/2/4/6: base + (10h ? 11h) attribute: r/wc, ro, port 1/3/5/7: base + (12h ? 13h) r/w (word writes only) default value: 0080h size: 16 bits note: for function 0, this applies to ich7 usb port s 0 and 1; for function 1, this applies to ich7 usb ports 2 and 3; for function 2, this applies to ich7 usb ports 4 and 5; and for function 3, this applies to ich7 usb ports 6 and 7. after a power-up reset, global reset, or host controller reset, the initial conditions of a port are: no device connected, port disabled, and the bus line status is 00 (single- ended 0). port reset and enable sequence when software wishes to reset a usb device it will assert the port reset bit in the port status and control register. the minimum reset signaling time is 10 ms and is enforced by software. to complete the reset sequence, software clears the port reset bit. the intel uhci controller must re-detect the port connect after reset signaling is complete before the controller will allow the port enable bit to de set by software. this time is approximately 5.3 us. software has several possible options to meet the timing requirement and a partial list is enumerated below: ? iterate a short wait, setting the port enab le bit and reading it back to see if the enable bit is set. ? poll the connect status bit and wait for the hardware to recognize the connect prior to enabling the port. ? wait longer than the hardware detect time after clearing the port reset and prior to enabling the port. bit description 15:13 reserved ? ro. 12 suspend ? r/w this bit should not be written to a 1 if global suspend is active (bit 3=1 in the usbcmd register). bit 2 and bit 12 of this register defi ne the hub states as follows: when in suspend state, downst ream propagation of data is blocked on this port, except for single-ended 0 resets (global reset and po rt reset). the blocking occurs at the end of the current transaction, if a transaction wa s in progress when this bit was written to 1. in the suspend state, the port is sensit ive to resume detectio n. note that the bit status does not change until the port is suspended and th at there may be a delay in suspending a port if there is a transa ction currently in pr ogress on the usb. 1 = port in suspend state. 0 = port not in suspend state. note: normally, if a transaction is in progress when this bit is set, the port will be suspended when the current transaction completes. however, in the case of a specific error condition (out tr ansaction with babble), the intel ? ich7 may 11 overcurrent indicator ? r/wc. set by hardware. 0 = software clears this bit by writing a 1 to it. 1 = overcurrent pin has gone from in active to active on this port. bits [12,2] hub state x,0 disable 0, 1 enable 1, 1 suspend free datasheet http://www..net/
uhci controllers registers 488 intel ? ich7 family datasheet 10 overcurrent active ? ro. this bit is set and cleared by hardware. 0 = indicates that the overcurre nt pin is inactive (high). 1 = indicates that the overcu rrent pin is active (low). 9 port reset ? r/w 0 = port is not in reset. 1 = port is in reset. when set, the port is disabled and sends the usb reset signaling. 8 low speed device attached (ls) ? ro 0 = full speed device is attached. 1 = low speed device is attached to this port. 7 reserved ? ro. always read as 1. 6 resume detect (rsm_det) ? r/w. software sets this bit to a 1 to drive resume signaling. the host controller se ts this bit to a 1 if a j-to-k transition is de tected for at least 32 microseconds while the port is in the suspend state. the ich7 will then reflect the k-state back onto the bus as long as the bit remains a 1, and the port is still in the suspend state (bit 12,2 are ?11?). writing a 0 (from 1) causes the port to send a low speed eop. this bit will remain a 1 until the eop has completed. 0 = no resume (k-state) de tected/driven on port. 1 = resume detected/driven on port. 5:4 line status ? ro these bits reflect the d+ (bit 4) an d d? (bit 5) signals lines? logical levels. these bits are used for fault detect an d recovery as well as for usb diagnostics. this field is updated at eo f2 time (see chapter 11 of the usb specification). 3 port enable/disable change ? r/wc for the root hub, this bit gets set only when a port is disabled due to disc onnect on that port or due to the appropriate conditions existing at the eof2 point (see chapter 11 of the usb specification). 0 = no change. software clears this bi t by writing a 1 to the bit location. 1 = port enabled/disabled status has changed. 2 port enabled/disabled (port_en) ? r/w ports can be enabled by host software only. ports can be disabled by either a faul t condition (disconnect event or other fault condition) or by host software . note that the bit status does not change until the port state actually changes and that there may be a delay in disabling or enabling a port if there is a transaction currently in progress on the usb. 0 = disable 1 = enable 1 connect status change ? r/wc this bit indicates that a change has occurred in the port?s current connect status (see bit 0). the hub device se ts this bit for any changes to the port device connect status, even if system software has not cleared a connect status change. if, for example, the insert ion status changes twice before system software has cleared th e changed condition, hub hardware will be setting? an already- set bit (i.e., the bit will remain set). however, the hub transfers the change bit only once when the host controller requests a da ta transfer to the status change endpoint. system software is re sponsible for determining state change history in such a case. 0 = no change. software clears th is bit by writing a 1 to it. 1 = change in current connect status. 0 current connect status ? ro this value reflects the current state of the port, and may not correspond directly to the event th at caused the connect status change bit (bit 1) to be set. 0 = no device is present. 1 = device is present on port. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 489 sata controller registers (d31:f 2) (desktop and mobile only) 12 sata controller registers (d31:f2) (desktop and mobile only) note: sata is not supported on ich7-u ultra mobile. 12.1 pci configuration registers (sata?d31:f2) note: address locations that are not shown should be treated as reserved. all of the sata registers are in the core well. none of the registers can be locked. table 12-1. sata controller pci register address map (sata?d31:f2) (sheet 1 of 2) offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description. ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 02b0h r/wc, ro 08h rid revision identification see register description. ro 09h pi programming interface see register description. see register description 0ah scc sub class code see register description see register description 0bh bcc base class code 01h ro 0dh pmlt primary master latency timer 00h ro 10h?13h pcmd_bar primary command block base address 00000001h r/w, ro 14h?17h pcnl_bar primary control block base address 00000001h r/w, ro 18h?1bh scmd_bar secondary command block base address 00000001h r/w, ro 1ch?1fh scnl_bar secondary control block base address 00000001h r/w, ro 20h?23h bar legacy bus master base address 00000001h r/w, ro 24h?27h abar ahci base address 00000000h see register description 2ch?2dh svid subsystem vendor identification 0000h r/wo 2eh?2fh sid subsystem identification 0000h r/wo 34h cap capabilities pointer 80h ro 3ch int_ln interrupt line 00h r/w free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 490 intel ? ich7 family datasheet note: the ich7 sata controller is not arbitrated as a pci device; therefore, it does not need a master latency timer. 3dh int_pn interrupt pin see register description. ro 40h?41h ide_timp primary ide timing 0000h r/w 42h?43h ide_tims secondary ide timing 0000h r/w 44h sidetim slave ide timing 00h r/w 48h sdma_cnt synchronous dma control 00h r/w 4ah?4bh sdma_tim synchronous dma timing 0000h r/w 54h?57h ide_config ide i/o configuration 00000000h r/w 70h?71h pid pci power management capability id see register description ro 72h?73h pc pci power management capabilities 4002h ro 74h?75h pmcs pci power management control and status 0000h r/w, ro, r/wc 80h?81h msici message signaled in terrupt capability id 7005h ro 82h?83h msimc message signaled interrupt message control 0000h ro, r/w 84h?87h msima message signaled interrupt message address 00000000h ro, r/w 88h?89h msimd message signaled interrupt message data 0000h r/w 90h map address map 00h r/w 92h?93h pcs port control and status 0000h r/w, ro, r/wc 94h?97h sir sata initialization register 00000000h r/w a0h siri sata indexed registers index 00h r/w a4h strd sata indexed register data xxxxxxxxh r/w a8h?abh scap0 sata capability register 0 00100012h ro ach?afh scap1 sata capability register 1 00000048h ro c0h atc apm trapping control 00h r/w c4h ats atm trapping status 00h r/wc d0h?d3h sp scratch pad 00000000h r/w e0h?e3h bfcs bist fis control/status 00000000h r/w, r/wc e4h?e7h bftd1 bist fis transmit data, dw1 00000000h r/w e8h?ebh bftd2 bist fis transmit data, dw2 00000000h r/w table 12-1. sata controller pci register address map (sata?d31:f2) (sheet 2 of 2) offset mnemonic register name default type free datasheet http://www..net/
intel ? ich7 family datasheet 491 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.1 vid?vendor identificati on register (sata?d31:f2) offset address: 00h ? 01h attribute: ro default value: 8086h size: 16 bit lockable: no power well: core 12.1.2 did?device identificati on register (sata?d31:f2) offset address: 02h ? 03h attribute: ro default value: see bit description size: 16 bit lockable: no power well: core 12.1.3 pcicmd?pci command register (sata?d31:f2) address offset: 04h ? 05h attribute: ro, r/w default value: 0000h size: 16 bits bit description 15:0 vendor id ? ro. this is a 16-bit value assigned to intel. intel vid = 8086h bit description 15:0 device id ? ro. this is a 16-bit value assigned to the intel ? ich7 sata controller. note: the value of this field will change dependent upon the value of the map register. refer to the intel ? i/o controller hub 7 (ich 7) family specification update and section 12.1.33 bit description 15:11 reserved 10 interrupt disable ? r/w. this disables pin-based intx# interrupts. this bit has no effect on msi operation. 0 = internal intx# messages are generated if there is an interrupt and msi is not enabled. 1 = internal intx# messages will not be generated. 9 fast back to back enable (fbe) ? ro. reserved as 0. 8 serr# enable (serr_en) ? ro. reserved as 0. 7 wait cycle control (wcc) ? ro. reserved as 0. 6 parity error response (per) ? r/w. 0 = disabled. sata controller will not gene rate perr# when a data parity error is detected. 1 = enabled. sata controller will generate pe rr# when a data parity error is detected. 5 vga palette snoop (vps) ? ro. reserved as 0. 4 postable memory write enable (pmwe) ? ro. reserved as 0. 3 special cycle en able (sce) ? ro. reserved as 0. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 492 intel ? ich7 family datasheet 12.1.4 pcists ? pci status register (sata?d31:f2) address offset: 06h ? 07h attribute: r/wc, ro default value: 02b0h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. 2 bus master enable (bme) ? r/w. this bit controls the ich7?s ability to act as a pci master for ide bus master transfers. this bit does not impact the generation of completions for split transaction commands. 1 intel ? ich7r/ich7dh/ich7-m/ich7-m dh only: memory space enable (mse) ? r/w / ro. this bit contro ls access to the sata controller?s target memory space (for ahci). note: when map.mv (offset 90:bits 1:0) is not 00h, this register is read only (ro). software is responsible for clearing th is bit before entering combined mode. ich7 only: for the 82801GB ich7, this bit is ro as 0, unless the scrae bit (offset 94h:bit 9) is set. 0 i/o space enable (iose) ? r/w. this bit controls access to the i/o space registers. 0 = disables access to the legacy or native ide ports (both primar y and secondary) as well as the bus mast er i/o registers. 1 = enable. note that the base address regist er for the bus master registers should be programmed before this bit is set. bit description bit description 15 detected parity error (dpe) ? r/wc. 0 = no parity error detected by sata controller. 1 = sata controller detects a parity error on its interface. 14 signaled system error (sse) ? ro. reserved as 0. 13 received master abort (rma) ? r/wc. 0 = master abort not generated. 1 = sata controller, as a master , generated a master abort. 12 reserved as 0 ? ro. 11 signaled target abort (sta) ? ro. reserved as 0. 10:9 devsel# timing status (dev_sts) ? ro. 01 = hardwired; controls the devi ce select time for the sata controller?s pci interface. 8 data parity error detected (dped) ? ro. for intel ? ich7, this bit can only be set on read completions rece ived from sibus where there is a parity error. 0 = data parity error not detected. 1 = sata controller, as a master, either detect s a parity error or sees the parity error line asserted, and the parity error response bit (bit 6 of the command register) is set. 7 fast back to back capable (fb2bc) ? ro. reserved as 1. 6 user definable features (udf) ? ro. reserved as 0. 5 66mhz capable (66mhz_cap) ? ro. reserved as 1. free datasheet http://www..net/
intel ? ich7 family datasheet 493 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.5 rid?revision identificati on register (sata?d31:f2) offset address: 08h attribute: ro default value: see bit description size: 8 bits 12.1.6 pi?programmin g interface register (sata?d31:f2) 12.1.6.1 when sub class code register (d31:f2:offset 0ah) = 01h address offset: 09h attribute: r/w, ro default value: see bit description size: 8 bits 4 capabilities list (cap_list) ? ro. this bit indicates the presence of a capabilities list. the minimum requirement for the capabilities list must be pci power management for the sata controller. 3 interrupt status (ints) ? ro. reflects the st ate of intx# messages. 0 = interrupt is cleared (ind ependent of the state of in terrupt disable bit in the command register [offset 04h]). 1 = interrupt is to be asserted 2:0 reserved bit description bit description 7:0 revision id ? ro. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the revision id register. bit description 7 this read-only bit is a 1 to indicate th at the ich7 supports bus master operation 6:4 reserved. will always return 0. 3 secondary mode native capable (snc) ? ro. 0 = secondary controller only supports legacy mode. 1 = secondary controller supports both legacy and native modes. when map.mv (d31:f2:offset 90:bits 1:0) is any value other than 00b, this bit reports as a 0. when map.mv is 00b , this bit reports as a 1. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 494 intel ? ich7 family datasheet 12.1.6.2 when sub class code regi ster (d31:f2:offset 0ah) = 04h address offset: 09h attribute: ro default value: 00h size: 8 bits 12.1.6.3 when sub class code regi ster (d31:f2:offset 0ah) = 06h address offset: 09h attribute: ro default value: 01h size: 8 bits 2 secondary mode native enable (sne) ? r/w / ro. determines the mode that the se condary channel is operating in. 0 = secondary controller operatin g in legacy (compatibility) mode 1 = secondary controller operating in native pci mode. when map.mv (d31:f2:offset 90:bits 1:0) is any value other than 00b, this bit is read- only (ro). software is responsible for cleari ng this bit before en tering combined mode. when map.mv is 00b, this bit is read/write (r/w). if this bit is set by software, then the pne bit (bit 0 of this register) must also be set by software. while in theory these bits can be programmed separately, such a configuration is not supported by hardware. 1 primary mode native capable (pnc) ? ro. 0 = primary controller only supports legacy mode. 1 = primary controller supports both legacy and native modes. when map.mv (d31:f2:offset 90:bits 1:0) is any value other than 00b, this bit reports as a 0. when map.mv is 00b, this bit reports as a 1 0 primary mode native enable (pne) ? r/w / ro. determines the mode that the pr imary channel is operating in. 0 = primary controller operating in legacy (compatibility) mode. 1 = primary controller operating in native pci mode. when map.mv (d31:f2:offset 90:bits 1:0) is any value other than 00b, this bit is read- only (ro). software is responsible for cleari ng this bit before en tering combined mode. when map.mv is 00b, this bit is read/write (r/w). if this bit is set by software, then the sne bit (bit 2 of this register) must also be set by software. while in theory these bits can be programmed separately, such a configuration is not supported by hardware. bit description bit description 7:0 interface (if) ? ro. when configured as raid, this register becomes read only 0. bit description 7:0 interface (if) ? ro. indicates the sata controll er supports ahci, rev 1.0. free datasheet http://www..net/
intel ? ich7 family datasheet 495 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.7 scc?sub class code register (sata?d31:f2) address offset: 0ah attribute: ro default value: see bit description size: 8 bits 12.1.8 bcc?base clas s code register (sata?d31:f2sata?d31:f2) address offset: 0bh attribute: ro default value: 01h size: 8 bits 12.1.9 pmlt?primary master latency timer register (sata?d31:f2) address offset: 0dh attribute: ro default value: 00h size: 8 bits bit description 7:0 sub class code (scc) this field specifies the sub-class code of the controller, per the table below: intel ? ich7 desktop only: ich7-m only: intel ? matrix storage technology enabled ich7 components only (ich7r, ich7dh, and ich7-m dh): scc reg i ster attr ib ute s cc reg i ster va l ue ro 01h (ide controller) map.sms (d31:f2:offset 90h:bit 7:6) scc register value 00b 01h (ide controller) 01b 06h (ahci controller) map. s m s (d31:f2:offset 90h:bit 7:6) scc register value 00b 01h (ide controller) 01b 06h (ahci controller) 10b 04h (raid controller) bit description 7:0 base class code (bcc) ? ro. 01h = mass storage device bit description 7:0 master latency timer count (mltc) ? ro. 00h = hardwired. the sata controller is im plemented internally, and is not arbitrated as a pci device, so it does no t need a master latency timer. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 496 intel ? ich7 family datasheet 12.1.10 pcmd_bar?primary co mmand block base address register (sata?d31:f2) address offset: 10h ? 13h attribute: r/w, ro default value: 00000001h size: 32 bits . note: this 8-byte i/o space is used in native mo de for the primary cont roller?s command block. 12.1.11 pcnl_bar?primary contro l block base address register (sata?d31:f2) address offset: 14h ? 17h attribute: r/w, ro default value: 00000001h size: 32 bits . note: this 4-byte i/o space is used in native mo de for the primary cont roller?s command block. 12.1.12 scmd_bar?secondary co mmand block base address register (ide d31:f1) address offset: 18h ? 1bh attribute: r/w, ro default value: 00000001h size: 32 bits note: this 4-byte i/o space is used in native mode for the secondary controller?s command block. bit description 31:16 reserved 15:3 base address ? r/w. this field provides the base address of the i/o space (8 consecutive i/o locations). 2:1 reserved 0 resource type indicator (rte) ? ro. hardwired to 1 to indicate a request for i/o space. bit description 31:16 reserved 15:2 base address ? r/w. this field provides the base address of the i/o space (4 consecutive i/o locations). 1 reserved 0 resource type indicator (rte) ? ro. hardwi red to 1 to indicate a request for i/o space. bit description 31:16 reserved 15:3 base address ? r/w. this field provides the ba se address of the i/o space (8 consecutive i/o locations). 2:1 reserved 0 resource type indicator (rte) ? ro. hardwi red to 1 to indicate a request for i/o space. free datasheet http://www..net/
intel ? ich7 family datasheet 497 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.13 scnl_bar?secondary co ntrol block base address register (ide d31:f1) address offset: 1ch ? 1fh attribute: r/w, ro default value: 00000001h size: 32 bits note: this 4-byte i/o space is used in native mode for the secondary controller?s command block. 12.1.14 bar ? legacy bus mast er base address register (sata?d31:f2) address offset: 20h ? 23h attribute: r/w, ro default value: 00000001h size: 32 bits the bus master ide interface function uses base address register 5 to request a 16- byte io space to provide a software interface to the bus master functions. only 12 bytes are actually used (6 bytes for primary, 6 bytes for secondary). only bits [15:4] are used to decode the address. 12.1.15 abar ? ahci ba se address register (sata?d31:f2) 12.1.15.1 non ahci capable (intel ? ich7 feature suppor ted components only) address offset: 24h?27h attribute: ro default value: 00000000h size: 32 bits bit description 31:16 reserved 15:2 base address ? r/w. this field provides the base address of the i/o space (4 consecutive i/o locations). 1 reserved 0 resource type indicator (rte) ? ro. hardwi red to 1 to indicate a request for i/o space. bit description 31:16 reserved 15:4 base address ? r/w. this field provides the base address of the i/o space (16 consecutive i/o locations). 3:1 reserved 0 resource type indicator (rte) ? ro. hardwired to 1 to indicate a request for i/o space. bit description 31:0 reserved free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 498 intel ? ich7 family datasheet 12.1.15.2 ahci capable (intel ? ich7r, ich7dh, an d mobile only) address offset: 24h ? 27h attribute: r/w, ro default value: 00000000h size: 32 bits this register allocates space for the memory registers defined in section 12.3 . for non- achi capable ich7 components (ich7), this register is reserved and read only, unless the scrae bit (offset 94h:bit 9) is set, in which case the register follows the definition given in section 12.1.15.2 . notes: 1. . when the map.mv register is programmed for combined mode (00b), this register is ro. software is responsible for clearing th is bit before enteri ng combined mode. 2. the abar register must be set to a value of 0001_0000h or greater. 12.1.16 svid?subsystem vendor identification register (sata?d31:f2) address offset: 2ch ? 2dh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core 12.1.17 sid?subsystem identifica tion register (sata?d31:f2) address offset: 2eh ? 2fh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core bit description 31:10 base address (ba) ? r/w. base address of register memory space (aligned to 1 kb) 9:4 reserved 3 prefetchable (pf) ? ro. indicates that this range is not pre-fetchable 2:1 type (tp) ? ro. indicates that this rang e can be mapped anywhere in 32-bit address space. 0 resource type indicator (rte) ? ro. hardwired to 0 to indi cate a request for register memory space. bit description 15:0 subsystem vendor id (svid) ? r/wo. value is written by bios. no hardware action taken on this value. bit description 15:0 subsystem id (sid) ? r/wo. value is written by bios. no hardware action taken on this value. free datasheet http://www..net/
intel ? ich7 family datasheet 499 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.18 cap?capabilities poin ter register (sata?d31:f2) address offset: 34h attribute: ro default value: 80h size: 8 bits 12.1.19 int_ln?interrupt line register (sata?d31:f2) address offset: 3ch attribute: r/w default value: 00h size: 8 bits 12.1.20 int_pn?interrupt pi n register (sata?d31:f2) address offset: 3dh attribute: ro default value: see register description size: 8 bits 12.1.21 ide_timp ? primary ide ti ming register (sata?d31:f2) address offset: primary: 40h ? 41h attribute: r/w secondary: 42h ? 43h default value: 0000h size: 16 bits this register controls the timings driven on the ide cable for pio and 8237 style dma transfers. it also controls operation of the buffer for pio transfers. note: this register is r/w to maintain software compatibility and enable parallel ata functionality when the pci functions are comb ined. these bits have no effect on sata operation unless otherwise noted. bit description 7:0 capabilities pointer (cap_ptr) ? ro. indicates that the first capability pointer offset is 80h. this value changes to 70h if the map.mv register (dev 31:f2:90h, bits 1:0) in configuration space indicates that the sata function and pata functions are combined (values of 10b or 10b) or sub class code (c c.scc) (dev 31:f2:0ah) is configure as ide mode (value of 01). bit description 7:0 interrupt line ? r/w. this field is used to communicate to software the interrupt line that the interrupt pin is connected to. bit description 7:0 interrupt pin ? ro. this reflects the value of d31ip.sip (chipset config registers:offset 3100h: bits 11:8). free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 500 intel ? ich7 family datasheet bit description 15 ide decode enable (ide) ? r/w. individually enable /disable the primary or secondary decode. 0 = disable. 1 = enables the intel ? ich7 to decode the associated command blocks (1f0?1f7h for primary, 170?177h for secondary) and control block (3f6h for primary and 376h for secondary). this bit effects the ide decode ranges fo r both legacy and native-mode decoding. note: this bit affects sata operation in both combined and non-combined ata modes. see section 5.17 for more on ata modes of operation. 14 drive 1 timing register enable (sitre) ? r/w. 0 = use bits 13:12, 9:8 for both drive 0 and drive 1. 1 = use bits 13:12, 9:8 for drive 0, and use the slave ide timing register for drive 1 13:12 iordy sample point (isp) ? r/w. the setting of these bits determines the number of pci clocks between ide ior#/iow# asse rtion and the first iordy sample point. 00 = 5 clocks 01 = 4 clocks 10 = 3 clocks 11 = reserved 11:10 reserved 9:8 recovery time (rct) ? r/w. the setting of these bits determines the minimum number of pci clocks between the last io rdy sample point and the ior#/iow# strobe of the next cycle. 00 = 4 clocks 01 = 3 clocks 10 = 2 clocks 11 = 1 clock 7 drive 1 dma timing enable (dte1) ? r/w. 0 = disable. 1 = enable the fast timing mode for dma transf ers only for this drive. pio transfers to the ide data port will run in compatible timing. 6 drive 1 prefetch/posting enable (ppe1) ? r/w. 0 = disable. 1 = enable prefetch and posting to the ide data port for this drive. 5 drive 1 iordy sample point enable (ie1) ? r/w. 0 = disable iordy sampling for this drive. 1 = enable iordy sampling for this drive. 4 drive 1 fast timing bank (time1) ? r/w. 0 = accesses to the data port will us e compatible timings for this drive. 1 = when this bit =1 and bit 14 = 0, accesses to the data port will use bits 13:12 for the iordy sample point, and bits 9:8 for the recovery time. when this bit = 1 and bit 14 = 1, accesses to th e data port will use the iordy sample point and recover time specified in the slave ide timing register. 3 drive 0 dma timing enable (dte0) ? r/w. 0 = disable 1 = enable fast timing mode for dma transfers only for this drive. pio transfers to the ide data port will run in compatible timing. 2 drive 0 prefetch/posting enable (ppe0) ? r/w. 0 = disable prefetch and posting to the ide data port for this drive. 1 = enable prefetch and posting to the ide data port for this drive. free datasheet http://www..net/
intel ? ich7 family datasheet 501 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.22 ide_tims ? slave ide ti ming register (sata?d31:f2) address offset: 44h attribute: r/w default value: 00h size: 8 bits note: this register is r/w to maintain software compatibility and enable parallel ata functionality when the pci functions are comb ined. these bits have no effect on sata operation unless otherwise noted. 1 drive 0 iordy sample point enable (ie0) ? r/w. 0 = disable iordy sampling is disabled for this drive. 1 = enable iordy sampling for this drive. 0 drive 0 fast timing bank (time0) ? r/w. 0 = accesses to the data port will us e compatible timings for this drive. 1 = accesses to the data port will use bits 13:12 for the iordy sample point, and bits 9:8 for the recovery time bit description bit description 7:6 secondary drive 1 iordy sample point (sisp1) ? r/w. this field determines the number of pci clocks between ide ior#/iow # assertion and the first iordy sample point, if the access is to drive 1 data port and bit 14 of the ide timing register for secondary is set. 00 = 5 clocks 01 = 4 clocks 10 = 3 clocks 11 = reserved 5:4 secondary drive 1 recovery time (srct1) ? r/w. this field determines the minimum number of pci clocks between the last iordy sample point and the ior#/ iow# strobe of the next cycle, if the access is to drive 1 data port and bit 14 of the ide timing register fo r secondary is set. 00 = 4 clocks 01 = 3 clocks 10 = 2 clocks 11 = 1 clocks 3:2 primary drive 1 iordy sample point (pisp1) ? r/w. this field determines the number of pci clocks between ior#/iow# asse rtion and the first iordy sample point, if the access is to drive 1 data port and bit 14 of the ide timing register for primary is set. 00 = 5 clocks 01 = 4 clocks 10 = 3 clocks 11 = reserved 1:0 primary drive 1 recovery time (prct1) ? r/w. this field determines the minimum number of pci clocks between the last iordy sample point and the ior#/ iow# strobe of the next cycle, if the access is to drive 1 data port and bit 14 of the ide timing register for primary is set. 00 = 4 clocks 01 = 3 clocks 10 = 2 clocks 11 = 1 clocks free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 502 intel ? ich7 family datasheet 12.1.23 sdma_cnt?synchronous dma control register (sata?d31:f2) address offset: 48h attribute: r/w default value: 00h size: 8 bits note: this register is r/w to maintain software compatibility and enable parallel ata functionality when the pci functions are comb ined. these bits have no effect on sata operation unless otherwise noted. bit description 7:4 reserved 3 secondary drive 1 synchronou s dma mode enable (ssde1) ? r/w. 0 = disable (default) 1 = enable synchronous dma mode for secondary channel drive 1 2 secondary drive 0 synchronou s dma mode enable (ssde0) ? r/w. 0 = disable (default) 1 = enable synchronous dma mode for secondary drive 0. 1 primary drive 1 synchronous dma mode enable (psde1) ? r/w. 0 = disable (default) 1 = enable synchronous dma mode for primary channel drive 1 0 primary drive 0 synchronous dma mode enable (psde0) ? r/w. 0 = disable (default) 1 = enable synchronous dma mode for primary channel drive 0 free datasheet http://www..net/
intel ? ich7 family datasheet 503 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.24 sdma_tim?synchronous dma timing register (sata?d31:f2) address offset: 4ah ? 4bh attribute: r/w default value: 0000h size: 16 bits note: this register is r/w to maintain software compatibility and enable parallel ata functionality when the pci functions are comb ined. these bits have no effect on sata operation, unless otherwise noted. bit description 15:14 reserved 13:12 secondary drive 1 cycle time (sct1) ? r/w. for ultra ata mode. the setting of these bits determines the minimum write strobe cycle time (ct). the dmardy#-to- stop (rp) time is also determin ed by the setting of these bits. 11:10 reserved 9:8 secondary drive 0 cycle time (sct0) ? r/w. for ultra ata mode. the setting of these bits determines the minimum write strobe cycle time (ct). the dmardy#-to- stop (rp) time is also determin ed by the setting of these bits. 7:6 reserved scb1 = 0 (33 mhz clk) scb1 = 1 (66 mhz clk) fast_scb1 = 1 (133 mhz clk) 00 = ct 4 clocks, rp 6 clocks 00 = reserved 00 = reserved 01 = ct 3 clocks, rp 5 clocks 01 = ct 3 clocks, rp 8 clocks 01 = ct 3 clocks, rp 16 clocks 10 = ct 2 clocks, rp 4 clocks 10 = ct 2 clocks, rp 8 clocks 10 = reserved 11 = reserved 11 = reserved 11 = reserved scb1 = 0 (33 mhz clk) scb1 = 1 (66 mhz clk) fast_scb1 = 1 (133 mhz clk) 00 = ct 4 clocks, rp 6 clocks 00 = reserved 00 = reserved 01 = ct 3 clocks, rp 5 clocks 01 = ct 3 clocks, rp 8 clocks 01 = ct 3 clocks, rp 16 clocks 10 = ct 2 clocks, rp 4 clocks 10 = ct 2 clocks, rp 8 clocks 10 = reserved 11 = reserved 11 = reserved 11 = reserved free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 504 intel ? ich7 family datasheet 12.1.25 ide_config?ide i/o configuration register (sata?d31:f2) address offset: 54h ? 57h attribute: r/w default value: 00000000h size: 32 bits note: this register is r/w to maintain software compatibility and enable parallel ata functionality when the pci functions are comb ined. these bits have no effect on sata operation, unless otherwise noted. 5:4 primary drive 1 cycle time (pct1) ? r/w. for ultra ata mode, the setting of these bits determines the minimum write strobe cycle time (ct). the dmardy#-to-stop (rp) time is also determined by the setting of these bits. 3:2 reserved 1:0 primary drive 0 cycle time (pct0) ? r/w. for ultra ata mode, the setting of these bits determines the minimum write strobe cycle time (ct). the dmardy#-to-stop (rp) time is also determined by the setting of these bits. bit description pcb1 = 0 (33 mhz clk) pcb1 = 1 (66 mhz clk) fast_pcb1 = 1 (133 mhz clk) 00 = ct 4 clocks, rp 6 clocks 00 = reserved 00 = reserved 01 = ct 3 clocks, rp 5 clocks 01 = ct 3 clocks, rp 8 clocks 01 = ct 3 clocks, rp 16 clocks 10 = ct 2 clocks, rp 4 clocks 10 = ct 2 clocks, rp 8 clocks 10 = reserved 11 = reserved 11 = reserved 11 = reserved pcb1 = 0 (33 mhz clk) pcb1 = 1 (66 mhz clk) fast_pcb1 = 1 (133 mhz clk) 00 = ct 4 clocks, rp 6 clocks 00 = reserved 00 = reserved 01 = ct 3 clocks, rp 5 clocks 01 = ct 3 clocks, rp 8 clocks 01 = ct 3 clocks, rp 16 clocks 10 = ct 2 clocks, rp 4 clocks 10 = ct 2 clocks, rp 8 clocks 10 = reserved 11 = reserved 11 = reserved 11 = reserved bit description 31:24 reserved 23:20 scratchpad (sp2). intel ? ich7 does not perform any actions on these bits. 19:18 sec_sig_mode ? r/w. these bits are used to control mode of the secondary ide signal pins for mobile swap bay support. if the srs bit (chipset config registers:offset 3414h:bit 1) is 1, the reset states of bits 19:18 will be 01 (tri-state) instead of 00 (normal). 00 = normal (enabled) 01 = tri-state (disabled) 10 = drive low (disabled) 11 = reserved free datasheet http://www..net/
intel ? ich7 family datasheet 505 sata controller registers (d31:f 2) (desktop and mobile only) 17:16 prim_sig_mode ? r/w. these bits are used to control mode of the primary ide signal pins for mobi le swap bay support. if the prs bit (chipset config registers:offset 3414h:bit 1) is 1, the reset states of bits 17:16 will be 01 (tri-state) instead of 00 (normal). 00 = normal (enabled) 01 = tri-state (disabled) 10 = drive low (disabled) 11 = reserved 15 fast secondary drive 1 base clock (fast_scb1) ? r/w. this bit is used in conjunction with the sct1 bits (d31:f2:4ah, bits 13:12) to enable/disable ultra ata/ 100 timings for the secondary slave drive. 0 = disable ultra ata/100 timing for the secondary slave drive. 1 = enable ultra ata/100 timing for the secondary slave drive (overrides bit 3 in this register). 14 fast secondary drive 0 base clock (fast_scb0) ? r/w. this bit is used in conjunction with the sct0 bits (d31:f2:4ah, bits 9:8) to enable/disable ultra ata/100 timings for the secondary master drive. 0 = disable ultra ata/100 timing for the secondary master drive. 1 = enable ultra ata/100 timing for the secondary master drive (overrides bit 2 in this register). 13 fast primary drive 1 base clock (fast_pcb1) ? r/w. this bit is used in conjunction with the pct1 bits (d31:f2:4ah, bits 5:4) to enable/disable ultra ata/100 timings for the primary slave drive. 0 = disable ultra ata/100 timing for the primary slave drive. 1 = enable ultra ata/100 timing for the primary slave drive (overrides bit 1 in this register). 12 fast primary drive 0 base clock (fast_pcb0) ? r/w. this bit is used in conjunction with the pct0 bits (d31:f2:4ah, bits 1:0) to enable/disable ultra ata/100 timings for the primary master drive. 0 = disable ultra ata/100 timing for the primary master drive. 1 = enable ultra ata/100 timing for the primary master drive (overrides bit 0 in this register). 11:8 reserved 7:4 scratchpad (sp1). ich7 does not perform any action on these bits. 3 secondary drive 1 base clock (scb1) ? r/w. 0 = 33 mhz base clock for ultra ata timings. 1 = 66 mhz base clock for ultra ata timings 2 secondary drive 0 base clock (scbo) ? r/w. 0 = 33 mhz base clock for ultra ata timings. 1 = 66 mhz base clock for ultra ata timings 1 primary drive 1 base clock (pcb1) ? r/w. 0 = 33 mhz base clock for ultra ata timings. 1 = 66 mhz base clock for ultra ata timings 0 primary drive 0 base clock (pcb0) ? r/w. 0 = 33 mhz base clock for ultra ata timings. 1 = 66 mhz base clock for ultra ata timings bit description free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 506 intel ? ich7 family datasheet 12.1.26 pid?pci power management capability identification register (sata?d31:f2) address offset: 70h ? 71h attribute: ro default value: xx01h size: 16 bits 12.1.27 pc?pci power manageme nt capabilities register (sata?d31:f2) address offset: 72h ? 73h attribute: ro default value: 4002h size: 16 bits f bits description 15:8 next capability (next) ? ro. 00h ? if scc = 01h (ide mode). a8h ? for all other values of scc to po int to the next capability structure. this field is changed to 00h if the sc rd bit (d31:f2;offset 94h bit-30) is set. 7:0 capability id (cid) ? ro. indicates that this pointer is a pci power management. bits description 15:11 pme support (pme_sup) ? ro. indicate s pme# can be generated from the d3 hot state in the sata host controller. 10 d2 support (d2_sup) ? ro. hardwired to 0. the d2 state is not supported 9 d1 support (d1_sup) ? ro. hardwired to 0. the d1 state is not supported 8:6 auxiliary current (aux_cur) ? ro. pme# from d3cold state is not supported, therefore this field is 000b. 5 device specific initialization (dsi) ? ro. ha rdwired to 0 to indicate that no device- specific initialization is required. 4 reserved 3 pme clock (pme_clk) ? ro. hardwired to 0 to in dicate that pci clock is not required to generate pme#. 2:0 version (ver) ? ro. hardwired to 010 to indi cates support for revision 1.1 of the pci power management specification. free datasheet http://www..net/
intel ? ich7 family datasheet 507 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.28 pmcs?pci power mana gement control and status register (sata?d31:f2) address offset: 74h ? 75h attribute: ro, r/w, r/wc default value: 0000h size: 16 bits 12.1.29 msici?message signal ed interrupt capability identification (sata?d31:f2) address offset: 80h ? 81h attribute: ro default value: 7005h size: 16 bits 12.1.30 msimc?message signaled interrupt message control (sata?d31:f2) address offset: 82h ? 83h attribute: r/w, ro default value: 0000h size: 16 bits bits description 15 pme status (pmes) ? r/wc. bit is set when a pme event is to be requested, and if this bit and pmee is set, a pme# will be generated from the sata controller. 14:9 reserved 8 pme enable (pmee) ? r/w. 0 = disable. 1 = enable. sata controller generates pme# form d3 hot on a wake event. 7:2 reserved 1:0 power state (ps) ? r/w. these bits are used both to determine the current power state of the sata controller and to set a new power state. 00 = d0 state 11 = d3 hot state when in the d3 hot state, the controller?s configurat ion space is available, but the i/o and memory spaces are not. addi tionally, interrupts are blocked. bits description 15:8 next pointer (next): indicates the next item in the list is the pci power management pointer. 7:0 capability id (cid): capabilities id indicates msi. bits description 15:8 reserved 7 64 bit address capable (c64): capable of generating a 32-bit message only. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 508 intel ? ich7 family datasheet 12.1.31 msima? messag e signaled interrupt message address (sata?d31:f2) address offset: 84h ? 87h attribute: ro, r/w default value: 00000000h size: 32 bits 6:4 multiple message enable (mme): when this field is cleared to ?000? (and msie is set), only a single msi message will be generated for all sata po rts, and bits [15:0] of the message vector will be driven from md[15:0]. when this field is set to ?001? (and msie is set), two msi messages will be generated. bit [15:1] of the message vectors will be driven from md[15:1] and bit [0] of the message vector will be driven dependent on which sata port is the source of the interrupt: ?0? for port 0, and ?1? for ports 1, 2 and 3. when this field is set to ?010? (and msie is set), four message will be generated, one for each sata port. bits[15:2] of the message ve ctors will be driven from md[15:2], while bits[1:0] will be driven dependent on which sata port is the source of the interrupt: ?00? for port 0, ?01? for port 1, ?10? for port 2, and ?11? for port 3. values ?011b? to ?111b? are reserved. if this field is set to one of these reserved values, the results are undefined. 3:1 multiple message capable (mmc): indicates that the ich7 sata controller supports four interrupt messages. 0 msi enable (msie): if set, msi is enabled and traditional interrupt pins are not used to generate interrupts. bits description mme value driven on msi memory write bits[15:2] bit[1] bit[0] 000 md[15:2] md[1] md[0] 001 md[15:2] md[1] ports 0: 0 ports 1,2,3: 1 010 md[15:2] port 0: 0 port 1: 0 port 2: 1 port 3: 1 port 0: 0 port 1: 1 port 2: 0 port 3: 1 011?111 reserved bits description 31:2 address (addr): lower 32 bits of the system specified message address, always dword aligned. 1:0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 509 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.32 msimd?message signaled interrupt message data (sata?d31:f2) address offset: 88h-89h attribute: r/w default value: 0000h size: 16 bits 12.1.33 map?address map re gister (sata?d31:f2) address offset: 90h attribute: r/w default value: 00h size: 8 bits bits description 15:0 data (data) ? r/w : this 16-bit field is programmed by system software if msi is enabled. its content is driven onto the lowe r word of the data bus of the msi memory write transaction. note that when the mme fiel d is set to ?001? or ?010?, bit [0] and bits [1:0] respectively of the msi memory write transaction will be driven based on the source of the interrupt rather than from md [1:0]. see the description of the mme field. bits description 7:6 sata mode select (sms) ? r/w: software programs these bi ts to control the mode in which the sata hba should operate: 00b = ide mode 01b = ahci mode 10b = raid mode 11b = reserved notes: 1. the sata function device id will chan ge based on the value of this register. 2. when combined mode is used (mv not equal to ?0?), only ide mode is allowed. ide mode can be selected when ahci and/or raid are enabled 3. ahci mode may only be selected when mv = 0 4. raid mode may only be selected when mv = 0 5. programming these bits with values that are invalid (e.g, selecting raid when in combined mode) will result in indete rministic behavior by the hardware. 5:2 reserved. 1:0 map value ? r/w. map value (mv): the value in the bits below indicate the address range the sata ports responds to, and whether or not the pata and sata functions are combined. when in combined mode, the ahci memory space is not available and ahci may not be used. 00 = non-combined. p0 is pr imary master, p2 is the primary slave. p1 is secondary master, p3 is the secondary slave (desktop only). p0 is primary master, p2 is the primary slave (mobile only). 01 = combined. ide is primary. p1 is seco ndary master, p3 is the secondary slave. (desktop only) 10 = combined. p0 is primary master. p2 is primary slave. ide is secondary 11 = reserved free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 510 intel ? ich7 family datasheet 12.1.34 pcs?port control and status register (sata?d31:f2) address offset: 92h ? 93h attribute: r/w, r/wc, ro default value: 0000h size: 16 bits this register is only used in systems that do not support ahci. in ahci enabled systems, bits[3:0] must always be set (ich 7r only) / bits[2,0] must always be set (mobile only), and the status of the port is controlled through ahci memory space. bits description 15:8 reserved. 7 (desktop only) port 3 present (p3p) ? ro. the status of this bit ma y change at any time. this bit is cleared when the port is disabled via p3 e. this bit is not cleared upon surprise removal of a device. 0 = no device detected. 1 = the presence of a device on port 3 has been detected. 7 (mobile only) reserved 6 port 2 present (p2p) ? ro. the status of this bit ma y change at any time. this bit is cleared when the port is disabled via p2 e. this bit is not cleared upon surprise removal of a device. 0 = no device detected. 1 = the presence of a device on port 2 has been detected. 5 (desktop only) port 1 present (p1p) ? ro. the status of this bit ma y change at any time. this bit is cleared when the port is disabled via p1 e. this bit is not cleared upon surprise removal of a device. 0 = no device detected. 1 = the presence of a device on port 1 has been detected. 5 (mobile only) reserved 4 port 0 present (p0p) ? ro. the status of this bit ma y change at any time. this bit is cleared when the port is disabled via p0 e. this bit is not cleared upon surprise removal of a device. 0 = no device detected. 1 = the presence of a device on port 0 has been detected. 3 (desktop only) port 3 enabled (p3e) ? r/w. 0 = disabled. the port is in the ?off? state and cannot detect any devices. 1 = enabled. the port can transition betwee n the on, partial, and slumber states and can detect devices. note: this bit takes precedence over p3cmd.sud (offset abar+298h:bit 1) 3 (mobile only) reserved 2 port 2 enabled (p2e) ? r/w. 0 = disabled. the port is in the ?off? state and cannot detect any devices. 1 = enabled. the port can transition betwee n the on, partial, and slumber states and can detect devices. note: this bit takes precedence over p2cmd.sud (offset abar+218h:bit 1) 1 (desktop only) port 1 enabled (p1e) ? r/w. 0 = disabled. the port is in the ?off? state and cannot detect any devices. 1 = enabled. the port can transition betwee n the on, partial, and slumber states and can detect devices. note: this bit takes precedence over p1cmd.sud (offset abar+198h:bit 1) 1 (mobile only) reserved free datasheet http://www..net/
intel ? ich7 family datasheet 511 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.35 sir?sata init ialization register address offset: 94h?97h attribute: r/w default value: 00000000h size: 32 bits . 0 port 0 enabled (p0e) ? r/w. 0 = disabled. the port is in the ?off? state and cannot de tect any devices. 1 = enabled. the port can tran sition between the on, partia l, and slumber states and can detect devices. note: this bit takes precedence over p0cmd.sud (offset abar+118h:bit 1) bits description bit description 31:29 reserved 30 sata capability registers disable (scrd) . when this bit is set, the sata capabili ty registers are disabled. that is, sata capability registers 0 and 1 are both ch anged to read only with the value of 00000000h. also, the next capability bits in the pci power management capability information register (d31:f2;o ffset 70h bits 15:8) are changed to 00h, to indicate that the pci power manageme nt capability structure is the last pci capability structure in the sata controller. when th is bit is cleared, the sata capability registers are enabled. 29 reserved 28 sata clock request enabled (scre) ? r/w. 0 = sata clock request protocol is disa bled. sataclkreq# pin when in native function will always output '0' to keep the sata clock running. 1 = sata clock request protocol is enab led. sataclkreq# pin when in native function will behave as th e serial ata clock request to the system clock chip. 27:24 (desktop only) reserved 27:24 (mobile only) sata initialization field 3 (sif3) ? r/w. bios shall always program this register to the value 0ah. al l other values are reserved. 23 sata initialization field 2 (sif2) ? r/w. bios shall always program this register to the value 1b. al l other values are reserved. 22:10 reserved 9 scr access enable (scrae) ? r/w. in non-ahci mode, th is bit allows access to the sata scr registers (sstatus, scontrol, and serror registers). 0 = the abar (dev31:f2:offset 24h) register and mse bit field (dev31:f2:offset 04h:bit 1) remain as defined. 1 = the abar (dev31:f2:offset 24h) register and mse bit field (dev31:f2:offset 04h:bit 1) are forced to be read/write. notes: 1. using this mode only allows access to ahci registers pxssts, pxsctl, pxserr. all other ahci space is reserved when this bit is set. 2. proper use of this bit requires: ? abar must be programmed to a valid bar; mse must be set before software can access ahci space. ? the port implemented bit (d31:f2, offset abar+0ch) for the corresponding port has to be set to allow access to the ahci port specific pxssts, pxsctl, and pxserr registers. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 512 intel ? ich7 family datasheet 12.1.36 siri?sata indexed registers index address offset: a0h attribute: r/w default value: 00h size: 8 bits . sata indexed registers 12.1.37 strd?sata indexed register data address offset: a4h attribute: r/w default value: xxxxxxxxh size: 32 bits . 8:0 sata initialization field 1 (sif1) ? r/w. bios shall always program this register to the value 180h. al l other values are reserved. bit description bit description 7:2 index (idx) ? r/w. this field contains a 6-bit index pointer into the sata indexed register space. data is written into and read from the sird re gister (d31:f2:a4h). 1:0 reserved index name 00h?03h sata tx termination test register 1 (sttt1) 04h?1bh reserved 1ch?1fh sata test mode enable register (stme) 20h?73h reserved 74h?77h sata tx termination test register 2 (sttt2) 78h?ffh reserved bit description 31:0 data (dta) ? r/w. this field contains a 32-bit data value that is written to the register pointed to by siri (d31:f2;a0h) or read from the register pointed to by siri. free datasheet http://www..net/
intel ? ich7 family datasheet 513 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.37.1 sttt1?sata inde xed registers index 00h (sata tx termination test register 1) address offset: index 00h?03h attribute: r/w default value: 00000000h size: 32 bits . 12.1.37.2 stme?sata inde xed registers index c1h (sata test mode enable register) address offset: index 1ch?1fh attribute: r/w default value: 00000000h size: 32 bits . bit description 31:2 reserved. 1 port 1 tx termination test enable ? r/w: 0 = port 1 tx termination port testing is disabled. 1 = enables testing of port 1 tx termination. note: this bit only to be used for system board testing. 0 port 0 tx termination test enable ? r/w: 0 = port 0 tx termination port testing is disabled. 1 = enables testing of port 0 tx termination. note: this bit only to be used for system board testing. bit description 31:19 reserved. 18 sata test mode enable bit ? r/w: 0 = entrance to intel ? ich7 sata test modes are disabled. 1 = this bit allows en trance to ich7 sata test modes when set. note: this bit only to be used for system board testing. 17:0 reserved. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 514 intel ? ich7 family datasheet 12.1.37.3 sttt2 ? sata indexed registers index 74h (sata tx termination test register 2) address offset: index 74h ? 77h attribute: r/w default value: 00000000h size: 32 bits . 12.1.38 scap0?sata capability register 0 (sata?d31:f2) address offset: a8h?abh attribute: ro default value: 00100012h size: 32 bits this register is set to 00000000h if the scrd bit (d31:f2;offset 94h bit-30) is set. bit description 31:18 reserved. 17 port 3 tx termination test enable ? r/w: 0 = port 3 tx termination port testing is disabled. 1 = enables testing of port 3 tx termination. note: this bit only to be used for system board testing. 16 port 2 tx termination test enable ? r/w: 0 = port 2 tx termination port testing is disabled. 1 = enables testing of port 2 tx termination. note: this bit only to be used for system board testing. 15:0 reserved. bit description 31:24 reserved 23:20 major revision (majrev) ? ro: major revisi on number of the sata capability pointer implemented. 19:16 minor revision (minrev) ? ro: minor revision number of the sata capability pointer implemented. 15:8 next capability pointer (next) ? ro: points to the next capabi lity structure. 00h indicates this is the last capability pointer. 7:0 capability id (cap)? ro: this value of 12h has been assigned by the pci sig to designate the sata ca pability structure. free datasheet http://www..net/
intel ? ich7 family datasheet 515 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.39 scap1?sata capability register 1 (sata?d31:f2) address offset: ach?afh attribute: ro default value: 00000048h size: 32 bits this register is set to 00000000h if the scrd bit (d31:f2;offset 94h bit-30) is set. bit description 31:16 reserved 15:4 bar offset (barofst) ? ro : indicates the offset into the bar where the index/data pair are located (in dword granularity). the index and data i/o regi sters are located at offset 10h within the i/o space defined by lbar. a value of 004h indicates offset 10h. 000h = 0h offset 001h = 4h offset 002h = 8h offset 003h = bh offset 004h = 10h offset ... fffh = 3fffh offset (max 16kb) 3:0 bar location (barloc) ? ro : indicates the absolute pci configuration register address of the bar containing the index/da ta pair (in dword granularity). the index and data i/o registers reside within the space defined by lbar in the sata controller. a value of 8h indicates offset 20h, which is lbar. 0000 ? 0011b = reserved 0100b = 10h => bar0 0101b = 14h => bar1 0110b = 18h => bar2 0111b = 1ch => bar3 1000b = 20h => lbar 1001b = 24h => bar5 1010 ? 1110b = reserved 1111b = index/data pair in pci configuration space. this is not supported in intel ? ich7. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 516 intel ? ich7 family datasheet 12.1.40 atc?apm trapping cont rol register (sata?d31:f2) address offset: c0h attribute: r/w default value: 00h size: 8 bits . 12.1.41 ats?apm trapping stat us register (sata?d31:f2) address offset: c4h attribute: r/wc default value: 00h size: 8 bits . 12.1.42 sp ? scratch pad register (sata?d31:f2) address offset: d0h attribute: r/w default value: 00000000h size: 32 bits . bit description 7:4 reserved 3 secondary slave trap (sst) ? r/w. enables trapping and smi# assertion on legacy i/o accesses to 170h?177h and 376h. the active device on the secondary interface must be device 1 for the trap and/or smi# to occur. 2 secondary master trap (smt) ? r/w. enables trapping and smi# assertion on legacy i/o accesses to 170h?177h and 376h . the active device on the secondary interface must be device 0 for the trap and/or smi# to occur. 1 primary slave trap (pst) ? r/w. enables trapping and smi# assertion on legacy i/ o accesses to 1f0h?1f7h and 3f6h. the active device on the primary interface must be device 1 for the trap and/or smi# to occur. 0 primary master trap (pmt) ? r/w. enables trapping and smi# assertion on legacy i/o accesses to 1f0h?1f7h and 3f6h. the acti ve device on the pr imary interface must be device 0 for the trap and/or smi# to occur. bit description 7:4 reserved 3 secondary slave trap (sst) ? r/wc. indicates that a trap occurred to the secondary slave device. 2 secondary master trap (spt) ? r/wc. indicates that a trap occurred to the secondary master device. 1 primary slave trap (pst) ? r/wc. indicates that a trap occurred to the primary slave device. 0 primary master trap (pmt) ? r/wc. indicates that a trap occurred to the primary master device. bit description 31:0 data (dt) ? r/w. this is a read/write register that is available for software to use. no hardware action is taken on this register. free datasheet http://www..net/
intel ? ich7 family datasheet 517 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.43 bfcs?bist fis control/st atus register (sata?d31:f2) address offset: e0h ? e3h attribute: r/w, r/wc default value: 00000000h size: 32 bits bits description 31:14 reserved 13 (desktop only) port 3 bist fis initiate (p3bfi) ? r/w. when a rising edge is detected on this bit field, the intel ? ich7 initiates a bist fis to th e device on port 3, using the parameters specified in this register and the data specified in bftd1 and bftd2. the bist fis will only be initiated if a device on port 3 is present and ready (not partial/ slumber state). after a bist fis is successfully completed, software must disable and re-enable the port using the px e bits at offset 92h prior to attempting additional bist fises or to return the ich7 to a normal operational mode. if the bist fis fails to complete, as indicated by the bff bit in the register, then software can clear then set the p3bfi bit to initiate another bist fis. this can be retried until the bist fis eventually completes successfully. 13 (mobile only) reserved. 12 port 2 bist fis initiate (p2bfi) ? r/w. when a rising edge is detected on this bit field, the ich7 initiates a bist fis to th e device on port 2, using the parameters specified in this register and the data spec ified in bftd1 and bftd2. the bist fis will only be initiated if a device on port 2 is present and ready (not partial/slumber state). after a bist fis is successfully completed, software must disa ble and re-e nable the port using the pxe bits at offset 92h prior to attempting additional bist fises or to return the ich7 to a normal operational mo de. if the bist fis fails to complete, as indicated by the bff bit in the register, then software can clear then set the p2bfi bit to initiate another bist fis. this can be retried until the bist fis eventually completes successfully 11 bist fis successful (bfs) ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = bist fis transmitted by ich7 received an r_ok completion status from the device. note: this bit must be cleared by softwa re prior to initiating a bist fis. 10 bist fis failed (bff) ? r/wc. 0 = software clears this bi t by writing a 1 to it. 1 = bist fis transmitted by ich7 received an r_err completion status from the device. note: this bit must be cleared by softwa re prior to initiating a bist fis. 9 (desktop only) port 1 bist fis initiate (p1bfi) ? r/w. when a rising edge is detected on this bit field, the ich7 initiates a bist fis to th e device on port 1, using the parameters specified in this register and the data spec ified in bftd1 and bftd2. the bist fis will only be initiated if a device on port 1 is present and ready (not partial/slumber state). after a bist fis is successfully completed, software must disa ble and re-e nable the port using the pxe bits at offset 92h prior to attempting additional bist fises or to return the ich7 to a normal operational mo de. if the bist fis fails to complete, as indicated by the bff bit in the register, then software can clear then set the p1bfi bit to initiate another bist fis. this can be retried until the bist fis eventually completes successfully free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 518 intel ? ich7 family datasheet 12.1.44 bftd1?bist fis transmit data1 register (sata?d31:f2) address offset: e4h ? e7h attribute: r/w default value: 00000000h size: 32 bits 9 (mobile only) reserved. 8 port 0 bist fis initiate (p0bfi) ? r/w. when a rising edge is detected on this bit field, the ich7 initiates a bist fis to th e device on port 0, using the parameters specified in this register and the data specified in bftd1 and bftd2. the bist fis will only be initiated if a device on port 0 is present and ready (not partial/slumber state). after a bist fis is successfully completed, software must disa ble and re-enable the port using the pxe bits at offset 92h prior to attempting additional bist fises or to return the ich7 to a normal operational mo de. if the bist fis fails to complete, as indicated by the bff bit in th e register, then software can clear then set the p0bfi bit to initiate another bist fi s. this can be retried until the bist fis eventually completes successfully 7:2 bist fis parameters . these 6 bits form the contents of the upper 6 bits of the bist fis pattern definition in any bist fis transmitted by the ic h7. this field is not port specific; its contents will be used for any bist fis initiated on port 0, port 1, port 2 or port 3. the specific bit definitions are: bit 7: t ? far end transmit mode bit 6: a ? align bypass mode bit 5: s ? bypass scrambling bit 4: l ? far end retimed loopback bit 3: f ? far end analog loopback bit 2: p ? primitive bit for use with transmit mode 1:0 reserved bits description bits description 31:0 bist fis transmit data 1 ? r/w. the data programmed into this register will form the contents of the second dword of any bist fis initiated by the intel ? ich7. this register is not port specific; its contents will be used for bi st fis initiated on any port. although the 2nd and 3rd dws of the bist fi s are only meaningful when the ?t? bit of the bist fis is set to indicate ?far-end transm it mode?, this register ?s contents will be transmitted as the bist fis 2n d dw regardless of whether or not the ?t? bit is indicated in the bfcs regi ster (d31:f2:e0h). free datasheet http://www..net/
intel ? ich7 family datasheet 519 sata controller registers (d31:f 2) (desktop and mobile only) 12.1.45 bftd2?bist fis transmit data2 register (sata?d31:f2) address offset: e8h ? ebh attribute: r/w default value: 00000000h size: 32 bits 12.2 bus master ide i/ o registers (d31:f2) the bus master ide function uses 16 bytes of i/o space, allocated via the bar register, located in device 31:function 2 configuration space, offset 20h. all bus master ide i/o space registers can be accessed as byte, wo rd, or dword quantities. reading reserved bits returns an indeterminate, inconsistent va lue, and writes to re served bits have no effect (but should not be attempted). these registers are only used for legacy operation. software must not use these registers when running ahci. the description of the i/o registers is shown in table 12-2 . bits description 31:0 bist fis transmit data 2 ? r/w. the data programmed into this register will form the contents of the third dword of any bist fis initiated by the intel ? ich7. this register is not port specific; its contents will be used for bist fis initiated on any port. although the 2nd and 3rd dws of the bist fis are only meaningful when the ?t? bit of the bist fis is set to indicate ?far-end transm it mode?, this register ?s contents will be transmitted as the bist fis 3r d dw regardless of whether or not the ?t? bit is indicated in the bfcs register (d31:f2:e0h). table 12-2. bus master ide i/o register address map bar+ offset mnemonic register default type 00 bmicp command register primary 00h r/w 01 ? reserved ? ro 02 bmisp bus master ide status register primary 00h r/w, r/ wc, ro 03 ? reserved ? ro 04?07 bmidp bus master ide descriptor table pointer primary xxxxxxxxh r/w 08 bmics command register secondary 00h r/w 09 ? reserved ? ro 0ah bmiss bus master ide status register secondary 00h r/w, r/ wc, ro 0bh ? reserved ? ro 0ch? 0fh bmids bus master ide descriptor table pointer secondary xxxxxxxxh r/w 10h air ahci index register 00000000 h r/w, ro 14h aidr ahci index data register xxxxxxxxh r/w free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 520 intel ? ich7 family datasheet 12.2.1 bmic[p,s]?bus master id e command register (d31:f2) address offset: primary: bar + 00h attribute: r/w secondary: bar + 08h default value: 00h size: 8 bits bit description 7:4 reserved. returns 0. 3 read / write control (r/wc) ? r/w. this bit sets the di rection of the bus master transfer: this bit must not be changed when the bus master function is active. 0 = memory reads 1 = memory writes 2:1 reserved. returns 0. 0 start/stop bus master (start) ? r/w. 0 = all state information is lost when this bit is cleared. master mode operation cannot be stopped and then resumed. if this bit is reset while bus master operation is still active (i.e., the bus master ide active bit (d31:f2:bar + 02h, bit 0) of the bus master ide status register for that ide channel is set) and the drive has not yet finished its data transfer (the interrupt bit in the bus master ide status register for that ide channel is not set), the bus master command is said to be aborted and data transferred from the drive may be discarded instead of being written to system memory. 1 = enables bus master operation of the co ntroller. bus master operation does not actually start unle ss the bus master enable bit (d31:f1:04h, bit 2) in pci configuration space is also set. bus master operation begins when this bit is detected changing from 0 to 1. the contro ller will transfer data between the ide device and memory only when this bit is set. master operation can be halted by writing a 0 to this bit. note: this bit is intended to be cleared by software after the data transfer is completed, as indicated by either the bu s master ide active bit being cleared or the interrupt bit of the bus master ide status register for that ide channel being set, or both. hardware does not clea r this bit automatically. if this bit is cleared to 0 prior to the dma data transfer being initiated by the drive in a free datasheet http://www..net/
intel ? ich7 family datasheet 521 sata controller registers (d31:f 2) (desktop and mobile only) 12.2.2 bmis[p,s]?bus master id e status register (d31:f2) address offset: primary: bar + 02h attribute: r/w, r/wc, ro secondary: bar + 0ah default value: 00h size: 8 bits bit description 7 prd interrupt status (prdis) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when the host controller execution of a prd that has its prd_int bit set. 6 drive 1 dma capable ? r/w. 0 = not capable. 1 = capable. set by device de pendent code (bios or device driver) to indicate that drive 1 for this channel is capable of dm a transfers, and that the controller has been initialized for optimum performance. the intel ? ich7 does not use this bit. it is intended for systems that do not attach bmide to the pci bus. 5 drive 0 dma capable ? r/w. 0 = not capable 1 = capable. set by device de pendent code (bios or device driver) to indicate that drive 0 for this channel is capable of dm a transfers, and that the controller has been initialized for optimum performance. th e ich7 does not use this bit. it is intended for systems that do not attach bmide to the pci bus. 4:3 reserved. returns 0. 2 interrupt ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = set when a device fis is received with the ?i? bit set, provided that software has not disabled interrupts via the ie n bit of the device control register (see chapter 5 of the serial ata specification , revision 1.0a). 1 error ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when the controller encoun ters a target abort or master abort when transferring data on pci. 0 bus master ide active (act) ? ro. 0 = this bit is cleared by the ich7 when the last tran sfer for a region is performed, where eot for that region is set in the region descriptor. it is also cleared by the ich7 when the start bus master bit (d31:f2:bar+ 00h, bit 0) is cleared in the command register. when this bit is read as a 0, all data transferred from the drive during the previous bus master command is visible in system memory, unless the bus master command was aborted. 1 = set by the ich7 when the start bit is written to the command register. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 522 intel ? ich7 family datasheet 12.2.3 bmid[p,s]?bus master id e descriptor table pointer register (d31:f2) address offset: primary: bar + 04h?07h attribute: r/w secondary: bar + 0ch ? 0fh default value: all bits undefined size: 32 bits 12.2.4 air?ahci index register (d31:f2) address offset: primary: bar + 10h attribute: r/w, ro default value: 00000000h size: 32 bits 12.2.5 aidr?ahci index da ta register (d31:f2) address offset: primary: bar + 14h attribute: r/w default value: all bits undefined size: 32 bits bit description 31:2 address of descriptor table (addr) ? r/w. the bits in this field correspond to a[31:2]. the descriptor table must be dwor d-aligned. the descri ptor table must not cross a 64-k boundary in memory. 1:0 reserved bit description 31:10 reserved 9:2 index (index) ? r/w : this index register is used to select the dwor d offset of the memory mapped ahci register to be accessed. a dword, word or byte access is specified by the active byte enables of the i/o access to the data register. 1:0 reserved bit description 31:0 data (data) ? r/w : this data register is a ?window? through which data is read or written to the ahci memory mapped registers. a read or write to this data register triggers a corresponding read or write to the memory mapped regi ster pointed to by the index register. the index re gister must be setu p prior to the read or write to this data register. note that a physical register is not actually implemented as the data is actually stored in the memory mapped registers. since this is not a physical register, the ?default? value is the same as the default value of the register po inted to by index. free datasheet http://www..net/
intel ? ich7 family datasheet 523 sata controller registers (d31:f 2) (desktop and mobile only) 12.3 ahci registers (d31:f2) (intel ? ich7r, ich7dh, ich7-m, and ich7-m dh only) note: these registers are ahci-specifi c and available only on ich7 components that support ahci (not on the 82801GB ich7) and when the ich7 is properly configured. the serial ata status, control, and error registers are special exceptions and may be accessed on all ich7 components if proper ly configured (see section section 12.1.35 for details). the memory mapped registers within the sata controller exist in non-cacheable memory space. additionally, locked accesses ar e not supported. if software attempts to perform locked transactions to the registers, indeterminate results may occur. register accesses shall have a maximum size of 64-bits; 64-bit access must not cross an 8-byte alignment boundary. the registers are divided into two sections ? generic host control and port control. the port control registers are the same for all ports, and there are as many registers banks as there are ports. table 12-3. ahci re gister address map abar + offset mnemon ic register 00?1fh ghc generic host control 20h?ffh ? reserved 100h?17fh p0pcr port 0 port control registers 180h?1ffh p1pcr port 1 port control registers (intel ? ich7r and ich7dh only) registers are not available and so ftware must not read or write registers. (mobile only) 200h?27fh p2pcr port 2 port control registers 280h?2ffh p3pcr port 3 port control registers (ich7r and ich7dh only) registers are not available and so ftware must not read or write registers. (mobile only) 300h?3ffh ? reserved free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 524 intel ? ich7 family datasheet 12.3.1 ahci generic host control registers (d31:f2) 12.3.1.1 cap?host capab ilities register (d31:f2) address offset: abar + 00h?03h attribute: r/wo, ro default value: de22ff03h (desktop only) size: 32 bits de12ff03h (mobile only) all bits in this register that ar e r/wo are reset only by pltrst#. table 12-4. generic host cont roller register address map abar + offset mnemonic register default type 00?03 cap host capabilities de22ff03h (intel ? ich7r and ich7dh only) de12ff03h (mobile only) r/wo, ro 04?07 ghc global ich7 control 00000000h r/w 08?0bh is interrupt status 00000000h r/wc, ro 0ch?0fh pi ports implemented 00000000h r/wo, ro 10h?13h vs ahci version 00010100h ro bit description 31 supports 64-bit addressing (s64a) ? ro. indicates that the sata controller can access 64-bit data structures. the 32-bit upper bits of the po rt dma descri ptor, the prd base, and each prd entry are read/write. 30 supports command queue acceleration (scqa) ? ro. hardwired to 1 to indicate that the sata controller su pports sata command queuing via the dma setup fis. the intel ? ich7 handles dma setup fises natively, and can handle auto-activate optimizat ion through that fis. 29 supports snotification regist er (ssntf): ? ro. the ich7 sata controller does not support the snotification register. 28 supports interlock switch (sis) ? r/wo. indicates whether the sata controller supports interlock switches on its ports for use in hot-plug operations. this value is loaded by platform bios prior to os initialization. if this bit is set, bios must also map the satagp pins to the sata controller through gpio space. 27 supports staggered spin-up (sss) ? r/wo. indicates whether the sata controller supports staggered spin-up on its ports, for use in balancing power spikes. this value is loaded by plat form bios prior to os initialization. 0 = staggered spin-up not supported. 1 = staggered spin-up supported. 26 supports aggressive link power management (salp) ? r/wo. indicates the sata controller supports auto-generating link requ ests to the partial or slumber states when there are no commands to process. 0 = aggressive link power management not supported. 1 = aggressive link powe r management supported. free datasheet http://www..net/
intel ? ich7 family datasheet 525 sata controller registers (d31:f 2) (desktop and mobile only) 25 supports activity led (sal) ? ro. indicates that the sata controller supports a single output pin (sataled#) which indicates activity. 24 supports command list override (sclo) ? r/wo. when set to 1, indicates that the hba supports the pxcmd.clo bit and it's associated function. when cleared to '0', the hba is not capable of clearing th e bsy and drq bits in the status register in order to issue a software reset if these bits are still set from a previous operation. 23:20 (desktop only) interface speed support (iss) ? r/wo. indicates the maximum speed the sata controller can support on its ports. 2h =3.0 gb/s. 23:20 (mobile) only interface speed support (iss) ? ro. indicates the maximum speed the sata controller can support on its ports. 1h =1.5 gb/s. 19 supports non-zero dma offsets (snzo) ? ro. reserved, as per the ahci revision 1.0 specification 18 supports port selector acceleration ? ro. port selectors not supported. 17 supports port multiplier (pms) ? r/wo. ich7 does not support port multiplier. bios/sw shall write this bit to ?0? during ahci initialization. 16 supports port multiplier fi s based switching (pmfs) ? ro. reserved, as per the ahci revision 1.0 specification. note: port multiplier not supported by ich7. 15 pio multiple drq block (pmd) ? r/wo. the sata controller supports pio multiple drq command block 14 slumber state capable (ssc) ? ro. the sata controller supports the slumber state. 13 partial state capable (psc) ? ro. the sa ta controller supports the partial state. 12:8 number of command slots (ncs) ? ro. hard wired to 1fh to indicate support for 32 slots. 7:5 reserved. returns 0. 4:0 number of ports (nps) ? ro. hardwired to 3h to indicate support for 4 ports. note that the number of ports indicated in this field may be more than the number of ports indicated in the pi (abar + 0ch) register. bit description free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 526 intel ? ich7 family datasheet 12.3.1.2 ghc?global ich7 control register (d31:f2) address offset: abar + 04h?07h attribute: r/w default value: 00000000h size: 32 bits bit description 31 ahci enable (ae) ? r/w. when set, indicates that an ahci driver is loaded and the controller will be talked to via ahci me chanisms. this can be used by an intel ? ich7 that supports both legacy mechanisms (such as sff-8038i) and ahci to know when the controller will not be talked to as legacy. when set, software will only talk to the ich7 using ahci. the ich7 will not have to allow command processing via both ahci and legacy mechanisms. when cleared, software will only talk to th e ich7 using legacy mechanisms. software shall set this bit to 1 be fore accessing other ahci registers. 30:2 reserved. returns 0. 1 interrupt enable (ie) ? r/w. this global bit enable s interrupts from the ich7. 0 = all interrupt sources from all ports are disabled. 1 = interrupts are allowed from the ahci controller. 0 hba reset (hr) ? r/w. resets ich7 ahci controller. 0 = no effect 1 = causes an internal reset of the ich7 ahci controller. all state machines that relate to data transfers and queuing return to an idle condition, and all ports are re- initialized via comreset. note: for further details, consul t section 12.3.3 of the serial ata advanced host controller interface specification. free datasheet http://www..net/
intel ? ich7 family datasheet 527 sata controller registers (d31:f 2) (desktop and mobile only) 12.3.1.3 is?interrupt status register (d31:f2) address offset: abar + 08h ? 0bh attribute: r/wc, ro default value: 00000000h size: 32 bits this register indicates which of the ports wi thin the controller have an interrupt pending and require service. bit description 31:4 reserved. returns 0. 3 (mobile only) reserved. returns 0. 3 (intel ? ich7r and ich7dh only) interrupt pending status port[3] (ips[3]) ? r/wc . 0 = no interrupt pending. 1 = port 3 has an interrupt pending. softwa re can use this info rmation to determine which ports require serv ice after an interrupt. 2 interrupt pending status port[2] (ips[2]) ? r/wc 0 = no interrupt pending. 1 = port 2 has an interrupt pending. softwa re can use this info rmation to determine which ports require serv ice after an interrupt. 1 (mobile only) reserved. returns 0. 1 (ich7r and ich7dh only) interrupt pending status port[1] (ips[1]) ? r/wc . 0 = no interrupt pending. 1 = port 1has an interrupt pending. softwa re can use this information to determine which ports require serv ice after an interrupt. 0 interrupt pending status port[0] (ips[0]) ? r/wc . 0 = no interrupt pending. 1 = port 0 has an interrupt pending. softwa re can use this info rmation to determine which ports require serv ice after an interrupt. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 528 intel ? ich7 family datasheet 12.3.1.4 pi?ports implemented register (d31:f2) address offset: abar + 0ch?0fh attribute: r/wo, ro default value: 00000000h size: 32 bits this register indicates which ports are expose d to the ich7. it is loaded by platform bios. it indicates which ports that the device supports are available for software to use. for ports that are not available, software must not read or write to registers within that port. 12.3.1.5 vs?ahci version (d31:f2) address offset: abar + 10h?13h attribute: ro default value: 00010100h size: 32 bits this register indicates the major and minor ve rsion of the ahci specification. it is bcd encoded. the upper two bytes represent th e major version number, and the lower two bytes represent the minor version numbe r. example: version 3.12 would be represented as 00030102h. the current version of the specification is 1.10 (00010100h). bit description 31:4 reserved. returns 0. 3 (intel ? ich7r and ich7dh only) ports implemented port 3 (pi3) ? r/wo. 0 = the port is not implemented. 1 = the port is implemented. 3 (mobile only) ports implemented port 3 (pi3) ? ro. 0 = the port is not implemented. 2 ports implemented port 2 (pi2) ? r/wo. 0 = the port is not implemented. 1 = the port is implemented. 1 (ich7r and ich7dh only) ports implemented port 1 (pi1) ? r/wo. 0 = the port is not implemented. 1 = the port is implemented. 1 (mobile only) ports implemented port 1 (pi1) ? ro. 0 = the port is not implemented. 0 ports implemented port 0 (pi0) ? r/wo . 0 = the port is not implemented. 1 = the port is implemented. bit description 31:16 major version number (mjr) ? ro. indicates the major version is 1 15:0 minor version number (mnr) ? ro. indicates the minor version is 10. free datasheet http://www..net/
intel ? ich7 family datasheet 529 sata controller registers (d31:f 2) (desktop and mobile only) 12.3.2 port registers (d31:f2) table 12-5. port [3:0] dma register address map (sheet 1 of 2) abar + offset mnemonic register 100h?103h p0clb port 0 command list base address 104h?107h p0clbu port 0 command li st base addres s upper 32-bits 108h?10bh p0fb port 0 fis base address 10ch?10fh p0fbu port 0 fis base address upper 32-bits 110h?113h p0is port 0 interrupt status 114h?117h p0ie port 0 interrupt enable 118h?11ch p0cmd port 0 command 11ch?11fh ? reserved 120h?123h p0tfd port 0 task file data 124h?127h p0sig port 0 signature 128h?12bh p0ssts port 0 serial ata status 12ch?12fh p0sctl port 0 serial ata control 130h?133h p0serr port 0 serial ata error 134h?137h p0sact port 0 serial ata active 138h?13bh p0ci port 0 command issue 13ch?17fh ? reserved 180h?1ffh (mobile only) ? reserved registers are not available and software must not read from or write to registers. 180h?183h p1clb port 1 command list base address 184h?187h p1clbu port 1 command li st base addres s upper 32-bits 188h?18bh p1fb port 1 fis base address 18ch?18fh p1fbu port 1 fis base address upper 32-bits 190h?193h p1is port 1 interrupt status 194h?197h p1ie port 1 interrupt enable 198h?19ch p1cmd port 1 command 19ch?19fh ? reserved 1a0h?1a3h p1tfd port 1 task file data 1a4h?1a7h p1sig por t 1 signature 1a8h?1abh p1ssts port 1 serial ata status 1ach?1afh p1sctl port 1 serial ata control 1b0h?1b3h p1serr port 1 serial ata error 1b4h?1b7h p1sact port 1 serial ata active 1b8h?1bbh p1ci port 1 command issue 1bch?1ffh ? reserved 200h?203h p2clb port 2 command list base address 204h?207h p2clbu port 2 command li st base addres s upper 32-bits 208h?20bh p2fb port 2 fis base address free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 530 intel ? ich7 family datasheet 20ch?20fh p2fbu port 2 fis base address upper 32-bits 210h?213h p2is port 2 interrupt status 214h?217h p2ie port 2 interrupt enable 218h?21ch p2cmd port 2 command 21ch?21fh ? reserved 220h?223h p2tfd port 2 task file data 224h?227h p2sig port 2 signature 228h?22bh p2ssts port 2 serial ata status 22ch?22fh p2sctl port 2 serial ata control 230h?233h p2serr port 2 serial ata error 234h?237h p2sact port 2 serial ata active 238h?23bh p2ci port 2 command issue 23ch?27fh ? reserved 280h?2ffh (mobile only) ? reserved registers are not available and software must not read from or write to registers. 280h?283h p3clb port 3 command list base address 284h?287h p3clbu port 3 command li st base address upper 32-bits 288h?28bh p3fb port 3 fis base address 28ch?28fh p3fbu port 3 fis base address upper 32-bits 290h?293h p3is port 3 interrupt status 294h?297h p3ie port 3 interrupt enable 298h?29ch p3cmd port 3 command 2 9ch? 2 9fh ? reserved 2a0h?2a3h p3tfd port 3 task file data 2a4h?2a7h p3sig port 3 signature 2a8h?2abh p3ssts port 3 serial ata status 2ach?2afh p3sctl port 3 serial ata control 2b0h?2b3h p3serr port 3 serial ata error 2b4h?2b7h p3sact port 3 serial ata active 2b8h?2bbh p3ci port 3 command issue 2bch?2ffh ? reserved table 12-5. port [3:0] dma register address map (sheet 2 of 2) abar + offset mnemonic register free datasheet http://www..net/
intel ? ich7 family datasheet 531 sata controller registers (d31:f 2) (desktop and mobile only) 12.3.2.1 pxclb?port [3:0] comman d list base address register (d31:f2) address offset: port 0: abar + 100h attribute: r/w, ro port 1: abar + 180h (ich7r and ich7dh only) port 2: abar + 200h port 3: abar + 280h (ich7r and ich7dh only) default value: undefined size: 32 bits 12.3.2.2 pxclbu?port [3:0] comma nd list base address upper 32-bits register (d31:f2) address offset: port 0: abar + 104h attribute: r/w port 1: abar + 184h (ich7r and ich7dh only) port 2: abar + 204h port 3: abar + 284h (ich7r and ich7dh only) default value: undefined size: 32 bits 12.3.2.3 pxfb?port [3:0] fis base address register (d31:f2) address offset: port 0: abar + 108h attribute: r/w, ro port 1: abar + 188h (ich7r and ich7dh only) port 2: abar + 208h port 3: abar + 288h (ich7r and ich7dh only) default value: undefined size: 32 bits bit description 31:10 command list base address (clb) ? r/w . indicates the 32-bit base for the command list for this port. this base is used when fetching commands to execute. the structure pointed to by this a ddress range is 1 kb in length . this address must be 1-kb aligned as indicated by bi ts 31:10 being read/write. note that these bits are not reset on a hba reset. 9:0 reserved ? ro bit description 31:0 command list base address upper (clbu) ? r/w . indicates the upper 32-bits for the command list base address for this po rt. this base is us ed when fetching commands to execute. note that these bits are not reset on a hba reset. bit description 31:8 fis base address (fb) ? r/w . indicates the 32-bit base for received fises. the structure pointed to by this address range is 256 bytes in length. this address must be 256-byte aligned, as indicated by bits 31:3 being read/write. note that these bits are not reset on a hba reset. 7:0 reserved ? ro free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 532 intel ? ich7 family datasheet 12.3.2.4 pxfbu?port [3:0] fis base address upper 32-bits register (d31:f2) address offset: port 0: abar + 10ch attribute: r/w port 1: abar + 18ch port 2: abar + 20ch port 3: abar + 28ch default value: undefined size: 32 bits 12.3.2.5 pxis?port [3:0] interrupt status register (d31:f2) address offset: port 0: abar + 110h attribute: r/wc, ro port 1: abar + 190h (ich7r and ich7dh only) port 2: abar + 210h port 3: abar + 290h (ich7r and ich7dh only default value: 00000000h size: 32 bits bit description 31:3 fis base address upper (fbu) ? r/w . indicates the upper 32-bits for the received fis base for this port. note that these bits are not reset on a hba reset. 2:0 reserved bit description 31 cold port detect status (cpds) ? ro . cold presence not supported. 30 task file error status (tfes) ? r/wc. this bit is set whenever the status register is updated by the device and the e rror bit (pxtfd.bit 0) is set. 29 host bus fatal error status (hbfs) ? r/wc . indicates that the intel ? ich7 encountered an error that it cannot recover from due to a ba d software pointer. in pci, such an indication would be a target or master abort. 28 host bus data error status (hbds) ? r/wc . indicates that the ich7 encountered a data error (uncorrectable ecc / parity) when reading from or writing to system memory. 27 interface fatal error status (ifs) ? r/wc . indicates that the ich7 encountered an error on the sata interface whic h caused the transfer to stop. 26 interface non-fatal error status (infs) ? r/wc. indicates that the ich7 encountered an error on the sata interfa ce but was able to continue operation. 25 reserved 24 overflow status (ofs) ? r/wc . indicates that the ich7 received more bytes from a device than was specified in the prd table for the command. 23 incorrect port multiplier status (ipms) ? r/wc. indicates that the ich7 received a fis from a device whose port multiplier field did not match what was expected. note: port multiplier not supported by ich7. 22 phyrdy change status (prcs) ? ro. when set to one indicates the internal phyrdy signal changed state. this bi t reflects the state of pxserr .diag.n. unlike most of the other bits in the register, th is bit is ro and is only cl eared when pxserr.diag.n is cleared. note that the internal phyrdy signal also transitions when the port interface enters partial or slumber power management states . partial and slumber must be disabled when surprise removal notification is desi red, otherwise the po wer management state transitions will appear as fals e insertion and removal events. free datasheet http://www..net/
intel ? ich7 family datasheet 533 sata controller registers (d31:f 2) (desktop and mobile only) 12.3.2.6 pxie?port [3:0] interru pt enable register (d31:f2) address offset: port 0: abar + 114h attribute: r/w, ro port 1: abar + 194h (ich7r and ich7dh only) port 2: abar + 214h port 3: abar + 294h (ich7r and ich7dh only) default value: 00000000h size: 32 bits this register enables and disables the re porting of the corresponding interrupt to system software. when a bit is set (?1?) an d the corresponding interrupt condition is active, then an interrupt is generated. inte rrupt sources that are disabled (?0?) are still reflected in the status registers. 21:8 reserved 7 device interlock status (dis) ? r/wc. when set, indicates that a platform interlock switch has been opened or cl osed, which may lead to a chan ge in the connection state of the device.this bit is only valid in systems that support an interlock switch (cap.sis [abar+00:bit 28] set). for systems that do not support an interl ock switch, this bit will always be 0. 6 port connect change status (pcs) ? ro . this bit reflects the state of pxserr.diag.x. (abar+130h/1d0h/230h/2d0h, bit 26) unlike other bits in this register, this bit is only cleare d when pxserr.diag.x is cleared. 0 = no change in current connect status. 1 = change in current connect status. 5 descriptor pr ocessed (dps) ? r/wc . a prd with the i bit set has transferred all its data. 4 unknown fis interrupt (ufs) ? ro. when set to ?1? indicates that an unknown fis was received and has been copied into syst em memory. this bit is cleared to ?0? by software clearing the pxserr.diag.f bit to ?0?. note that this bit does not directly reflect the pxserr.diag.f bit. pxserr.diag.f is set immediately when an unknown fis is detected, whereas this bit is set wh en the fis is posted to memory. software should wait to act on an unknown fis until this bit is set to ?1? or the two bits may become out of sync. 3 set device bits interrupt (sdbs) ? r/wc . a set device bits fis has been received with the i bit set and has been copied into system memory. 2 dma setup fis interrupt (dss) ? r/wc . a dma setup fis has been received with the i bit set and has been copied into system memory. 1 pio setup fis interrupt (pss) ? r/wc . a pio setup fis has been received with the i bit set, it has been copied into system memory, and the data related to that fis has been transferred. 0 device to host register fis interrupt (dhrs) ? r/wc . a d2h register fis has been received with the i bit set, and has been copied into system memory. bit description bit description 31 cold presence detect enab le (cpde) ? ro. cold pres ence detect not supported. 30 task file error enable (tfee) ? r/w . when set, and ghc.ie and pxtfd.sts.err (due to a reception of the error register from a received fis) are set, the intel ? ich7 will generate an interrupt. 29 host bus fatal error enable (hbfe) ? r/w . when set, and ghc.ie and pxs.hbfs are set, the ich7 will generate an interrupt. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 534 intel ? ich7 family datasheet 28 host bus data error enable (hbde) ? r/w . when set, and ghc.ie and pxs.hbds are set, the ich7 will generate an interrupt. 27 host bus data error enable (hbde) ? r/w. when set, ghc.ie is set, and pxis.hbds is set, the ich7 will generate an interrupt. 26 interface non-fatal error enable (infe) ? r/w. when set, ghc.ie is set, and pxis.infs is set, the ich7 will generate an interrupt. 25 reserved - should be written as 0 24 overflow error enable (ofe) ? r/w . when set, and ghc.ie and pxs.ofs are set, the ich7 will generate an interrupt. 23 incorrect port multiplier enable (ipme) ? r/w. when set, and ghc.ie and pxis.ipms are set, the ich7 will generate an interrupt. note: should be written as 0. port mu ltiplier not supported by ich7. 22 phyrdy change interrupt enable (prce) ? r/w. when set, and ghc.ie is set, and pxis.prcs is set, the ich7 shall generate an interrupt. 21:8 reserved - should be written as 0 7 device interlock enable (die) ? r/w. when set, and pxis.d is is set, the ich7 will generate an interrupt. for systems that do not suppo rt an interlock switch, this bit shall be a read-only 0. 6 port change interrupt enable (pce) ? r/w . when set, and ghc.ie and pxs.pcs are set, the ich7 will generate an interrupt. 5 descriptor processed interrupt enable (dpe) ? r/w . when set, and ghc.ie and pxs.dps are set, the ich7 will generate an interrupt 4 unknown fis interrupt enable (ufie) ? r/w . when set, and ghc. ie is set and an unknown fis is received, the ich7 will generate this interrupt. 3 set device bits fis interrupt enable (sdbe) ? r/w . when set, and ghc.ie and pxs.sdbs are set, the ich7 will generate an interrupt. 2 dma setup fis interrupt enable (dse) ? r/w . when set, and ghc.ie and pxs.dss are set, the ich7 will generate an interrupt. 1 pio setup fis interrupt enable (pse) ? r/w . when set, and ghc.ie and pxs.pss are set, the ich7 will generate an interrupt. 0 device to host re gister fis interrupt enable (dhre) ? r/w . when set, and ghc.ie and pxs.dhrs are set, the ich7 will generate an interrupt. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 535 sata controller registers (d31:f 2) (desktop and mobile only) 12.3.2.7 pxcmd?port [3:0] command register (d31:f2) address offset: port 0: abar + 118h attribute: r/w, ro, r/wo port 1: abar + 198h (ich7r and ich7dh only) port 2: abar + 218h port 3: abar + 298h (ich7r and ich7dh only) default value: 0000w00wh size: 32 bits where w = 00?0b (for?, see bit description) bit description 31:28 interface communication control (icc) ? r/w . this is a four bit field which can be used to control reset and power states of th e interface. writes to this field will cause actions on the interface, either as primitiv es or an oob sequen ce, and the resulting status of the interface will be reported in the pxssts re gister (address offset port 0:abar+124h, port 1: abar+1a4h, port 2: abar+224h, port 3: abar+2a4h). when system software writes a non-reserved value other than no-op (0h), the ich7 will perform the action an d update this field back to idle (0h). if software writes to this fiel d to change the state to a stat e the link is already in (e.g. interface is in the active state and a request is made to go to the active state), the ich7 will take no action and return this field to idle. note: when the alpe bit (bit 26) is set, then this register sh ould not be set to 02h or 06h. 27 aggressive slumber / partial (asp) ? r/w . when set, and the alpe bit (bit 26) is set, the ich7 will aggressively enter the slum ber state when it clea rs the pxci register and the pxsact register is cleared. when clea red, and the alpe bit is set, the ich7 will aggressively enter the partial state when it clears the pxci regi ster and the pxsact register is cleared. 26 aggressive link power ma nagement enable (alpe) ? r/w . when set, the ich7 will aggressively enter a lower link power state (partial or slum ber) based upon the setting of the asp bit (bit 27). 25 drive led on atapi enable (dlae) ? r/w . when set, the ich7 will drive the led pin active for atapi commands (pxclb[chz.a] set) in addition to ata commands. when cleared, the ich7 will only drive th e led pin active for ata commands. see section 5.17.5 for details on the activity led. 24 hdevice is atapi (atapi) ? r/w. when set, the connected device is an atapi device. this bit is used by the ich7 to control whether or not to generate the desktop led when commands are active. see section 5.17.5 for details on the activity led. 23:20 reserved value definition fh?7h reserved 6h slumber: this will cause the intel ? ich7 to request a transition of the interface to the slumber state. the sata device may reject the request and the interface will rema in in its cu rrent state 5h?3h reserved 2h partial: this will cause the ich7 to request a transition of the interface to the partial state. the sata device may reject the request and the interface will remain in its current state. 1h active: this will cause the ich7 to request a transition of the interface into the active 0h no-op / idle: when software reads this value, it indicates the ich7 is not in the process of changing the interface state or sending a device reset, and a new link command may be issued. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 536 intel ? ich7 family datasheet 19 interlock switch attached to port (isp) ? r/wo. when interlock switches are supported in the platform (cap.sis [abar+00 h:bit 28] set), this indicates whether this particular port has an interlock switch attached. this bit can be used by system software to enable such features as aggressive po wer management, as disconnects can always be detected regardless of phy state with an interlock switch. when this bit is set, it is expected that hpcp (bit 18) in this re gister is also set. the ich7 takes no action on the state of this bit ? it is for system software only. for example, if this bit is cleared, and an interlock switch toggles, the ich7 still treats it as a proper interlock switch event. note that these bits are not reset on a hba reset. 18 hot plug capable port (hpcp) ? r/wo. 0 = port is not capable of hot-plug. 1 = port is hot-plug capable. this indicates whether the pl atform exposes this port to a device which can be hot- plugged. sata by definition is hot-pluggable, but not all platforms are constructed to allow the device to be remove d (it may be screwed into the chassis, for example). this bit can be used by system software to indica te a feature such as ?eject device? to the end-user. the ich7 takes no action on the stat e of this bit - it is for system software only. for example, if this bit is cleared, and a hot-plug event occurs, the ich7 still treats it as a proper hot-plug event. note that these bits are not reset on a hba reset. 17 port multiplier attached (pma) ? ro / r/w. when this bit is set, a port multiplier is attached to the ich7 for this port. when cleared, a port multiplier is not attached to this port. this bit is ro 0 when cap.pms (offset ab ar+00h:bit 17) = 0 and r/w when cap.pms = 1. note: port multiplier not supported by ich7. 16 port multiplier fis based switching enable (pmfse) ? ro. the ich7 does not support fis-based switching. note: port multiplier not supported by ich7. 15 controller running (cr) ? ro. when this bit is set, the dma engines for a port are running. see section 5.2.2 of the serial ata ahci specification for details on when this bit is set and cleared by the ich7. 14 fis receive running (fr) ? ro. when set, the fis receive dma engine for the port is running. see section 12.2.2 of the serial ata ahci specification for details on when this bit is set and cleared by the ich7. 13 interlock switch state (iss) ? ro. for systems that suppo rt interlock switches (via cap.sis [abar+00h:bit 28]), if an interlock switch exists on this port (via isp in this register), this bit indicates the current state of the interlock switch. a 0 indicates the switch is closed, and a 1 indicates the switch is opened. for systems that do not support interlock sw itches, or if an inte rlock switch is not attached to this port , this bit reports 0. 12:8 current command slot (ccs) ? ro . indicates the current command slot the ich7 is processing. this field is valid when the st bi t is set in this register, and is constantly updated by the ich7. this field can be updated as soon as th e ich7 recognizes an active command slot, or at some point soon afte r when it begins pr ocessing the command. this field is used by software to determin e the current command issue location of the ich7. in queued mode, software shall not use this field, as its va lue does not represent the current command being executed. software shall only use pxci and pxsact when running queued commands. 7:5 reserved bit description free datasheet http://www..net/
intel ? ich7 family datasheet 537 sata controller registers (d31:f 2) (desktop and mobile only) 4 fis receive enable (fre) ? r/w. when set, the ich7 may post received fises into the fis receive area pointed to by pxfb (abar+108h/188h/208h/288h) and pxfbu (abar+10ch/18ch/20ch/28ch). when cleared, received fises are not accepted by the ich7, except for the first d2h (device-to-h ost) register fis af ter the initialization sequence. system software must not set this bit until pxfb (pxfbu) have been programmed with a valid pointer to the fis receive area, and if software wishes to move the base, this bit must first be cleared, and softwa re must wait for the fr bit (bit 14) in this register to be cleared. 3 command list override (clo) ? r/w. setting this bit to '1' causes pxtfd.sts.bsy and pxtfd.sts.drq to be cleared to '0'. this al lows a software reset to be transmitted to the device regardless of wh ether the bsy and drq bits are still set in the pxtfd.sts register. the hba sets this bit to '0' wh en pxtfd.sts.bsy and pxtfd.sts.drq have been cleared to '0'. a write to this register with a value of '0' shall have no effect. this bit shall only be set to '1' immediately prior to setting the pxcmd.st bit to '1' from a previous value of '0'. setting this bit to '1 ' at any other time is not supported and will result in indeterminate behavior 2 power on device (pod) ? ro . cold presence de tect not supported. defaults to 1. 1 spin-up device (sud) ? r/w / ro. this bit is r/w and defaults to 0 for systems that support staggered spin-up (r/w when cap.sss (abar+00h:bit 27) is 1). bit is ro 1 for systems that do not support stagge red spin-up (when cap.sss is 0). 0 = no action. 1 = on an edge detect from 0 to 1, the ich7 starts a comreset initialization sequence to the device. 0 start (st) ? r/w . when set, the ich7 may process the command list. when cleared, the ich7 may not process the command list. whenever this bit is changed from a 0 to a 1, the ich7 starts processing the command list at entry 0. whenever this bit is changed from a 1 to a 0, the pxci register is clea red by the ich7 upon the ich7 putting the controller into an idle state. refer to section 10.3.1 of the serial ata ahci specification for impo rtant restrictions on when st can be set to 1. bit description free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 538 intel ? ich7 family datasheet 12.3.2.8 pxtfd?port [3:0] task file data register (d31:f2) address offset: port 0: abar + 120h attribute: ro port 1: abar + 1a0h (ich7r and ich7dh only) port 2: abar + 220h port 3: abar + 2a0h (ich7r and ich7dh only) default value: 0000007fh size: 32 bits this is a 32-bit register that copies specific fields of the task file when fises are received. the fises that contain this information are: d2h register fis pio setup fis set device bits fis 12.3.2.9 pxsig?port [3:0] signature register (d31:f2) address offset: port 0: abar + 124h attribute: ro port 1: abar + 1a4h (ich7r and ich7dh only) port 2: abar + 224h port 3: abar + 2a4h (ich7r and ich7dh only) default value: ffffffffh size: 32 bits this is a 32-bit register which contains the initial signature of an attached device when the first d2h register fis is received from th at device. it is updated once after a reset sequence. bit description 31:16 reserved 15:8 error (err) ? ro . contains the latest copy of the task file error register. 7:0 status (sts) ? ro . contains the latest copy of the task file status register. fields of note in this register that affect ahci. bit field definition 7 bsy indicates the interface is busy 6:4 n/a not applicable 3 drq indicates a data transfer is requested 2:1 n/a not applicable 0 err indicates an error during the transfer bit description 31:0 signature (sig) ? ro . contains the signature received from a device on the first d2h register fis. the bit order is as follows: bit field 31:24 lba high register 23:16 lba mid register 15:8 lba low register 7:0 sector count register free datasheet http://www..net/
intel ? ich7 family datasheet 539 sata controller registers (d31:f 2) (desktop and mobile only) 12.3.2.10 pxssts?port [3:0] serial ata status register (d31:f2) address offset: port 0: abar + 128h attribute: ro port 1: abar + 1a8h (desktop only) port 2: abar + 228h port 3: abar + 2a8h (desktop only) default value: 00000000h size: 32 bits this is a 32-bit register that conveys the current state of the interface and host. the ich7 updates it continuously and asyn chronously. when the ich7 transmits a comreset to the device, this register is updated to its reset values. bit description 31:12 reserved 11:8 interface power management (ipm) ? ro. indicates the cu rrent interface state: all other values reserved. 7:4 current interface speed (spd) ? ro. indicates the negotiated interface communication speed. all other values reserved. intel ? ich7 supports generation 1 communication rates (1.5 gb/sec) and gen 2 rates (3.0 gb/s). ich7 mobile skus support generation 1 communication rates (1.5 gb/sec). 3:0 device detection (det) ? ro . indicates the interface de vice detection and phy state: all other values reserved. va l ue descr i pt i on 0h device not present or communication not established 1h interface in active state 2h interface in partial power management state 6h interface in slumber power management state v a l ue d escr i p ti on 0h device not present or communication not established 1h generation 1 communication rate negotiated 2h generation 2 communication rate negotiated value description 0h no device de tected and phy communication not established 1h device presence detected but phy communication not established 3h device presence detected and phy communication established 4h phy in offline mode as a result of the interface being disabled or running in a bist loopback mode free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 540 intel ? ich7 family datasheet 12.3.2.11 pxsctl ? port [3:0] serial ata control register (d31:f2) address offset: port 0: abar + 12ch attribute: r/w, ro port 1: abar + 1ach (desktop only port 2: abar + 22ch port 3: abar + 2ach (desktop only) default value: 00000004h size: 32 bits this is a 32-bit read-write register by which software controls sata capabilities. writes to the scontrol register result in an action being taken by the ich7 or the interface. reads from the register return the last value written to it. bit description 31:20 reserved 19:16 port multiplier port (pmp) ? ro. this field is not used by ahci note: port multiplier not supported by intel ? ich7. 15:12 select power management (spm) ? ro. this field is not used by ahci 11:8 interface power management transitions allowed (ipm) ? r/w. indicates which power states the ich7 is allowed to transition to: all other values reserved 7:4 speed allowed (spd) ? r/w. indicates the highest al lowable speed of the interface. this speed is limited by the ca p.iss (abar+00h:bit 23:20) field. all other values reserved ich7 supports generation 1 communication rates (1.5 gb/sec) and gen 2 rates (3.0 gb/s). ich7 mobile skus support generation 1 communication rates (1.5 gb/sec). 3:0 device detection initialization (det) ? r/w . controls the ich7?s device detection and interface initialization. all other values reserved. when this field is written to a 1h, the ich7 initiates comreset and starts the initialization process. when the initialization is complete, this field shall remain 1h until set to another value by software. this field may only be change d to 1h or 4h when pxcmd.st is 0. changing this field while the ich7 is running re sults in undefined behavior. value description 0h no interface restrictions 1h transitions to the partial state disabled 2h transitions to the slumber state disabled 3h transitions to both partial and slumber states disabled value description 0h no speed negotiation restrictions 1h limit speed negotiation to generation 1 communication rate 2h limit speed negotiation to generation 2 communication rate value description 0h no device detection or initialization action requested 1h perform interface communication initialization sequence to establish communication. this is fu nctionally equivalent to a hard reset and results in the interface being reset and communications re-initialized 4h disable the serial ata interface and put phy in offline mode free datasheet http://www..net/
intel ? ich7 family datasheet 541 sata controller registers (d31:f 2) (desktop and mobile only) 12.3.2.12 pxserr?port [3:0] seri al ata error register (d31:f2) address offset: port 0: abar + 130h attribute: r/wc port 1: abar + 1b0h ( i ch7r and ich7dh only) port 2: abar + 230h port 3: abar + 2b0h (ich7r and ich7dh only) default value: 00000000h size: 32 bits bit description 31:16 diagnostics (diag) ? r/wc . contains diagnostic erro r information for use by diagnostic software in validating corre ct operation or isolating failure modes: bits description 31:27reserved 26 exchanged (x) : when set to one this bit in dicates a cominit signal was received. this bit is reflected in the interrupt re gister pxis.pcs. 25 unrecognized fis type (f) : indicates that one or more fiss were received by the transport layer with good crc, but had a type fiel d that was not recognized. 24 transport state transition error (t) : indicates that an error has occurred in the transition from one state to another within the tran sport layer since the last time this bit was cleared. 23 link sequence error (s) : indicates that one or more link state machine error conditions was encountered. the link layer state machine defines the conditions under which the link layer dete cts an erroneous transition. 22 handshake error (h) : indicates that one or more r_err handshake response was received in response to frame transmission. such errors may be the result of a crc error detected by the recipient, a disparity or 8b/10b decoding error, or other error condition leading to a negative handshake on a transmitted frame. 21 crc error (c) : indicates that one or more crc errors oc curred with the link layer. 20 disparity error (d) : this field is not used by ahci. 19 10b to 8b decode error (b) : indicates that one or more 10b to 8b decoding errors occurred. 18 comm wake (w) : indicates that a comm wake si gnal was detected by the phy. 17 phy internal error (i) : indicates that the phy dete cted some internal error. 16 phyrdy change (n) : when set to 1 this bit indicates that the internal phyrdy signal changed state since the last time this bit was cleared. in the intel ? ich7, this bit will be set when phyrdy changes from a 0 -> 1 or a 1 -> 0. the state of this bit is then reflected in the pxis.prcs interrupt status bit and an interrupt will be generated if enabled. software cl ears this bit by writing a 1 to it. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 542 intel ? ich7 family datasheet 12.3.2.13 pxsact?port [3:0] serial ata active (d31:f2) address offset: port 0: abar + 134h attribute: r/w port 1: abar + 1b4h (ich7r and ich7dh only) port 2: abar + 234h port 3: abar + 2b4h (ich7r and ich7dh only) default value: 00000000h size: 32 bits 15:0 error (err) ? r/wc . the err field contains error information for use by host software in determining the appropri ate response to the error condition. if one or more of bits 11:8 of this register are set, the co ntroller will stop the current transfer. bits description 15:12reserved 11 internal error (e) : the sata controller failed due to a master or target abort when attempting to access system memory. 10 protocol error (p) : a violation of the serial at a protocol was detected. note: the ich7 does not set this bit for all pr otocol violations that may occur on the sata link. 9 persistent communication or data integrity error (c) : a communication error that was not recovered occurred th at is expected to be persistent. persistent communications errors may ar ise from faulty inte rconnect with the device, from a device that has been removed or has failed, or a number of other causes. 8 transient data integrity error (t) : a data integrity error occurred that was not recovered by the interface. 7:2 reserved 1 recovered communications error (m) : communications be tween the device and host was temporarily lost but was re-established. this can arise from a device temporarily being removed, from a temporary loss of phy synchronization, or from other causes and may be derive d from the phynrdy si gnal between the phy and link layers. 0 recovered data integrity error (i) : a data integrity e rror occurred that was recovered by the interface through a retr y operation or other recovery action. bit description bit description 31:0 device status (ds) ? r/w . system software sets this bi t for sata queuing operations prior to setting the pxci.ci bit in the same co mmand slot entry. this field is cleared via the set device bits fis. this field is also cleared when pxcmd. st (abar+118h/198h/218h/298h:bit 0) is cleared by software, and as a re sult of a comreset or srst. free datasheet http://www..net/
intel ? ich7 family datasheet 543 sata controller registers (d31:f 2) (desktop and mobile only) 12.3.2.14 pxci?port [3:0] command issue register (d31:f2) address offset: port 0: abar + 138h attribute: r/w port 1: abar + 1b8h (ich7r and ich7dh only) port 2: abar + 238h port 3: abar + 2b8h (ich7r and ich7dh only) default value: 00000000h size: 32 bits bit description 31:0 commands issued (ci) ? r/w . this field is set by software to indicate to the intel ? ich7 that a command has been built-in sy stem memory for a command slot and may be sent to the device. when the ich7 receives a fis which clears the bsy and drq bits for the command, it clears the corresponding bit in this register for that command slot. this field is also cleared when pxcmd. st (abar+118h/198h/218h/298h:bit 0) is cleared by software. free datasheet http://www..net/
sata controller registers (d31:f2) (desktop and mobile only) 544 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 545 ehci controller registers (d29:f7) 13 ehci controller registers (d29:f7) 13.1 usb ehci configuration registers (usb ehci?d29:f7) note: register address locations that are not shown in table 13-1 should be treated as reserved (see section 6.2 for details). note: all configuration registers in this section ar e in the core well and reset by a core well reset and the d3-to-d0 warm reset, except as noted. table 13-1. usb ehci pci register addres s map (usb ehci?d29:f7) (sheet 1 of 2) offset mnemonic register name default val ue type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description. ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0290h r/w, ro 08h rid revision identification see register description ro 09h pi programming interface 20h ro 0ah scc sub class code 03h ro 0bh bcc base class code 0ch ro 0dh pmlt primary master latency timer 00h ro 10h?13h mem_base memory base address 00000000h r/w, ro 2ch?2dh svid usb ehci subsystem vendor identification xxxxh r/w (special) 2eh?2fh sid usb ehci subsystem identification xxxxh r/w (special) 34h cap_ptr capabilities pointer 50h ro 3ch int_ln interrupt line 00h r/w 3dh int_pn interrupt pin see register description ro 50h pwr_capid pci power management capability id 01h ro 51h nxt_ptr1 next item pointer #1 58h r/w (special) 52h?53h pwr_cap power manage ment capabilities c9c2h r/w (special) 54h?55h pwr_cntl_sts power management control/status 0000h r/w, r/wc, ro free datasheet http://www..net/
ehci controller registers (d29:f7) 546 intel ? ich7 family datasheet 13.1.1 vid?vendor identi fication register (usb ehci?d29:f7) offset address: 00h ? 01h attribute: ro default value: 8086h size: 16 bits 13.1.2 did?device identi fication register (usb ehci?d29:f7) offset address: 02h ? 03h attribute: ro default value: see bit description size: 16 bits 58h debug_capid debug port capability id 0ah ro 59h nxt_ptr2 next item pointer #2 00h ro 5ah?5bh debug_base debug port base offset 20a0h ro 60h usb_relnum usb release number 20h ro 61h fl_adj frame length adjustment 20h r/w 62h?63h pwake_cap port wake capabilities 01ffh r/w 64h?67h ? reserved ? ? 68h?6bh leg_ext_cap usb ehci legacy support extended capability 00000001h r/w, ro 6ch?6fh leg_ext_cs usb ehci legacy extended support control/status 00000000h r/w, r/wc, ro 70h?73h special_smi intel specific usb 2.0 smi 00000000h r/w, r/wc 74h?7fh ? reserved ? ? 80h access_cntl access control 00h r/w table 13-1. usb ehci pci register address map (usb ehci?d29:f7) (sheet 2 of 2) offset mnemonic register name default val ue type bit description 15:0 vendor id ? ro. this is a 16-bit value assigned to intel. bit description 15:0 device id ? ro. this is a 16-b it value assigned to the intel ? ich7 usb ehci controller. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the device id register. free datasheet http://www..net/
intel ? ich7 family datasheet 547 ehci controller registers (d29:f7) 13.1.3 pcicmd?pci co mmand register (usb ehci?d29:f7) address offset: 0h4 ? 05h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:11 reserved 10 interrupt disable ? r/w. 0 = the function is capable of genera ting interrupts. 1 = the function can not generate its interrupt to the interrupt controller. note that the corresponding interrupt status bit (d29:f7:06h, bit 3) is not affected by the interrupt enable. 9 fast back to back enable (fbe) ? ro. hardwired to 0. 8 serr# enable (serr_en) ? r/w. 0 = disables ehc?s capability to generate an serr#. 1 = the enhanced host controller ( ehc) is capable of genera ting (internally) serr# when it receive a completion status other than ?succe ssful? for one of its dma- initiated memory reads on dmi (and su bsequently on its internal interface). 7 wait cycle control (wcc) ? ro. hardwired to 0. 6 parity error response (per) ? ro. 1 = ehci host controller will check for correct parity and halt operation when bad parity is detected during the data phase as recommended by the ehci specification. if it detects bad parity on the address or command phases when this bit is set to 1, the host controller does not take the cycle, halts the host controller (if currently not halted), and sets the host system error bit in the usbsts register. note that this applies to both requests and completions from the system interface. this bit must be set in order for the parity errors to generate serr#. 5 vga palette snoop (vps) ? ro. hardwired to 0. 4 postable memory write enable (pmwe) ? ro. hardwired to 0. 3 special cycle enable (sce) ? ro. hardwired to 0. 2 bus master enable (bme) ? r/w. 0 = disables this functionality. 1 = enables the intel ? ich7 to act as a master on the pci bus for usb transfers. 1 memory space enable (mse) ? r/w. this bit controls access to the usb 2.0 memory space registers. 0 = disables this functionality. 1 = enables accesses to the usb 2.0 registers. the base address register (d29:f7:10h) for usb 2.0 should be pr ogrammed before this bit is set. 0 i/o space enable (iose) ? ro. hardwired to 0. free datasheet http://www..net/
ehci controller registers (d29:f7) 548 intel ? ich7 family datasheet 13.1.4 pcists?pci status register (usb ehci?d29:f7) address offset: 06h ? 07h attribute: r/w, ro default value: 0290h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. bit description 15 detected parity error (dpe) ? ro. hardwired to 0. 14 signaled system error (sse) ? r/w. 0 = no serr# signaled by intel ? ich7. 1 = this bit is set by the ich7 when it sign als serr# (internally). the ser_en bit (bit 8 of the command register) must be 1 for this bit to be set. 13 received master abort (rma) ? r/w. 0 = no master abort received by ehc on a memory access. 1 = this bit is set when ehc, as a master, receives a master abort status on a memory access. this is treated as a host error and halts the dma engines. this event can optionally generate an serr# by setting the serr# enable bit . 12 received target abort (rta) ? r/w. 0 = no target abort received by ehc on memory access. 1 = this bit is set when ehc, as a master, re ceives a target abort status on a memory access. this is treated as a host error and halts the dma engines. this event can optionally generate an serr# by setting the serr# enable bit (d29:f7:04h, bit 8). 11 signaled target abort (sta) ? ro. this bit is used to indicate wh en the ehci function responds to a cycle with a target abort. there is no reason for this to happen, so this bit will be hardwired to 0. 10:9 devsel# timing status (devt_sts) ? ro. this 2-bit field defines the timing for devsel# assertion. 8 master data parity error detected (dped) ? r/w. 0 = no data parity error detected on usb2.0 read completion packet. 1 = this bit is set by the ich7 when a data parity error is detect ed on a usb 2.0 read completion packet on the internal interface to the ehci host controller and bit 6 of the command regist er is set to 1. 7 fast back to back capable (fb2bc) ? ro. hardwired to 1. 6 user definable features (u df) ? ro. hardwired to 0. 5 66 mhz capable (66 mhz _cap) ? ro. hardwired to 0. 4 capabilities list (cap _list) ? ro. hardwired to 1 indica ting that offset 34h contains a valid capabilities pointer. 3 interrupt status ? ro. this bit reflects the state of this function?s interrupt at the input of the enable/disable logic. 0 = this bit will be 0 when the interrupt is de-asserted. 1 = this bit is a 1 when th e interrupt is asserted. the value reported in this bit is independen t of the value in the interrupt enable bit. 2:0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 549 ehci controller registers (d29:f7) 13.1.5 rid?revision identification register (usb ehci?d29:f7) offset address: 08h attribute: ro default value: see bit description size: 8 bits 13.1.6 pi?programming interface register (usb ehci?d29:f7) address offset: 09h attribute: ro default value: 20h size: 8 bits 13.1.7 scc?sub class code register (usb ehci?d29:f7) address offset: 0ah attribute: ro default value: 03h size: 8 bits 13.1.8 bcc?base clas s code register (usb ehci?d29:f7) address offset: 0bh attribute: ro default value: 0ch size: 8 bits bit description 7:0 revision id ? ro. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the revision id register. bit description 7:0 programming interface ? ro. a value of 20h indicates that this usb 2.0 host controller conforms to the ehci specification. bit description 7:0 sub class code (scc) ? ro. 03h = universal serial bus host controller. bit description 7:0 base class code (bcc) ? ro. 0ch = serial bus controller. free datasheet http://www..net/
ehci controller registers (d29:f7) 550 intel ? ich7 family datasheet 13.1.9 pmlt?primary master latency timer register (usb ehci?d29:f7) address offset: 0dh attribute: ro default value: 00h size: 8 bits 13.1.10 mem_base?memory ba se address register (usb ehci?d29:f7) address offset: 10h ? 13h attribute: r/w, ro default value: 00000000h size: 32 bits 13.1.11 svid?usb ehci subsys tem vendor id register (usb ehci?d29:f7) address offset: 2ch ? 2dh attribute: r/w (special) default value: xxxx h size: 16 bits reset: none bit description 7:0 master latency timer count (mltc) ? ro . hardwired to 00h. because the ehci controller is internally implemented with arbitration on an interface (and not pci), it does not need a master latency timer. bit description 31:10 base address ? r/w. bits [31:10] correspond to memory address signals [31:10], respectively. this gives 1-kb of locatable memory space aligned to 1-kb boundaries. 9:4 reserved 3 prefetchable ? ro. hardwired to 0 indicating that this range should not be prefetched. 2:1 type ? ro. hardwired to 00b indicating that this range can be mapped anywhere within 32-bit address space. 0 resource type indicator (rte) ? ro. hardwire d to 0 indicating that the base address field in this register maps to memory space. bit description 15:0 subsystem vendor id (svid) ? r/w (special). this register, in combination with the usb 2.0 subsystem id register, enables th e operating system to distinguish each subsystem from the others. note: writes to this register are enabled wh en the wrt_rdonly bit (d29:f7:80h, bit 0) is set to 1. free datasheet http://www..net/
intel ? ich7 family datasheet 551 ehci controller registers (d29:f7) 13.1.12 sid?usb ehci su bsystem id register (usb ehci?d29:f7) address offset: 2eh ? 2fh attribute: r/w (special) default value: xxxxh size: 16 bits reset: none 13.1.13 cap_ptr?capabilit ies pointer register (usb ehci?d29:f7) address offset: 34h attribute: ro default value: 50h size: 8 bits 13.1.14 int_ln?interrupt line register (usb ehci?d29:f7) address offset: 3ch attribute: r/w default value: 00h size: 8 bits 13.1.15 int_pn?interrupt pin register (usb ehci?d29:f7) address offset: 3dh attribute: ro default value: see description size: 8 bits bit description 15:0 subsystem id (sid) ? r/w (special). bios sets the va lue in this register to identify the subsystem id. this register, in combination with th e subsystem vendor id register, enables the operating system to distinguish each subsystem from other(s). note: writes to this register are enabled when the wrt_rdonly bit (d29:f7:80h, bit 0) is set to 1. bit description 7:0 capabilities pointer (cap_ptr) ? ro. this register points to the starting offset of the usb 2.0 capabilities ranges. bit description 7:0 interrupt line (int_ln) ? r/w. this data is not used by the intel ? ich7. it is used as a scratchpad register to communicate to software th e interrupt line that the interrupt pin is connected to. bit description 7:0 interrupt pin ? ro. this reflects the value of d29ip.eip (chipset config registers:offset 3108:bits 31:28). note: bits 7:4 are always 0h free datasheet http://www..net/
ehci controller registers (d29:f7) 552 intel ? ich7 family datasheet 13.1.16 pwr_capid?pci power management capability id register (usb ehci?d29:f7) address offset: 50h attribute: ro default value: 01h size: 8 bits 13.1.17 nxt_ptr1?next item pointer #1 register (usb ehci?d29:f7) address offset: 51h attribute: r/w (special) default value: 58h size: 8 bits 13.1.18 pwr_cap?power manageme nt capabilities register (usb ehci?d29:f7) address offset: 52h ? 53h attribute: r/w (special) default value: c9c2h size: 16 bits bit description 7:0 power management capability id ? ro. a va lue of 01h indicates that this is a pci power management ca pabilities field. bit description 7:0 next item pointer 1 value ? r/w (special). this regi ster defaults to 58h, which indicates that the next capa bility registers begin at co nfiguration offset 58h. this register is writable when th e wrt_rdonly bit (d29:f7:80h, bit 0) is set. this allows bios to effectively hide the de bug port capability registers, if necessary. this register should only be written during system initialization before the plug-and-play software has enabled any master-initiated traffic. only values of 58h (debug port visible) and 00h (debug port invisible) are expected to be programmed in this register. note: register not reset by d3-to-d0 warm reset. bit description 15:11 pme support (pme_sup) ? r/w (special). this 5-bit field indica tes the power states in which the function ma y assert pme#. the intel ? ich7 ehc does not support the d1 or d2 states. for all other states, the ich7 ehc is ca pable of generating pme#. software should not need to modify this field. 10 d2 support (d2_sup) ? r/w (special). 0 = d2 state is not supported 1 = d2 state is supported 9 d1 support (d1_sup) ? r/w (special). 0 = d1 state is not supported 1 = d1 state is supported 8:6 auxiliary current (aux_cur) ? r/w (special). the ich7 ehc reports 375 ma maximum suspend well current required when in the d3 cold state. this value can be written by bios when a more accurate value is known. 5 device specific initialization (dsi )? r/w (special). the ich7 reports 0, indicating that no device-specific initialization is required. free datasheet http://www..net/
intel ? ich7 family datasheet 553 ehci controller registers (d29:f7) notes: 1. normally, this register is read-only to re port capabilities to the power management software. to report different power management capabilities, dependin g on the system in which the ich7 is used, bits 15:11 and 8:6 in this register are writable when the wrt_rdonly bit (d29:f7:80h, bit 0) is set. the value written to this register does not affect the hardware other than changing the value returned during a read. 2. reset: core well, but not d3-to-d0 warm reset. 13.1.19 pwr_cntl_sts?power management control/ status register (usb ehci?d29:f7) address offset: 54h ? 55h attribute: r/w, r/wc, ro default value: 0000h size: 16 bits 4 reserved 3 pme clock (pme_clk) ? r/w (special). the ich7 reports 0, indicating that no pci clock is required to generate pme#. 2:0 version (ver) ? r/w (special). the ich7 reports 010b, indicating that it complies with revision 1.1 of the pci power management specification. bit description bit description 15 pme status ? r/wc. 0 = writing a 1 to this bit will clear it and cause the internal pme to deassert (if enabled). 1 = this bit is set when the intel ? ich7 ehc would normally assert the pme# signal independent of the state of the pme_en bit. note: this bit must be ex plicitly cleared by the operating system each time the operating system is loaded. 14:13 data scale ? ro. hardwired to 00b indicating it does not support the associated data register. 12:9 data select ? ro. hardwired to 0000b indica ting it does not support the associated data register. 8 pme enable ? r/w. 0 = disable. 1 = enable. enables ich7 ehc to generate an internal pme signal when pme_status is 1. note: this bit must be explicitly cleared by the operating system each time it is initially loaded. 7:2 reserved free datasheet http://www..net/
ehci controller registers (d29:f7) 554 intel ? ich7 family datasheet note: reset (bits 15, 8): suspend well, and not d3 -to-d0 warm reset no r core well reset. 13.1.20 debug_capid?debug port capability id register (usb ehci?d29:f7) address offset: 58h attribute: ro default value: 0ah size: 8 bits 13.1.21 nxt_ptr2?next item pointer #2 register (usb ehci?d29:f7) address offset: 59h attribute: ro default value: 00h size: 8 bits 13.1.22 debug_base?debug port base offset register (usb ehci?d29:f7) address offset: 5ah ? 5bh attribute: ro default value: 20a0h size: 16 bits 1:0 power state ? r/w. this 2-bit field is used both to determine the cu rrent power state of ehc function and to set a new power state. the definition of the field values are: 00 = d0 state 11 = d3 hot state if software attempts to write a value of 10b or 01b in to this field, the write operation must complete normally; however, the data is discarded and no state change occurs. when in the d3 hot state, the ich7 must not accept accesses to the ehc memory range; but the configuration space must still be accessible. when not in the d0 state, the generation of the interrupt output is bloc ked. specifically, the pirqh is not asserted by the ich7 when not in the d0 state. when software changes this value from the d3 hot state to the d0 state, an internal warm (soft) reset is gene rated, and software must re-initialize the function. bit description bit description 7:0 debug port capability id ? ro. hardwired to 0ah indicating that this is the start of a debug port capability structure. bit description 7:0 next item pointer 2 capability ? ro. hardwired to 00h to indicate there are no more capability structures in this function. bit description 15:13 bar number ? ro. hardwired to 001b to indicate the memory bar begins at offset 10h in the ehci configuration space. 12:0 debug port offset ? ro. hardwired to 0a0h to indica te that the debu g port registers begin at offset a0h in the ehci memory range. free datasheet http://www..net/
intel ? ich7 family datasheet 555 ehci controller registers (d29:f7) 13.1.23 usb_relnum?usb re lease number register (usb ehci?d29:f7) address offset: 60h attribute: ro default value: 20h size: 8 bits 13.1.24 fl_adj?frame length adjustment register (usb ehci?d29:f7) address offset: 61h attribute: r/w default value: 20h size: 8 bits this feature is used to adjust any offset from the clock source that generates the clock that drives the sof counter. when a new value is written into these six bits, the length of the frame is adjusted. its initial prog rammed value is system dependent based on the accuracy of hardware usb clock and is initialized by system bios. this register should only be modified when the hchalted bit (d29:f7:caplength + 24h, bit 12) in the usb2.0_sts register is a 1. changing valu e of this register while the host controller is operating yields undefined results. it should not be reprogrammed by usb system software unless the default or bios programm ed values are incorrect, or the system is restoring the register while returning from a suspended state. these bits in suspend well and not reset by a d3-to-d0 warm rest or a core well reset. bit description 7:0 usb release number ? ro. a value of 20h indicates that this controller follows universal serial bus (usb) sp ecification, revision 2.0 . bit description 7:6 reserved ? ro. these bits are reserved for future use and should read as 00b. 5:0 frame length timing value ? r/w. each decimal value change to this register corresponds to 16 high-speed bit times. the sof cycle ti me (number of sof counter clock periods to generate a sof micro-frame length) is equal to 59488 + value in this field. the default value is decimal 32 (20h ), which gives a sof cycle time of 60000. frame length (# 480 mhz clocks) (decimal) frame length timing value (this register) (decimal) 59488 0 59504 1 59520 2 ? ? 59984 31 60000 32 ? ? 60480 62 60496 63 free datasheet http://www..net/
ehci controller registers (d29:f7) 556 intel ? ich7 family datasheet 13.1.25 pwake_cap?port wake capability register (usb ehci?d29:f7) address offset: 62 ? 63h attribute: r/w default value: 01ffh size: 16 bits this register is in the suspend power well. the intended use of this register is to establish a policy about which ports are to be used for wake events. bit positions 1?8 in the mask correspond to a physical port implemented on the current ehci controller. a 1 in a bit position indicates that a device connected below the port can be enabled as a wake-up device and the port may be enab led for disconnect/connect or overcurrent events as wake-up events. this is an information-only mask register. the bits in this register do not affect the actual operation of the ehci host controller. the system- specific policy can be established by bios in itializing this register to a system-specific value. system software uses the information in this register when enabling devices and ports for remote wake-up. these bits are not reset by a d3-to- d0 warm rest or a core well reset. 13.1.26 leg_ext_cap?usb ehci legacy support extended capability register (usb ehci?d29:f7) address offset: 68 ? 6bh attribute: r/w, ro default value: 00000001h size: 32 bits power well: suspend note: these bits are not reset by a d3-to-d0 warm rest or a core well reset. bit description 15:9 reserved ? ro. 8:1 port wake up capability mask ? r/w. bit positions 1 through 8 correspond to a physical port implemented on this host controller. for example, bit position 1 corresponds to port 0, bit position 2 corresponds to port 1, etc. 0 port wake implemented ? r/w. a 1 in this bit indica tes that this register is implemented to software. bit description 31:25 reserved ? ro. hardwired to 00h 24 hc os owned semaphore ? r/w. system software sets this bit to request ownership of the ehci controller. ownership is obtained when this bit reads as 1 and the hc bios owned semaphore bit reads as clear. 23:17 reserved ? ro. hardwired to 00h 16 hc bios owned semaphore ? r/w. the bios sets this bit to establish ownership of the ehci controller. system bios will clea r this bit in response to a request for ownership of the ehci contro ller by system software. 15:8 next ehci capability pointer ? ro. hardwired to 00h to indicate that there are no ehci extended capability st ructures in this device. 7:0 capability id ? ro. hardwired to 01h to indicate th at this ehci extended capability is the legacy support capability. free datasheet http://www..net/
intel ? ich7 family datasheet 557 ehci controller registers (d29:f7) 13.1.27 leg_ext_cs?usb ehci legacy support extended control / status register (usb ehci?d29:f7) address offset: 6c ? 6fh attribute: r/w, r/wc, ro default value: 00000000h size: 32 bits power well: suspend note: these bits are not reset by a d3-to-d0 warm rest or a core well reset. bit description 31 smi on bar ? r/wc. software clears this bit by writing a 1 to it. 0 = base address register (bar) not written. 1 = this bit is set to 1 when the base address register (bar) is written. 30 smi on pci command ? r/wc. software clears this bit by writing a 1 to it. 0 = pci command (pcicmd) register not written. 1 = this bit is set to 1 when the pci command (pcicmd) re gister is written. 29 smi on os ownership change ? r/wc. software clears this bit by writing a 1 to it. 0 = no hc os owned semaphore bit change. 1 = this bit is set to 1 when the hc os owned semaphore bit in the leg_ext_cap register (d29:f7:68h, bit 24) transitions from 1 to 0 or 0 to 1. 28:22 reserved ? ro. hardwired to 00h 21 smi on async advance ? ro. this bit is a shadow bit of the interrupt on async advance bit (d29:f7:caplength + 24h, bit 5) in the usb2.0_sts register. note: to clear this bit system software must write a 1 to the interrupt on async advance bit in the usb2.0_sts register. 20 smi on host system error ? ro. this bit is a shadow bit of host system error bit in the usb2.0_sts register (d29:f7:caplength + 24h, bit 4). note: to clear this bit system so ftware must write a 1 to th e host system error bit in the usb2.0_sts register. 19 smi on frame list rollover ? ro. this bit is a shadow bit of frame list rollover bit (d29:f7:caplength + 24h, bit 3) in the usb2.0_sts register. note: to clear this bit system software must write a 1 to the frame list rollover bit in the usb2.0_sts register. 18 smi on port change detect ? ro. this bit is a shadow bi t of port change detect bit (d29:f7:caplength + 24h, bit 2) in the usb2.0_sts register. note: to clear this bit system software must wr ite a 1 to the port change detect bit in the usb2.0_sts register. 17 smi on usb error ? ro. this bit is a shadow bit of usb error interrupt (usberrint) bit (d29:f7:caplength + 24h, bit 1) in the usb2.0_sts register. note: to clear this bit system software must wr ite a 1 to the usb error interrupt bit in the usb2.0_sts register. 16 smi on usb complete ? ro. this bit is a shadow bit of usb interrupt (usbint) bit (d29:f7:caplength + 24h, bit 0) in the usb2.0_sts register. note: to clear this bit system so ftware must write a 1 to th e usb interrupt bit in the usb2.0_sts register. free datasheet http://www..net/
ehci controller registers (d29:f7) 558 intel ? ich7 family datasheet 15 smi on bar enable ? r/w. 0 = disable. 1 = enable. when this bit is 1 and smi on ba r (d29:f7:6ch, bit 31) is 1, then the host controller will issue an smi. 14 smi on pci command enable ? r/w. 0 = disable. 1 = enable. when this bit is 1 and smi on pci command (d29:f7:6ch, bit 30) is 1, then the host controller will issue an smi. 13 smi on os ownership enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1 and the os ownership change bit (d29:f7:6ch, bit 29) is 1, the host controller will issue an smi. 12:6 reserved ? ro. hardwired to 00h 5 smi on async advance enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1, and the smi on async advance bit (d29:f7:6ch, bit 21) is a 1, the host controller will issue an smi immediately. 4 smi on host system error enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1, and the smi on host system error (d29:f7:6ch, bit 20) is a 1, the host controller will issue an smi. 3 smi on frame list rollover enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1, and the smi on frame list rollover bit (d29:f7:6ch, bit 19) is a 1, the host controller will issue an smi. 2 smi on port change enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1, and the smi on port change de tect bit (d29:f7:6ch, bit 18) is a 1, the host controller will issue an smi. 1 smi on usb error enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1, and the smi on usb error bit (d29:f7:6ch, bit 17) is a 1, the host controller will issue an smi immediately. 0 smi on usb complete enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1, and th e smi on usb complete bit (d29:f7:6ch, bit 16) is a 1, the host controller will issue an smi immediately. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 559 ehci controller registers (d29:f7) 13.1.28 special_smi?intel spec ific usb 2.0 smi register (usb ehci?d29:f7) address offset: 70h ? 73h attribute: r/w, r/wc default value: 00000000h size: 32 bits power well: suspend note: these bits are not reset by a d3-to-d0 warm rest or a core well reset. bit description 31:30 reserved ? ro. hardwired to 00h 29:22 smi on portowner ? r/wc. software clears these bits by writing a 1 to it. 0 = no port owner bit change. 1 = bits 29:22 correspond to the port owner bits for ports 1 (22) through 8 (29). these bits are set to 1 when the associated port owner bits transition from 0 to 1 or 1 to 0. 21 smi on pmcsr ? r/wc. software clears these bits by writing a 1 to it. 0 = power state bits not modified. 1 = software modified the power state bits in the power manageme nt control/status (pmcsr) register (d29:f7:54h). 20 smi on async ? r/wc. software clears these bits by writing a 1 to it. 0 = no async schedule enable bit change 1 = async schedule enable bit tran sitioned from 1 to 0 or 0 to 1. 19 smi on periodic ? r/wc. software clears this bit by writing a 1 it. 0 = no periodic schedule enable bit change. 1 = periodic schedule enable bit tr ansitions from 1 to 0 or 0 to 1. 18 smi on cf ? r/wc. software clears this bit by writing a 1 it. 0 = no configure flag (cf) change. 1 = configure flag (cf) transitions from 1 to 0 or 0 to 1. 17 smi on hchalted ? r/wc. software clears this bit by writing a 1 it. 0 = hchalted did not transition to 1 (as a re sult of the run/stop bit being cleared). 1 = hchalted transitions to 1 (as a result of the run/stop bit being cleared). 16 smi on hcreset ? r/wc. software clears th is bit by writing a 1 it. 0 = hcreset did not transitioned to 1. 1 = hcreset transitioned to 1. 15:14 reserved ? ro. hardwired to 00h 13:6 smi on portowner enable ? r/w. 0 = disable. 1 = enable. when any of these bits are 1 an d the corresponding smi on portowner bits are 1, then the host controller will issu e an smi. unused ports should have their corresponding bits cleared. 5 smi on pmscr enable ? r/w. 0 = disable. 1 = enable. when this bit is 1 and smi on pmscr is 1, then the host controller will issue an smi. 4 smi on async enable ? r/w. 0 = disable. 1 = enable. when this bit is 1 and smi on async is 1, then the host controller will issue an smi free datasheet http://www..net/
ehci controller registers (d29:f7) 560 intel ? ich7 family datasheet 13.1.29 access_cntl?access control register (usb ehci?d29:f7) address offset: 80h attribute: r/w default value: 00h size: 8 bits 3 smi on periodic enable ? r/w. 0 = disable. 1 = enable. when this bit is 1 and smi on peri odic is 1, then the host controller will issue an smi. 2 smi on cf enable ? r/w. 0 = disable. 1 = enable. when this bit is 1 and smi on cf is 1, then the host controller will issue an smi. 1 smi on hchalted enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1 and smi on hchalted is 1, then the host controller will issue an smi. 0 smi on hcreset enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1 and smi on hcreset is 1, then host controller will issue an smi. bit description bit description 7:1 reserved 0 wrt_rdonly ? r/w. when set to 1, this bit enables a select group of normally read- only registers in the ehc function to be writ ten by software. registers that may only be written when this mode is entered are noted in the summary tables and detailed description as ?read/write-special?. th e registers fall into two categories: 1. system-configure d parameters, and 2. status bits free datasheet http://www..net/
intel ? ich7 family datasheet 561 ehci controller registers (d29:f7) 13.2 memory-mapped i/o registers the ehci memory-mapped i/o space is composed of two sets of registers: capability registers and operational registers. note: the ich7 ehci controller will not accept memory transactions (neither reads nor writes) as a target that are locked transactions. the locked transactions should not be forwarded to pci as the address space is known to be allocated to usb. note: when the ehci function is in the d3 pci power state, accesses to the usb 2.0 memory range are ignored and result a master abort. similarly, if the memory space enable (mse) bit (d29:f7:04h, bit 1) is not set in the command register in configuration space, the memory range will not be deco ded by the ich7 enhanced host controller (ehc). if the mse bit is not set, then the ich7 must default to allowing any memory accesses for the range specified in the bar to go to pci. this is because the range may not be valid and, therefore, the cycle must be made available to any other targets that may be currently using that range. 13.2.1 host controller capability registers these registers specify the limits, restrictio ns and capabilities of the host controller implementation. within the host controller capability registers, only the structural parameters register is writable. these re gisters are implemented in the suspend well and is only reset by the standard suspend- well hardware reset, not by hcreset or the d3-to-d0 reset. note: ?read/write special? means that the register is normally read-only, but may be written when the wrt_rdonly bit is set. because these registers are expected to be programmed by bios during initialization, their contents must not get modified by hcreset or d3-to- d0 internal reset. 13.2.1.1 caplength?capability registers length register offset: mem_base + 00h attribute: ro default value: 20h size: 8 bits table 13-2. enhanced host co ntroller capability registers mem_bas e + offset mnemonic register default type 00h caplength capabilities registers length 20h ro 02h?03h hciversion host controller interface version number 0100h ro 04h?07h hcsparams host controller structural parameters 00104208h r/w (special), ro 08h?0bh hccparams host controller capability parameters 00006871h ro bit description 7:0 capability register leng th value ? ro. this register is us ed as an offset to add to the memory base register (d29:f7:10h) to find the beginning of the operational register space. this field is hardwired to 20h indica ting that the operation registers begin at offset 20h. free datasheet http://www..net/
ehci controller registers (d29:f7) 562 intel ? ich7 family datasheet 13.2.1.2 hciversion?host contro ller interface version number register offset: mem_base + 02h ? 03h attribute: ro default value: 0100h size: 16 bits 13.2.1.3 hcsparams?host cont roller structural parameters offset: mem_base + 04h ? 07h attribute: r/w (special), ro default value: 00104208h size: 32 bits note: this register is reset by a suspend well reset and not a d3-to-d0 reset or hcreset. note: this register is writable wh en the wrt_rdonly bit is set. bit description 15:0 host controller interface version number ? ro. this is a two-byte re gister containing a bcd encoding of the version number of inte rface that this host controll er interface conforms. bit description 31:24 reserved ? ro. default=0h. 23:20 debug port number (d p_n) ? ro (special). hardwired to 1h indicating that the debug port is on the lowest nu mbered port on the intel ? ich7. 19:16 reserved 15:12 number of companion controllers (n_cc) ? r/w (special). this field indicates the number of companion controllers associated with this usb ehci host controller. a 0 in this field indicates there are no comp anion host controllers. port-ownership hand- off is not supported. only high -speed devices are supported on the host controller root ports. a value of 1 or more in this field indi cates there are companion usb uhci host controller(s). port-ownersh ip hand-offs are supported. high, full- and low-speed devices are supported on the host controller root ports. the ich7 allows the default value of 4h to be over-written by bios. when removing classic controllers, they should be disabled in the following order: function 3, function 2, function 1, and function 0, which correspond to ports 7:6, 5:4, 3:2, and 1:0, respectively. 11:8 number of ports per companio n controller (n_pcc) ? ro. hardwired to 2h. this field indicates the number of ports supported per companion host controller. it is used to indicate the port routing conf iguration to system software. 7:4 reserved. these bits are reserved and default to 0. 3:0 n_ports ? r/w (special). this field specifies the numb er of physical downstream ports implemented on this host controller. the value of this field determines how many port registers are addressable in the operatio nal register space. valid values are in the range of 1h to fh. the ich7 reports 8h by defa ult. however, software may write a value less than 8 for some platform configurations. a 0 in this field is undefined. free datasheet http://www..net/
intel ? ich7 family datasheet 563 ehci controller registers (d29:f7) 13.2.1.4 hccparams?host cont roller capability parameters register offset: mem_base + 08h ? 0bh attribute: ro default value: 00006871h size: 32 bits bit description 31:16 reserved 15:8 ehci extended capabilities pointer (eecp) ? ro. this field is hardwired to 68h, indicating that the ehci capa bilities list exists and begins at offset 68h in the pci configuration space. 7:4 isochronous scheduli ng threshold ? ro. this field indicates, re lative to the current position of the executing ho st controller, where software can reliably update the isochronous schedule. when bit 7 is 0, the value of the least significant 3 bits indicates the number of micro-frames a host controller hold a set of isochronous data structures (one or more) before flushing the state. when bit 7 is a 1, then host software assumes the host controller may cache an isochronous data structure for an entire frame. refer to the ehci specification for details on how software uses this information for scheduling isochronous transfers. this field is hardwired to 7h. 3 reserved. these bits are reserved and should be set to 0. 2 asynchronous schedule park capability ? ro. this bit is hardwired to 0 indicating that the host controller does not support this optional feature 1 programmable frame list flag ? ro. 0 = system software must use a frame list length of 1024 elements with this host controller. the usb2.0_cmd register (d29:f7:caplength + 20h, bits 3:2) frame list size field is a read-only regist er and must be set to 0. 1 = system software can specify and use a sm aller frame list and configure the host controller via the usb2.0_cmd register frame list size field. the frame list must always be aligned on a 4k page boundary . this requirement ensures that the frame list is always physically contiguous. 0 64-bit addressing capability ? ro. this field documents th e addressing range capability of this implementation. the value of this field determines whether software should use the 32-bit or 64-bit data structur es. values for this field have the following interpretation: 0 = data structures using 32- bit address memory pointers 1 = data structures using 64-bi t address memory pointers this bit is hardwired to 1. note: intel ? ich7 only implements 44 bits of addressing. bits 63:44 will always be 0. free datasheet http://www..net/
ehci controller registers (d29:f7) 564 intel ? ich7 family datasheet 13.2.2 host controller operational registers this section defines the enhanced host controller operational registers. these registers are located after the capabilities registers. the operational register base must be dword-aligned and is calculated by adding the value in the first capabilities register (caplength) to the base addr ess of the enhanced host controller register address space (mem_base). since caplength is always 20h, table 13-3 already accounts for this offset. all registers are 32 bits in length. note: software must read and write these registers using only dword accesses.these registers are divided into two sets. the fi rst set at offsets mem_base + 00:3bh are table 13-3. enhanced host controller operational register address map mem_bas e + offset mnemonic register name default special notes type 20h?23h usb2.0_cmd usb 2.0 command 00080000h r/w, ro 24h?27h usb2.0_sts usb 2.0 status 00001000h r/wc, ro 28h?2bh usb2.0_intr usb 2.0 interrupt enable 00000000h r/w 2ch?2fh frindex usb 2.0 frame index 00000000h r/w, 30h?33h ctrldssegm ent control data structure segment 00000000h r/w, ro 34h?37h perodiclist base period frame list base address 00000000h r/w 38h?3bh asynclistad dr current asynchronous list address 00000000h r/w 3ch?5fh ? reserved 0h ro 60h?63h configflag configure flag 00000000h suspend r/w 64h?67h port0sc port 0 status and control 00003000h suspend r/w, r/wc, ro 68h?6bh port1sc port 1 status and control 00003000h suspend r/w, r/wc, ro 6ch?6fh port2sc port 2 status and control 00003000h suspend r/w, r/wc, ro 70h?73h port3sc port 3 status and control 00003000h suspend r/w, r/wc, ro 74h?77h port4sc port 4 status and control 00003000h suspend r/w, r/wc, ro 78h?7bh port5sc port 5 status and control 00003000h suspend r/w, r/wc, ro 7ch?7fh port6sc port 6 status and control 00003000h suspend r/w, r/wc, ro 80h?83h port7sc port 7 status and control 00003000h suspend r/w, r/wc, ro 84h?9fh ? reserved undefined ro a0h?b3h ? debug port registers undefined see register description b4h?3ffh ? reserved undefined ro free datasheet http://www..net/
intel ? ich7 family datasheet 565 ehci controller registers (d29:f7) implemented in the core powe r well. unless otherwise noted, the core well registers are reset by the assertion of any of the following: ? core well hardware reset ? hcreset ? d3-to-d0 reset the second set at offsets mem_base + 60h to the end of the implemented register space are implemented in the suspend po wer well. unless otherwise noted, the suspend well registers are reset by the assertion of either of the following: ? suspend well hardware reset ? hcreset 13.2.2.1 usb2.0_cmd?usb 2.0 command register offset: mem_base + 20?23h attribute: r/w, ro default value: 00080000h size: 32 bits bit description 31:24 reserved. these bits are reserved and should be set to 0 when writing this register. 23:16 interrupt threshold control ? r/w. system software uses this field to select the maximum rate at which the host controller wi ll issue interrupts. the only valid values are defined below. if software writes an invalid value to this register, the results are undefined. 15:8 reserved. these bits are reserved an d should be set to 0 when writing this register. 11:8 unimplemented asynchronous park mode bits . hardwired to 000b indicating the host controller does not support this optional feature. 7 light host controller reset ? ro. hardwired to 0. the intel ? ich7 does not implement this optional reset. va l ue max i mum interrupt interva l 00h reserved 01h 1 micro-frame 02h 2 micro-frames 04h 4 micro-frames 08h 8 micro-frames (default, equates to 1 ms) 10h 16 micro-frames (2 ms) 20h 32 micro-frames (4 ms) 40h 64 micro-frames (8 ms) free datasheet http://www..net/
ehci controller registers (d29:f7) 566 intel ? ich7 family datasheet 6 interrupt on async advance doorbell ? r/w. this bit is us ed as a doorbell by software to tell the host controller to is sue an interrupt the next time it advances asynchronous schedule. 0 = the host controller sets this bit to a 0 after it has set the interrupt on async advance status bit (d29:f7:caplength + 24h, bit 5) in the usb2.0_sts register to a 1. 1 = software must write a 1 to this bit to ri ng the doorbell. when the host controller has evicted all appropriate cached schedule state, it sets th e interrupt on async advance status bit in the us b2.0_sts register. if the interrupt on async advance enable bit in the usb2.0_intr register (d29 :f7:caplength + 28h, bit 5) is a 1 then the host controller will assert an in terrupt at the next interrupt threshold. see the ehci specification for operational details. note: software should not write a 1 to this bit when the asynchronous schedule is inactive. doing so will yield undefined results. 5 asynchronous schedule enable ? r/w. default 0b. this bit controls whether the host controller skips processi ng the asynchronous schedule. 0 = do not process the asynchronous schedule 1 = use the asynclistaddr register to access the asynchronous schedule. 4 periodic schedule enable ? r/w. default 0b. this bit controls whether the host controller skips processing the periodic schedule. 0 = do not process the periodic schedule 1 = use the periodiclistbase register to access the periodic schedule. 3:2 frame list size ? ro. the ich7 hardwires this fiel d to 00b because it only supports the 1024-element frame list size. 1 host controller reset (hcreset) ? r/w. this control bit us ed by software to reset the host controller. the effects of this on root hub registers ar e similar to a chip hardware reset (i.e., rsmrst# assertion and pw rok deassertion on the ich7). when software writes a 1 to th is bit, the host controller re sets its internal pipelines, timers, counters, state machines, etc. to their initial value. any transaction currently in progress on usb is immediat ely terminated. a usb reset is not driven on downstream ports. note: pci configuration registers and host co ntroller capability registers are not effected by this reset. all operational registers, including port re gisters and port state machines are set to their initial values. port owne rship reverts to the companion host controller(s), with the side effects described in the ehci spec. softwa re must re-initialize the host controller in order to return the host contro ller to an operational state. this bit is set to 0 by the host controller when the reset process is complete. software cannot terminate the reset process earl y by writing a 0 to this register. software should not set this bit to a 1 when the hchalted bit (d29:f7:caplength + 24h, bit 12) in the usb2.0_sts register is a 0. attempting to reset an actively running host controller will result in undefined behavior. this rese t me be used to leave ehci port test modes. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 567 ehci controller registers (d29:f7) note: the command register indicates the command to be executed by the serial bus host controller. writing to the register causes a command to be executed. 0 run/stop (rs) ? r/w. 0 = stop (default) 1 = run. when set to a 1, the host controller proceeds with execution of the schedule. the host controller continues execution as long as this bit is set. when this bit is set to 0, the host controller completes the current transaction on the usb and then halts. the hchalted bit in the usb2.0_sts register indicates when the host controller has finished the transactio n and has entered the stopped state. software should not wr ite a 1 to this field unless the ho st controller is in the halted state (i.e., hchalted in the usbsts register is a 1). the halted bit is cleared immediately when the run bit is set. the following table expl ains how the different combinatio ns of run and halted should be interpreted: memory read cycles initiated by the ehc that receive any status other than successful will result in this bit being cleared. bit description run/stop halted interpretation 0b 0b in the process of halting 0b 1b halted 1b 0b running 1b 1b invalid - the hchalted bit clears immediately free datasheet http://www..net/
ehci controller registers (d29:f7) 568 intel ? ich7 family datasheet 13.2.2.2 usb2.0_sts?usb 2.0 status register offset: mem_base + 24h?27h attribute: r/wc, ro default value: 00001000h size: 32 bits this register indicates pending interrupts and various states of the host controller. the status resulting from a transaction on the serial bus is not indicated in this register. see the interrupts description in section 4 of the ehci specification for additional information concerning usb 2.0 interrupt conditions. note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 has no effect. bit description 31:16 reserved. these bits are reserved and should be set to 0 when writing this register. 15 asynchronous schedule status ro. this bit reports the cu rrent real status of the asynchronous schedule. 0 = status of the asynchronous sc hedule is disabled. (default) 1 = status of the asynchrono us schedule is enabled. note: the host controller is not required to immediately disable or enable the asynchronous schedule when software transitions the asynchronous schedule enable bit (d29:f7:caplength + 20h, bit 5) in the usb2.0_cmd register. when this bit and the asynchronous schedule enable bit are the same value, the asynchronous schedule is either enabled (1) or disabled (0). 14 periodic schedule status ro. this bit reports the current real status of the periodic schedule. 0 = status of the periodic sche dule is disabled. (default) 1 = status of the periodic schedule is enabled. note: the host controller is not required to immediately disable or enable the periodic schedule when softwa re transitions the periodic schedule enable bit (d29:f7:caplength + 20h, bit 4) in the usb2.0_cmd register. when this bit and the periodic schedule enable bit are the same value, the periodic schedule is either enabled (1) or disabled (0). 13 reclamation ro. 0=default. this read-only status bit is used to detect an empty asynchronous schedule. the operational mode l and valid transitions for this bit are described in section 4 of the ehci specification. 12 hchalted ro. 0 = this bit is a 0 when the run/stop bit is a 1. 1 = the host controller sets this bit to 1 afte r it has stopped executin g as a result of the run/stop bit being set to 0, either by soft ware or by the host controller hardware (e.g., internal error). (default) 11:6 reserved 5 interrupt on async advance ? r/wc. 0=default. system softwa re can force the host controller to issue an inte rrupt the next time the host controller advances the asynchronous schedule by writing a 1 to the interrupt on async advance doorbell bit (d29:f7:caplength + 20h, bit 6) in the us b2.0_cmd register. th is bit indicates the assertion of that interrupt source. free datasheet http://www..net/
intel ? ich7 family datasheet 569 ehci controller registers (d29:f7) 4 host system error ? r/wc. 0 = no serious error occurred during a host system access involving the host controller module 1 = the host controller sets this bit to 1 when a serious error oc curs during a host system access involving the host contro ller module. a hardware interrupt is generated to the system. memory read cycl es initiated by the ehc that receive any status other than successful will result in this bit being set. when this error occurs, the host contro ller clears the run/stop bit in the usb2.0_cmdregister (d29:f7:caplengt h + 20h, bit 0) to prevent further execution of the scheduled tds. a hardware interrupt is generated to the system (if enabled in the interrupt enable register). 3 frame list rollover ? r/wc. 0 = no frame list index rollover from its maximum value to 0. 1 = the host controller sets this bit to a 1 when the frame list index (see section) rolls over from its maximum value to 0. since the intel ? ich7 only supports the 1024- entry frame list size, the frame list index rolls over every time frnum13 toggles. 2 port change detect ? r/wc. this bit is allowed to be maintained in the auxiliary power well. alternatively, it is also acceptable that on a d3 to d0 transition of the ehci hc device, this bit is loaded with the or of all of the portsc change bits (including: force port resume, overcurr ent change, enable/disable change and connect status change). regardless of the implementation, wh en this bit is readable (i.e., in the d0 state), it must provide a valid vi ew of the port status registers. 0 = no change bit transition from a 0 to 1 or no force port resume bit transition from 0 to 1 as a result of a j-k transiti on detected on a suspended port. 1 = the host controller sets this bi t to 1 when any port for which the port owner bit is set to 0 has a change bit transition fro m a 0 to 1 or a force port resume bit transition from 0 to 1 as a result of a j- k transition detected on a suspended port. 1 usb error interrupt (usberrint) ? r/wc. 0 = no error condition. 1 = the host controller sets this bit to 1 wh en completion of a usb transaction results in an error condition (e.g., e rror counter underflow). if the td on which the error interrupt occurred also had it s ioc bit set, both this bit and bit 0 are set. see the ehci specification for a list of the usb errors that will result in this interrupt being asserted. 0 usb interrupt (usbint) ? r/wc. 0 = no completion of a usb transaction whose transfer descriptor had its ioc bit set. no short packet is detected. 1 = the host controller sets this bit to 1 wh en the cause of an interrupt is a completion of a usb transaction whose transfer descriptor had its ioc bit set. the host controller also sets this bit to 1 when a short packet is detected (actual number of bytes received was less than the expected number of bytes). bit description free datasheet http://www..net/
ehci controller registers (d29:f7) 570 intel ? ich7 family datasheet 13.2.2.3 usb2.0_intr?usb 2.0 interrupt enable register offset: mem_base + 28h?2bh attribute: r/w default value: 00000000h size: 32 bits this register enables and disables reporting of the corresponding interrupt to the software. when a bit is set and the corresponding interrupt is active, an interrupt is generated to the host. interrupt sources that are disabled in this register still appear in the usb2.0_sts register to allow the software to poll for events. each interrupt enable bit description indicates whether it is depe ndent on the interrupt threshold mechanism (see section 4 of the ehci specification), or not. bit description 31:6 reserved. these bits are reserved and should be 0 when writing this register. 5 interrupt on async advance enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1, an d the interrupt on async advance bit (d29:f7:caplength + 24h, bit 5) in the usb2.0_sts register is a 1, the host controller will issue an interrupt at the next interrupt threshol d. the interrupt is acknowledged by software clearing the interrupt on async advance bit. 4 host system error enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1, an d the host system error status bit (d29:f7:caplength + 24h, bit 4) in the usb2.0_sts register is a 1, the host controller will issue an interrupt. the interrupt is acknow ledged by software clearing the host system error bit. 3 frame list rollover enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1, and the frame list rollover bit (d29:f7:caplength + 24h, bit 3) in the usb2.0_sts register is a 1, the host controller will issue an interrupt. the interrupt is acknowledged by software clearing the frame list rollover bit. 2 port change interrupt enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1, and the port change detect bi t (d29:f7:caplength + 24h, bit 2) in the usb2.0_sts register is a 1, the host controller will issue an interrupt. the interrupt is acknowledged by software cl earing the port change detect bit. 1 usb error interrupt enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1, and th e usberrint bit (d29:f7:caplength + 24h, bit 1) in the usb2.0_sts regi ster is a 1, the host contro ller will issue an interrupt at the next interrupt threshold. the interrupt is acknowledged by software by clearing the usberrint bit in the usb2.0_sts register. 0 usb interrupt enable ? r/w. 0 = disable. 1 = enable. when this bit is a 1, and the usbint bit (d 29:f7:caplength + 24h, bit 0) in the usb2.0_sts register is a 1, the host controller wi ll issue an interrupt at the next interrupt threshold. th e interrupt is acknowledged by software by clearing the usbint bit in the usb2.0_sts register. free datasheet http://www..net/
intel ? ich7 family datasheet 571 ehci controller registers (d29:f7) 13.2.2.4 frindex?frame index register offset: mem_base + 2ch?2fh attribute: r/w default value: 00000000h size: 32 bits the sof frame number value for the bus sof token is derived or alternatively managed from this register. refer to section 4 of the ehci specification for a detailed explanation of the sof value management requirements on the host controller. the value of frindex must be within 125 s (1 micro-frame) ahead of the sof token va lue. the sof value may be implemented as an 11-bit shadow register. for this discussion, this shadow register is 11 bits and is named sofv. sofv updates every 8 micr o-frames. (1 millisecond). an example implementation to achieve this behavior is to increment sofv each time the frindex[2:0] increments from 0 to 1. software must use the value of frindex to derive the current micro-frame number, both for high-speed isochronous schedulin g purposes and to provide the get micro-frame number function required to client driver s. therefore, the value of frindex and the value of sofv must be kept consistent if chip is reset or software writes to frindex. writes to frindex must also write-through frindex[13:3] to sofv[10:0]. in order to keep the update as simple as possible, software should not write a frindex value where the three least significant bits are 111b or 000b. note: this register is used by the host controller to index into the periodic frame list. the register updates every 125 microseconds (once each micro-frame). bits [12:3] are used to select a particular entry in the periodic frame list during periodic schedule execution. the number of bits used for the inde x is fixed at 10 for the ich7 since it only supports 1024-entry frame lists. this register must be written as a dword. word and byte writes produce undefined results. this register cannot be written unless the host controller is in the halted state as indicated by the hchalted bit (d29:f7:caplength + 24h, bit 12). a write to this register while the run/stop bit (d29:f7:caplength + 20h, bit 0) is set to a 1 (usb2.0_cmd register) pr oduces undefined results. writes to this register also effect the sof value. see section 4 of the ehci specification for details. bit description 31:14 reserved 13:0 frame list current index/frame number ? r/w. the value in this register increments at the end of each time frame (e.g., micro-frame). bits [12:3] are used fo r the frame list current index. th is means that each location of the frame list is accessed 8 times (frames or micro-frames) before moving to the next index. free datasheet http://www..net/
ehci controller registers (d29:f7) 572 intel ? ich7 family datasheet 13.2.2.5 ctrldssegment?control data structure segment register offset: mem_base + 30h?33h attribute: r/w, ro default value: 00000000h size: 32 bits this 32-bit register corresponds to the most significant address bits [63:32] for all ehci data structures. since the ich7 hardwires the 64-bit addressing capability field in hccparams to 1, then this register is used with the link pointers to construct 64-bit addresses to ehci control data structures. th is register is concatenated with the link pointer from either the periodiclistbase , asynclistaddr, or any control data structure link field to construct a 64-bit address. this register allows the host software to locate all control data structures within the same 4 gb memory segment. 13.2.2.6 periodiclistbase?periodic frame list base address register offset: mem_base + 34h?37h attribute: r/w default value: 00000000h size: 32 bits this 32-bit register contains the beginning address of the periodic frame list in the system memory. since the ich7 host contro ller operates in 64-bit mode (as indicated by the 1 in the 64-bit addressing capability field in the hccsparams register) (offset 08h, bit 0), then the most significant 32 bi ts of every control data structure address comes from the ctrldssegment register. hcd loads this register prior to starting the schedule execution by the host controller. the memory structure referenced by this physical memory pointer is assumed to be 4-kbyte aligned. the contents of this register are combined with the frame index register (frindex) to enable the host controller to step through the periodic frame list in sequence. bit description 31:12 upper address[63:44] ? ro. ha rdwired to 0s. the intel ? ich7 ehc is only capable of generating addresses up to 16 terabytes (44 bits of address). 11:0 upper address[43:32] ? r/w. this 12-bit field corresponds to address bits 43:32 when forming a control data structure address. bit description 31:12 base address (low) ? r/w. these bits correspon d to memory address signals [31:12], respectively. 11:0 reserved. must be written as 0s. during runtime, the value of these bits are undefined. free datasheet http://www..net/
intel ? ich7 family datasheet 573 ehci controller registers (d29:f7) 13.2.2.7 asynclistaddr?current asynchronous list address register offset: mem_base + 38h?3bh attribute: r/w default value: 00000000h size: 32 bits this 32-bit register contains the address of the next asynchronous queue head to be executed. since the ich7 host controller operat es in 64-bit mode (as indicated by a 1 in 64-bit addressing capability field in the hccp arams register) (offset 08h, bit 0), then the most significant 32 bits of every control data structure address comes from the ctrldssegment register (offset 08h). bits [4:0 ] of this register cannot be modified by system software and will always return 0?s when read. the memory structure referenced by this physical memory poin ter is assumed to be 32-byte aligned. 13.2.2.8 configflag?configure flag register offset: mem_base + 60h?63h attribute: r/w default value: 00000000h size: 32 bits this register is in the suspend power well. it is only reset by hardware when the suspend power is initially applied or in response to a host controller reset. 13.2.2.9 portsc?port n status and control register offset: port 0: mem_base + 64h ? 67h port 1: mem_base + 68 ? 6bh port 2: mem_base + 6c ? 6fh port 3: mem_base + 70 ? 73h port 4: mem_base + 74 ? 77h port 5: mem_base + 78 ? 7bh port 6: mem_base + 7c ? 7fh port 7: mem_base + 80 ? 83h attribute: r/w, r/wc, ro default value: 00003000h size: 32 bits a host controller must implement one or more port registers. software uses the n_port information from the structural parameters register to determine how many ports need to be serviced. all ports have the structure defined below. software must not write to unreported port status and control registers. bit description 31:5 link pointer low (lpl) ? r/w. these bits correspon d to memory address signals [31:5], respectively. this field may only reference a queue head (qh). 4:0 reserved. these bits are reserved and their value has no e ffect on operation. bit description 31:1 reserved. read from this field will always return 0. 0 configure flag (cf) ? r/w. host software sets this bit as the last action in its process of configuring the host controller. this bit co ntrols the default port-r outing control logic. bit values and side-effects are listed below. see section 4 of the ehci spec for operation details. 0 = port routing control logic de fault-routes each port to the classic host controllers (default). 1 = port routing control logic default-rout es all ports to this host controller. free datasheet http://www..net/
ehci controller registers (d29:f7) 574 intel ? ich7 family datasheet this register is in the suspend power well. it is only reset by hardware when the suspend power is initially applied or in resp onse to a host controller reset. the initial conditions of a port are: ? no device connected ? port disabled. when a device is attached, the port state transitions to the attached state and system software will process this as with any status change notification. refer to section 4 of the ehci specification for operational requirements for how change events interact with port suspend mode. bit description 31:23 reserved. these bits are reserved for future use and will return a value of 0?s when read. 22 wake on overcurrent enable (wkoc_e) ? r/w. 0 = disable. (default) 1 = enable. writing this bit to a 1 enables the setting of the pme status bit in the power management control/status register (offset 54, bit 15) when the overcurrent active bit (bit 4 of this register) is set. 21 wake on disconnect enable (wkdscnnt_e) ? r/w. 0 = disable. (default) 1 = enable. writing this bit to a 1 enables the setting of the pme status bit in the power management control/status register (offs et 54, bit 15) when the current connect status changes from connected to disconnected (i.e., bit 0 of this register changes from 1 to 0). 20 wake on connect enable (wkcnnt_e) ? r/w. 0 = disable. (default) 1 = enable. writing this bit to a 1 enables the setting of the pme status bit in the power management control/status register (offs et 54, bit 15) when the current connect status changes from disconnected to connecte d (i.e., bit 0 of th is register changes from 0 to 1). 19:16 port test control ? r/w. when this field is 0?s, th e port is not operating in a test mode. a non-zero value indicates that it is op erating in test mode and the specific test mode is indicated by the specif ic value. the encoding of the test mode bits are (0110b ? 1111b are reserved): refer to usb specification revision 2.0, chapter 7 for details on each test mode. 15:14 reserved ? r/w. should be written to =00b. 13 port owner ? r/w. default = 1b. this bit unconditionally goes to a 0 when the configured flag bit in the usb2.0_cmd register makes a 0 to 1 transition. system software uses this fi eld to release ownership of th e port to a selected host controller (in the event that the attached de vice is not a high-spe ed device). software writes a 1 to this bit when the attached device is not a high-speed device. a 1 in this bit means that a companion host controller owns and controls the port. see section 4 of the ehci specification for operational details. value maximum interrupt interval 0000b test mode not enabled (default) 0001b test j_state 0010b test k_state 0011b test se0_nak 0100b test packet 0101b force_enable free datasheet http://www..net/
intel ? ich7 family datasheet 575 ehci controller registers (d29:f7) 12 port power (pp) ? ro. read-only with a value of 1. this indicates that the port does have power. 11:10 line status ? ro.these bits reflect the current logical levels of the d+ (bit 11) and d? (bit 10) signal lines. these bits are used fo r detection of low-speed usb devices prior to the port reset and enable sequen ce. this field is valid only when the port enable bit is 0 and the current connect stat us bit is set to a 1. 00 = se0 10 = j-state 01 = k-state 11 = undefined 9 reserved. this bit will return a 0 when read. 8 port reset ? r/w. default = 0. when software wr ites a 1 to this bit (from a 0), the bus reset sequence as defined in the usb specification, revision 2.0 is started. software writes a 0 to this bit to terminate the bus reset sequence. software must keep this bit at a 1 long enough to ensure the reset sequence completes as specified in the usb specification, revision 2.0. 1 = port is in reset. 0 = port is not in reset. note: when software writes a 0 to this bit, th ere may be a delay before the bit status changes to a 0. the bit st atus will not read as a 0 until after the reset has completed. if the port is in high-speed mode after re set is complete, the host controller will automatically en able this port (e.g., set the port enable bit to a 1). a host controller must terminate the reset and stabilize the state of the port within 2 milliseconds of software transitioning this bit from 0 to 1. for example: if the port de tects that the attached device is high-speed during reset, then the host contro ller must have the port in the enabled state within 2 ms of software writing this bit to a 0. the hchalted bit (d29:f7:caplength + 24h, bit 12) in the usb2.0_sts regi ster should be a 0 before software attempts to use this bit. the host controller may hold port reset asserted to a 1 when the hchalted bit is a 1. th is bit is 0 if port power is 0 note: system software should not at tempt to reset a port if the hchalted bit in the usb2.0_sts register is a 1. doing so will result in undefined behavior. 7 suspend ? r/w. 0 = port not in suspend state.(default) 1 = port in suspend state. port enabled bit and suspend bi t of this register define the port states as follows: when in suspend state, downst ream propagation of data is blocked on this port, except for port reset. note that the bit status does not change unt il the port is suspended and that there may be a delay in suspending a po rt depending on the ac tivity on the port. the host controller will unconditionally se t this bit to a 0 when software sets the force port resume bit to a 0 (from a 1). a write of 0 to this bit is ignored by the host controller. if host software sets this bit to a 1 when the port is not enabled (i.e., port enabled bit is a 0) the results are undefined. bit description port enabled suspend port state 0 x disabled 1 0 enabled 1 1 suspend free datasheet http://www..net/
ehci controller registers (d29:f7) 576 intel ? ich7 family datasheet 6 force port resume ? r/w. 0 = no resume (k-state) detected/driven on port. (default) 1 = resume detected/driven on port. software sets this bit to a 1 to drive resume signaling. the host controller sets this bit to a 1 if a j-to-k transition is detected while the port is in the suspend state. when this bit transitions to a 1 because a j- to-k transition is detected, the port change detect bit (d29:f7:caplength + 24h, bit 2) in the usb2.0_sts regist er is also set to a 1. if so ftware sets this bit to a 1, the host controller must not se t the port chan ge detect bit. note: when the ehci controller owns the po rt, the resume sequence follows the defined sequence documented in the us b specification, revision 2.0. the resume signaling (full-speed 'k') is driven on the port as long as this bit remains a 1. software must appropriately time the resume and set this bit to a 0 when the appropriate amount of time has elapsed. writing a 0 (from 1) causes the port to return to high-speed mode (forci ng the bus below the port into a high-speed idle). this bit will rema in a 1 until the port has switched to the high-speed idle. 5 overcurrent change ? r/wc. the functionality of this bit is not dependent upon the port owner. software clears th is bit by writing a 1 to it. 0 = no change. (default) 1 = there is a change to overcurrent active. 4 overcurrent active ? ro. 0 = this port does not have an overcurrent condition. (default) 1 = this port currently has an overcurrent condition. this bit will automatically transition from 1 to 0 when the over cu rrent condition is removed. the intel ? ich7 automatically disables the port when the overcurrent active bit is 1. 3 port enable/disable change ? r/wc. for the root hub, th is bit gets set to a 1 only when a port is disabled due to the appropri ate conditions existing at the eof2 point (see chapter 11 of the usb specification for th e definition of a port error). this bit is not set due to the disabled-to-enabled transition, nor due to a disconnect. software clears this bit by writing a 1 to it. 0 = no change in status. (default). 1 = port enabled/disabled status has changed. 2 port enabled/disabled ? r/w. ports can only be enabled by the host controller as a part of the reset and enable. so ftware cannot enable a port by writing a 1 to this bit. ports can be disabled by either a fault condition (disconnect event or other fault condition) or by host software . note that the bit status does not change until the port state actually changes. there may be a dela y in disabling or enabling a port due to other host controller and bus events. 0 = disable 1 = enable (default) 1 connect status change ? r/wc. this bit indicates a change has occurred in the port?s current connect status . software sets this bit to 0 by writing a 1 to it. 0 = no change (default). 1 = change in current connect status. the host controller sets this bit for all changes to the port device connect status, even if system software has not cleared an existing connect status change. for example, the insertion status changes twice before system software has cleared the ch anged condition, hub hardware will be ?setting? an already-set bit (i.e ., the bit will remain set). 0 current connect status ? ro. this value reflects the current state of the port, and may not correspond directly to the event th at caused the connec t status change bit (bit 1) to be set. 0 = no device is present. (default) 1 = device is present on port. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 577 ehci controller registers (d29:f7) 13.2.3 usb 2.0-based debug port register the debug port?s registers are located in th e same memory area, defined by the base address register (mem_base), as the standard ehci registers. the base offset for the debug port registers (a0h) is declared in the debug port base offset capability register at configuration offset 5ah (d29:f7:offset 5a h). the specific ehci port that supports this debug capability (port 0) is indicated by a 4-bit field (bits 20 ? 23) in the hcsparams register of the ehci controlle r. the address map of the debug port registers is shown in table 13-4 . notes: 1. all of these registers are implemented in the core well and re set by pltrst#, ehc hcreset, and a ehc d3-to-d0 transition . 2. the hardware associated with this register provides no chec ks to ensure that software programs the interface correctly. how th e hardware behaves when programmed inappropriately is undefined. 13.2.3.1 cntl_sts?control/status register offset: mem_base + a0h attribute: r/w, r/wc, ro, wo default value: 0000h size: 32 bits table 13-4. debug port register address map mem_base + offset mnemonic register name default type a0?a3h cntl_sts control/status 00000000h r/w, r/wc, ro, wo a4?a7h usbpid usb pids 00000000h r/w, ro a8?abh databuf[3:0] data buffer (bytes 3:0) 00000000h r/w ac?afh databuf[7:4] data buffer (bytes 7:4) 00000000h r/w b0?b3h config configuration 00007f01h r/w bit description 31 reserved 30 owner_cnt ? r/w. 0 = ownership of the debug port is not fo rced to the ehci controller (default) 1 = ownership of the debug port is forced to the ehci controller (i.e. immediately taken away from the companion classic usb host controller) if the port was already owned by the ehci controller, then setting this bit has no effect. this bit overrides all of the owners hip-related bits in the standard ehci registers. 29 reserved 28 enabled_cnt ? r/w. 0 = software can clear this by writing a 0 to it. the hardware clears this bit for the same conditions where the port enable /disable change bit (in the portsc register) is set. (default) 1 = debug port is enabled for operation. softwa re can directly set this bit if the port is already enabled in the associated portsc register (this is enforced by the hardware). 27:17 reserved free datasheet http://www..net/
ehci controller registers (d29:f7) 578 intel ? ich7 family datasheet 16 done_sts ? r/wc. software can clear th is by writing a 1 to it. 0 = request not complete 1 = set by hardware to indicate that the request is complete. 15:12 link_id_sts ? ro. this field identifies the link interface. 0h = hardwired. indicates that it is a usb debug port. 11 reserved. this bit returns 0 when read. writes have no effect. 10 in_use_cnt ? r/w. set by software to indicate th at the port is in use. cleared by software to indicate that the port is free and may be used by other software. this bit is cleared after reset. (this bit has no effect on hardware.) 9:7 exception_sts ? ro. this field indicates the exception when the error_good#_sts bit is set. this field should be ignored if the error_good#_sts bit is 0. 000 = no error. (default) note: this should not be seen, since this field should only be checked if there is an error. 001 =transaction error: in dicates the usb 2.0 transaction had an error (crc, bad pid, timeout, etc.) 010 =hardware error. request was attemp ted (or in progress) when port was suspended or reset. all other combinations are reserved 6 error_good#_sts ? ro. 0 = hardware clears this bit to 0 after the proper completion of a read or write. (default) 1 = error has occurred. details on the natu re of the error are provided in the exception field. 5 go_cnt ? wo. 0 = hardware clears this bit when hardwa re sets the done_sts bit. (default) 1 = causes hardware to perform a read or write request. note: writing a 1 to this bit when it is alre ady set may result in undefined behavior. 4 write_read#_cnt ? r/w. software clears this bit to indicate th at the current request is a read. software sets this bit to indicate that the current request is a write. 0 = read (default) 1 = write bit description free datasheet http://www..net/
intel ? ich7 family datasheet 579 ehci controller registers (d29:f7) 16 done_sts ? r/wc. software can clear th is by writing a 1 to it. 0 = request not complete 1 = set by hardware to indicate that the request is complete. 15:12 link_id_sts ? ro. this field identifies the link interface. 0h = hardwired. indicates that it is a usb debug port. 11 reserved. this bit returns 0 when read. writes have no effect. 10 in_use_cnt ? r/w. set by software to indicate th at the port is in use. cleared by software to indicate that the port is free and may be used by other software. this bit is cleared after reset. (this bit has no effect on hardware.) 9:7 exception_sts ? ro. this field indicates the exception when the error_good#_sts bit is set. this field should be ignored if the error_good#_sts bit is 0. 000 = no error. (default) note: this should not be seen, since this field should only be checked if there is an error. 001 =transaction error: in dicates the usb 2.0 transaction had an error (crc, bad pid, timeout, etc.) 010 =hardware error. request was attemp ted (or in progress) when port was suspended or reset. all other combinations are reserved 6 error_good#_sts ? ro. 0 = hardware clears this bit to 0 after the proper completion of a read or write. (default) 1 = error has occurred. details on the natu re of the error are provided in the exception field. 5 go_cnt ? wo. 0 = hardware clears this bit when hardwa re sets the done_sts bit. (default) 1 = causes hardware to perform a read or write request. note: writing a 1 to this bit when it is alre ady set may result in undefined behavior. 4 write_read#_cnt ? r/w. software clears this bit to indicate th at the current request is a read. software sets this bit to indicate that the current request is a write. 0 = read (default) 1 = write bit description free datasheet http://www..net/
ehci controller registers (d29:f7) 580 intel ? ich7 family datasheet notes: 1. software should do read-modify-write operations to this register to preserve the contents of bits not being modified. this include reserved bits. 2. to preserve the usage of reserved bits in the future, software should always write the same value read from th e bit until it is define d. reserved bits will always return 0 when read. 13.2.3.2 usbpid?usb pids register offset: mem_base + a4h attribute: r/w, ro default value: 0000h size: 32 bits this dword register is used to communicate pid information between the usb debug driver and the usb debug port. the debug port uses some of these fields to generate usb packets, and uses other fields to retu rn pid information to the usb debug driver. 3:0 data_len_cnt ? r/w. this field is used to indicate the size of the data to be transferred. default = 0h. for write operations, this field is set by soft ware to indicate to the hardware how many bytes of data in data buffer are to be tr ansferred to the console. a value of 0h indicates that a zero-length pa cket should be sent. a value of 1?8 indicates 1?8 bytes are to be transferred. values 9?fh are inva lid and how hardware behaves if used is undefined. for read operations, this fiel d is set by hardware to indicate to software how many bytes in data buffer are valid in response to a read operation. a value of 0h indicates that a zero length packet was returned and the state of data buffe r is not defined. a value of 1?8 indicates 1?8 bytes were received. hardware is not allowed to return values 9?fh. the transferring of data always starts with byte 0 in the data area and moves toward byte 7 until the transfer size is reached. bit description bit description 31:24 reserved: these bits will return 0 wh en read. writes will have no effect. 23:16 received_pid_sts[23:16] ? ro. hardware updates this field with the received pid for transactions in either direction. when the controller is writing data, this field is updated with the handshake pid that is received from the devi ce. when the host controller is reading data, this field is updated with the da ta packet pid (if the device sent data), or the handshake pid (if the devi ce naks the request). this field is valid when the hardware clears the go_done#_cnt bit. 15:8 send_pid_cnt[15:8] ? r/w. hardware sends this pid to begin the data packet when sending data to usb (i.e., write_re ad#_cnt is asserted). software typically sets this field to either data0 or data1 pid values. 7:0 token_pid_cnt[7:0] ? r/w. hardware sends this pid as the token pid for each usb transaction. software typically sets this field to either in, out, or setup pid values. free datasheet http://www..net/
intel ? ich7 family datasheet 581 ehci controller registers (d29:f7) 13.2.3.3 databuf[7:0]?data buffer bytes[7:0] register offset: mem_base + a8h?afh attribute: r/w default value: 0000000000000000h size: 64 bits this register can be accessed as 8 separate 8-bit registers or 2 separate 32-bit register. 13.2.3.4 config?configuration register offset: mem_base + b0?b3h attribute: r/w default value: 00007f01h size: 32 bits bit description 63:0 databuffer[63:0] ? r/w. this field is the 8 byte s of the data buffer. bits 7:0 correspond to least significant byte (byte 0). bits 63:56 correspond to the most significant byte (byte 7). the bytes in the data buffer mu st be written with data befo re software initiates a write request. for a read request, the data buffer contains va lid data when done_sts bit (offset a0, bit 16) is cleared by the hard ware, error_good#_sts (offset a0, bit 6) is cleared by the hardware, and the data _length_cnt field (offset a0, bits 3:0) indicates the number of bytes that are valid. bit description 31:15 reserved 14:8 usb_address_cnf ? r/w. this 7-bit field identifies the usb device address used by the controller for all token pid generation. (default = 7fh) 7:4 reserved 3:0 usb_endpoint_cnf ? r/w. this 4-bit field identi fies the endpoint used by the controller for all token pid generation. (default = 01h) free datasheet http://www..net/
ehci controller registers (d29:f7) 582 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 583 smbus controller registers (d31:f3) 14 smbus controller registers (d31:f3) 14.1 pci configuration registers (smbus?d31:f3) note: registers that are not shown should be treated as reserved (see section 6.2 for details). 14.1.1 vid?vendor identificati on register (smbus?d31:f3) address: 00h ? 01h attribute: ro default value: 8086h size: 16 bits table 14-1. smbus controller pci re gister address map (smbus?d31:f3) offset mnemonic register name default type 00h?01h vid vendor identification 8086 ro 02h?03h did device identification see register description. ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0280h ro, r/wc 08h rid revision identification see register description. ro 09h pi programming interface 00h ro 0ah scc sub class code 05h ro 0bh bcc base class code 0ch ro 20h?23h smb_base smbus base address 00000001h r/w, ro 2ch?2dh svid subsystem vendor identification 00h ro 2eh?2fh sid subsystem identification 00h r/wo 3ch int_ln interrupt line 00h r/w 3dh int_pn interrupt pin see description ro 40h hostc host configuration 00h r/w bit description 15:0 vendor id ? ro. this is a 16-bit value assigned to intel free datasheet http://www..net/
smbus controller registers (d31:f3) 584 intel ? ich7 family datasheet 14.1.2 did?device identificati on register (smbus?d31:f3) address: 02h ? 03h attribute: ro default value: see bit description size: 16 bits 14.1.3 pcicmd?pci command register (smbus?d31:f3) address: 04h ? 05h attributes: ro, r/w default value: 0000h size: 16 bits bit description 15:0 device id ? ro. this is a 16-bit value assigned to the intel ? ich7 smbus controller. refer to the intel ? i/o controller hub 7 (ich7) fami ly specification update for the value of the device id register. bit description 15:11 reserved 10 interrupt disable ? r/w. 0 = enable 1 = disables smbus to assert its pirqb# signal. 9 fast back to back enable (fbe) ? ro. hardwired to 0. 8 serr# enable (serr_en) ? r/w. 0 = enables serr# generation. 1 = disables serr# generation. 7 wait cycle control (wcc) ? ro. hardwired to 0. 6 parity error response (per) ? r/w. 0 = disable 1 = sets detected parity error bit (d31:f3:06 , bit 15) when a parity error is detected. 5 vga palette snoop (vps) ? ro. hardwired to 0. 4 postable memory write enable (pmwe) ? ro. hardwired to 0. 3 special cycle en able (sce) ? ro. hardwired to 0. 2 bus master enable (bme) ? ro. hardwired to 0. 1 memory space enable (mse ) ? ro. hardwired to 0. 0 i/o space enable (iose) ? r/w. 0 = disable 1 = enables access to the sm bus i/o space registers as defined by the base address register. free datasheet http://www..net/
intel ? ich7 family datasheet 585 smbus controller registers (d31:f3) 14.1.4 pcists?pci status register (smbus?d31:f3) address: 06h ? 07h attributes: ro, r/wc default value: 0280h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. 14.1.5 rid?revision identificati on register (smbus?d31:f3) offset address: 08h attribute: ro default value: see bit description size: 8 bits bit description 15 detected parity error (dpe) ? r/wc. 0 = no parity error detected. 1 = parity error detected. 14 signaled system error (sse) ? r/wc. 0 = no system error detected. 1 = system error detected. 13 received master abort (rma) ? ro. hardwired to 0. 12 received target abort (rta) ? ro. hardwired to 0. 11 signaled target abort (sta) ? r/wc. 0 = intel ? ich7 did not terminate transaction for this function with a target abort. 1 = the function is targeted with a transaction that the ic h7 terminates with a target abort. 10:9 devsel# timing status (devt) ? ro. this 2-bit field defines the timing for devsel# assertion for positive decode. 01 = medium timing. 8 data parity error detected (d ped) ? ro. hardwired to 0. 7 fast back to back capable (fb2bc) ? ro. hardwired to 1. 6 user definable features (udf) ? ro. hardwired to 0. 5 66 mhz capable (66mhz_cap) ? ro. hardwired to 0. 4 capabilities list (cap_list) ? ro. hardwired to 0 because there are no capability list structures in this function 3 interrupt status (ints) ? ro. this bit indicates that an interrupt is pending. it is independent from the state of the interrupt enable bit in the pci command register. 2:0 reserved bit description 7:0 revision id ? ro. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the revision id register. free datasheet http://www..net/
smbus controller registers (d31:f3) 586 intel ? ich7 family datasheet 14.1.6 pi?programming interfac e register (smbus?d31:f3) offset address: 09h attribute: ro default value: 00h size: 8 bits 14.1.7 scc?sub class code register (smbus?d31:f3) address offset: 0ah attributes: ro default value: 05h size: 8 bits 14.1.8 bcc?base class code register (smbus?d31:f3) address offset: 0bh attributes: ro default value: 0ch size: 8 bits 14.1.9 smb_base?smbus ba se address register (smbus?d31:f3) address offset: 20 ? 23h attribute: r/w, ro default value: 00000001h size: 32-bits bit description 7:0 reserved bit description 7:0 sub class code (scc) ? ro. 05h = sm bus serial controller bit description 7:0 base class code (bcc) ? ro. 0ch = serial controller. bit description 31:16 reserved ? ro 15:5 base address ? r/w. this field provides the 32-byte system i/o base address for the intel ? ich7 smb logic. 4:1 reserved ? ro 0 io space indicator ? ro. hardwired to 1 in dicating that the sm b logic is i/o mapped. free datasheet http://www..net/
intel ? ich7 family datasheet 587 smbus controller registers (d31:f3) 14.1.10 svid ? subsystem vend or identification register (smbus?d31:f2/f4) address offset: 2ch ? 2dh attribute: ro default value: 0000h size: 16 bits lockable: no power well: core 14.1.11 sid ? subsystem id entification register (smbus?d31:f2/f4) address offset: 2eh ? 2fh attribute: r/wo default value: 00h size: 16 bits lockable: no power well: core 14.1.12 int_ln?interrupt line register (smbus?d31:f3) address offset: 3ch attributes: r/w default value: 00h size: 8 bits 14.1.13 int_pn?interrupt pi n register (smbus?d31:f3) address offset: 3dh attributes: ro default value: see description size: 8 bits bit description 15:0 subsystem vendor id (svid) ? ro. the svid register, in combination with the subsystem id (sid) register, enables the operating system (os) to distinguish subsystems from each other. the value returned by reads to this register is the same as that which was written by bios into the ide svid register. note: software can write to this register only once per core well re set. writes should be done as a single 16-bit cycle. bit description 15:0 subsystem id (sid) ? ro. the sid register, in combination with the svid register, enables the operating system (os) to distinguish subsystems from each other. the value returned by reads to this register is the same as that which was written by bios into the ide sid register. note: software can write to this register only once per core well re set. writes should be done as a single 16-bit cycle. bit description 7:0 interrupt line (int_ln) ? r/w. this data is not used by the intel ? ich7. it is to communicate to software the interrupt line that the interrupt pin is connected to pirqb#. bit description 7:0 interrupt pin (int_pn) ? ro. this reflec ts the value of d31ip.smip in chipset configuration space. free datasheet http://www..net/
smbus controller registers (d31:f3) 588 intel ? ich7 family datasheet 14.1.14 hostc?host configurat ion register (smbus?d31:f3) address offset: 40h attribute: r/w default value: 00h size: 8 bits 14.2 smbus i/o registers bit description 7:3 reserved 2 i 2 c_en ? r/w. 0 = smbus behavior. 1 = the intel ? ich7 is enabled to communicate with i 2 c devices. this will change the formatting of some commands. 1 smb_smi_en ? r/w. 0 = smbus interrupts will not generate an smi#. 1 = any source of an smb interrupt will inst ead be routed to generate an smi#. refer to section 5.21.4 (interrupts / smi#). this bit ne eds to be set for smbalert# to be enabled. 0 smbus host enab le (hst_en) ? r/w. 0 = disable the smbus host controller. 1 = enable. the smb host cont roller interface is enable d to execute commands. the intren bit (offset smbase + 02h, bit 0) needs to be enabled for the smb host controller to interrupt or smi#. note that the smb host controller will not respond to any new requests until all inte rrupt requests have been cleared. table 14-2. smbus i/o register address map smb_base + offset mnemonic register name default type 00h hst_sts host status 00h r/wc, ro, r/wc (special) 02h hst_cnt host control 00h r/w, wo 03h hst_cmd host command 00h r/w 04h xmit_slva transmit slave address 00h r/w 05h hst_d0 host data 0 00h r/w 06h hst_d1 host data 1 00h r/w 07h host_block_db host block data byte 00h r/w 08h pec packet error check 00h r/w 09h rcv_slva receive slave address 44h r/w 0ah?0bh slv_data receive slave data 0000h ro 0ch aux_sts auxiliary status 00h r/wc, ro 0dh aux_ctl auxiliary control 00h r/w 0eh smlink_pin_ctl smlink pin control (tco compatible mode) see register description r/w, ro free datasheet http://www..net/
intel ? ich7 family datasheet 589 smbus controller registers (d31:f3) 14.2.1 hst_sts?host status register (smbus?d31:f3) register offset: smbase + 00h attribute: r/wc, r/wc (special), ro default value: 00h size: 8-bits all status bits are set by hardware and cleared by the software writing a one to the particular bit position. writing a 0 to any bit position has no effect. 0fh smbus_pin_ctl sm bus pin control see register description r/w, ro 10h slv_sts slave status 00h r/wc 11h slv_cmd slave command 00h r/w 14h notify_daddr notify device address 00h ro 16h notify_dlow notify data low byte 00h ro 17h notify_dhigh notify data high byte 00h ro table 14-2. smbus i/o register address map smb_base + offset mnemonic register name default type bit description 7 byte done status (ds) ? r/wc. 0 = software can clear this by writing a 1 to it. 1 = host controller received a byte (for bl ock read commands) or if it has completed transmission of a byte (for block write commands) when the 32- byte buffer is not being used. note that this bit will be set, even on the last byte of the transfer. this bit is not set when transmission is due to the lan interface heartbeat. this bit has no meaning for block transf ers when the 32-byte buffer is enabled. note: when the last byte of a block message is received, the host controller will set this bit. however, it will not immediately set the intr bit (bit 1 in this register). when the interrupt handle r clears the ds bit, the message is considered complete, and the host controller will then set the intr bit (and generate another interrupt). thus, for a bloc k message of n bytes, the intel ? ich7 will generate n+1 interrupts. the interrupt handler need s to be implemented to handle these cases. 6 inuse_sts ? r/wc (special). this bit is used as semaphore among various independent software threads that may need to use the ich7?s smbus logic, and has no other effect on hardware. 0 = after a full pci reset, a read to this bit returns a 0. 1 = after the first read, subseque nt reads will return a 1. a write of a 1 to this bit will reset the next read va lue to 0. writing a 0 to this bit has no effect. software can poll this bit until it reads a 0, and will then own the usage of the host controller. 5 smbalert_sts ? r/wc. 0 = interrupt or smi# was not generated by smbalert#. software clears this bit by writing a 1 to it. 1 = the source of the interrupt or smi# wa s the smbalert# signal. this bit is only cleared by software writing a 1 to the bit position or by rsmrst# going low. if the signal is programmed as a gpi o , then this bit will not be set. free datasheet http://www..net/
smbus controller registers (d31:f3) 590 intel ? ich7 family datasheet 4 failed ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = the source of the interrupt or smi# was a failed bus transaction. this bit is set in response to the kill bit being set to terminate the host transaction. 3 bus_err ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = the source of the interrupt of smi# was a transaction collision. 2 dev_err ? r/wc. 0 = software clears this bit by writing a 1 to it. the ich7 will then deassert the interrupt or smi#. 1 = the source of the interrupt or sm i# was due to one of the following: ? invalid command field, ? unclaimed cycle (host initiated), ? host device time-out error. 1 intr ? r/wc (special). this bit can only be se t by termination of a command. intr is not dependent on the intren bit (offset smb ase + 02h, bit 0) of the host controller register (offset 02h). it is only dependent on the te rmination of the command. if the intren bit is not set, then the intr bit will be set, although the interrupt will not be generated. software can poll the intr bit in this non-interrupt case. 0 = software clears this bit by writing a 1 to it. the ich7 then deasserts the interrupt or smi#. 1 = the source of the interrupt or smi# was the successful completion of its last command. 0 host_busy ? ro. 0 = cleared by the ich7 when the current transaction is completed. 1 = indicates that the ich7 is running a command from the host interface. no smb registers should be accessed while this bit is set, except the block data byte register. the block data byte register can be accessed when th is bit is set only when the smb_cmd bits in the host cont rol register are programmed for block command or i 2 c read command. this is nece ssary in order to check the done_sts bit. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 591 smbus controller registers (d31:f3) 14.2.2 hst_cnt?host control register (smbus?d31:f3) register offset: smbase + 02h attribute: r/w, wo default value: 00h size: 8-bits note: a read to this register will clear the byte pointer of the 32-byte buffer. bit description 7 pec_en ? r/w. 0 = smbus host controller does not perf orm the transaction with the pec phase appended. 1 = causes the host controller to perform th e smbus transaction with the packet error checking phase appended. for writes, the value of the pec byte is transferred from the pec register. for reads, the pec byte is loaded in to the pec register. this bit must be written prior to the write in which the start bit is set. 6 start ? wo. 0 = this bit will always retu rn 0 on reads. the host_bus y bit in the host status register (offset 00h) can be used to identify when the intel ? ich7 has finished the command. 1 = writing a 1 to this bit initiates the co mmand described in th e smb_cmd field. all registers should be setup prior to writing a 1 to this bit position. 5 last_byte ? wo. this bit is used for block read commands. 1 = software sets this bit to indicate that the next byte will be the last byte to be received for the block. this causes the ich7 to send a nack (instead of an ack) after receiving the last byte. note: once the second_to_sts bit in tco2_s ts register (d31:f0, tcobase+6h, bit 1) is set, the last_byte bit also ge ts set. while the second_to_sts bit is set, the last_byte bit cannot be cleared. this prevents the ich7 from running some of the smbus commands (block read/write, i 2 c read, block i 2 c write). free datasheet http://www..net/
smbus controller registers (d31:f3) 592 intel ? ich7 family datasheet 4:2 smb_cmd ? r/w. the bit encoding below indica tes which command the ich7 is to perform. if enabled, the ich7 will genera te an interrupt or smi# when the command has completed if the value is for a non-suppo rted or reserved comm and, the ich7 will set the device error (dev_err) status bit (o ffset smbase + 00h, bit 2) and generate an interrupt when the start bit is set. the ich7 will perform no command, and will not operate until dev_err is cleared. 000 = quick : the slave address and read/write value (bit 0) are stored in the transmit slave address register. 001 = byte : this command uses the transmit slave address and command registers. bit 0 of the slave address register determines if this is a read or write command. 010 = byte data : this command uses the transmit slave address, command, and data0 registers. bit 0 of the slave address register determines if this is a read or write command. if it is a read, the da ta0 register will contain the read data. 011 = word data : this command uses the transmit slave address, command, data0 and data1 registers. bit 0 of the slave a ddress register determines if this is a read or write command. if it is a read, after the command completes, the data0 and data1 registers wi ll contain the read data. 100 = process call: this command uses the transmit slave address, command, data0 and data1 registers. bit 0 of the slave address register determines if this is a read or write command. after the command completes, the data0 and data1 registers will contain the read data. 101 = block : this command uses the transmit slave address, command, data0 registers, and the block data byte regist er. for block write, the count is stored in the data0 register and indicates how ma ny bytes of data will be transferred. for block reads, the count is received an d stored in the data0 register. bit 0 of the slave address register selects if this is a read or write command. for writes, data is retrieved from the first n (where n is equal to the specified count) addresses of the sram array. for reads, the data is stored in the block data byte register. 110 = i 2 c read : this command uses the transmit slave address, command, data0, data1 registers, and the block data byte register. the read data is stored in the block data byte register. the ich7 continues reading data until the nak is received. 111 = block process: this command uses the transmit slave address, command, data0 and the block data byte register. fo r block write, the count is stored in the data0 register and indicates how many bytes of data will be transferred. for block read, the count is received and stored in the data0 register. bit 0 of the slave address register al ways indicate a write command. for writes, data is retrieved from the first m (where m is equal to the specified count) addresses of the sram array. for reads, the data is stored in the block data byte register. note: e32b bit in the auxiliary co ntrol register must be set for this command to work. 1 kill ? r/w. 0 = normal smbus host controller functionality. 1 = kills the current host tran saction taking place, sets the failed status bit, and asserts the interrupt (or smi#). this bit, once se t, must be cleare d by software to allow the smbus host controll er to function normally. 0 intren ? r/w. 0 = disable. 1 = enable the generation of an interrupt or smi# upon the completion of the command. bit description free datasheet http://www..net/
intel ? ich7 family datasheet 593 smbus controller registers (d31:f3) 14.2.3 hst_cmd?host command register (smbus?d31:f3) register offset: smbase + 03h attribute: r/w default value: 00h size: 8 bits 14.2.4 xmit_slva?transmit slave address register (smbus?d31:f3) register offset: smbase + 04h attribute: r/w default value: 00h size: 8 bits this register is transmitted by the host controller in the slave address field of the smbus protocol. 14.2.5 hst_d0?host data 0 register (smbus?d31:f3) register offset: smbase + 05h attribute: r/w default value: 00h size: 8 bits 14.2.6 hst_d1?host data 1 register (smbus?d31:f3) register offset: smbase + 06h attribute: r/w default value: 00h size: 8 bits bit description 7:0 this 8-bit field is transmitte d by the host controller in the command field of the smbus protocol during the execution of any command. bit description 7:1 address ? r/w. this field provides a 7-bit a ddress of the targeted slave. 0 rw ? r/w. direction of the host transfer. 0 = write 1 = read bit description 7:0 data0/count ? r/w. this field contains the 8-bit data sent in the data0 field of the smbus protocol. for block write commands, this register reflects th e number of bytes to transfer. this register should be programm ed to a value between 1 and 32 for block counts. a count of 0 or a count above 32 will result in unpredictable behavior. the host controller does not check or log invalid block counts. bit description 7:0 data1 ? r/w. this 8-bit register is transm itted in the data1 field of the smbus protocol during the execution of any command. free datasheet http://www..net/
smbus controller registers (d31:f3) 594 intel ? ich7 family datasheet 14.2.7 host_block_db?host bl ock data byte register (smbus?d31:f3) register offset: smbase + 07h attribute: r/w default value: 00h size: 8 bits 14.2.8 pec?packet error check (pec) register (smbus?d31:f3) register offset: smbase + 08h attribute: r/w default value: 00h size: 8 bits bit description 7:0 block data (bdta) ? r/w. this is either a register, or a pointer into a 32-byte block array, depending upon whether the e32b bit is set in the auxiliary control register. when the e32b bit (offset smbase + 0dh, bit 1) is cleared, this is a register containing a byte of data to be sent on a block writ e or read from on a block read, just as it behaved on the ich3. when the e32b bit is set, read s and writes to this register are used to access the 32- byte block data storage array. an internal index pointer is used to address the array, which is reset to 0 by reading the hctl re gister (offset 02h). the index pointer then increments automatically upon each access to this register. the transfer of block data into (read) or out of (write) this storag e array during an smbus transaction always starts at index address 0. when the e2b bit is set, for writes, software will write up to 32-bytes to this register as part of the setup for the command. after th e host controller has sent the address, command, and byte count fields , it will send the bytes in the sram pointed to by this register. when the e2b bit is cleared for writes, software will place a single byte in this register. after the host controller has sent the address, command, and byte count fields, it will send the byte in this register. if there is more data to send, software will write the next series of bytes to the sram pointed to by th is register and clear the done_sts bit. the controller will then send the next byte. du ring the time between the last byte being transmitted to the next byte being transmitted, the controller will insert wait-states on the interface. when the e2b bit is set for reads, after receiving the byte count into the data0 register, the first series of data bytes go into the sram pointed to by this register. if the byte count has been exhausted or the 32-byte sram has been filled, the controller will generate an smi# or interrupt (depending on configuration) and set the done_sts bit. software will then read the data. during th e time between when the last byte is read from the sram to when the done_sts bit is cleared, the controller will insert wait- states on the interface. bit description 7:0 pec_data ? r/w. this 8-bit register is written with the 8-bit crc value that is used as the smbus pec data prior to a write transa ction. for read transactions, the pec data is loaded from the smbus into this register an d is then read by so ftware. software must ensure that the inuse_sts bit is properly ma intained to avoid having this field over- written by a write transaction following a read transaction. free datasheet http://www..net/
intel ? ich7 family datasheet 595 smbus controller registers (d31:f3) 14.2.9 rcv_slva?receive sl ave address register (smbus?d31:f3) register offset: smbase + 09h attribute: r/w default value: 44h size: 8 bits lockable: no power well: resume 14.2.10 slv_data?receive slave data register (smbus?d31:f3) register offset: smbase + 0ah?0bh attribute: ro default value: 0000h size: 16 bits lockable: no power well: resume this register contains the 16-bit data valu e written by the external smbus master. the processor can then read the value from this re gister. this register is reset by rsmrst#, but not pltrst# . 14.2.11 aux_sts?auxiliary status register (smbus?d31:f3) register offset: smbase + 0ch attribute: r/wc, ro default value: 00h size: 8 bits lockable: no power well: resume . bit description 7 reserved 6:0 slave_addr ? r/w. this field is the sl ave address that the intel ? ich7 decodes for read and write cycles. the default is not 0, so the smbus slave interface can respond even before the processor comes up (or if the processor is dead). this register is cleared by rsmrst#, but not by pltrst#. bit description 15:8 data message byte 1 (data_msg1) ? ro. see section 5.21.7 for a discussion of this field. 7:0 data message byte 0 (data_msg0) ? ro. see section 5.21.7 for a discussion of this field. bit description 7:2 reserved 1 smbus tco mode (stco) ? ro. this bit reflects the st rap setting of tco compatible mode vs. advanced tco mode. 0 = intel ? ich7 is in the compatible tco mode. 1 = ich7 is in the advanced tco mode. 0 crc error (crce) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set if a received message contai ned a crc error. when this bit is set, the derr bit of the host status register will also be set. this bit will be set by the controller if a software abort occurs in the middle of the crc portion of the cycle or an abort happens after the ich7 has received the final data bit transmitted by an external slave. free datasheet http://www..net/
smbus controller registers (d31:f3) 596 intel ? ich7 family datasheet 14.2.12 aux_ctl?auxiliary cont rol register (smbus?d31:f3) register offset: smbase + 0dh attribute: r/w default value: 00h size: 8 bits lockable: no power well: resume . 14.2.13 smlink_pin_ctl?smlin k pin control register (smbus?d31:f3) register offset: smbase + 0eh attribute: r/w, ro default value: see below size: 8 bits note: this register is in the resume well and is reset by rsmrst#. this register is only applicable in the tco compatible mode. bit description 7:2 reserved 1 enable 32-byte buffer (e32b) ? r/w. 0 = disable. 1 = enable. when set, the host block data register is a pointer into a 32-byte buffer, as opposed to a single register. this enables the block commands to transfer or receive up to 32-bytes before the intel ? ich7 generates an interrupt. 0 automatically append crc (aac) ? r/w. 0 = ich7 will not automatically append the crc. 1 = the ich7 will automatically append the crc. this bit must not be changed during smbus transactions or undetermined behavior will result. it should be programmed only once during the li fetime of the function. bit description 7:3 reserved 2 smlink_clk_ctl ? r/w. 0 = intel ? ich7 will drive the smlink0 pin low, independent of what the other smlink logic would otherwise indica te for the smlink0 pin. 1 = the smlink0 pin is not overdriven low. the other smlink logic controls the state of the pin. (default) 1 smlink1_cur_sts ? ro. this read-only bit has a de fault value that is dependent on an external signal level. th is pin returns the value on the smlink1 pin. this allows software to read the current state of the pin. 0 = low 1 = high 0 smlink0_cur_sts ? ro. this read-only bit has a de fault value that is dependent on an external signal level. th is pin returns the value on the smlink0 pin. this allows software to read the current state of the pin. 0 = low 1 = high free datasheet http://www..net/
intel ? ich7 family datasheet 597 smbus controller registers (d31:f3) 14.2.14 smbus_pin_ctl?smbus pin control register (smbus?d31:f3) register offset: smbase + 0fh attribute: r/w, ro default value: see below size: 8 bits note: this register is in the resume well and is reset by rsmrst#. 14.2.15 slv_sts?slave status register (smbus?d31:f3) register offset: smbase + 10h attribute: r/wc default value: 00h size: 8 bits note: this register is in the resume well and is reset by rsmrst#. all bits in this register are implemented in the 64 khz clock domain. therefore, software must poll this register until a write takes effect before assuming that a write has completed internally. bit description 7:3 reserved 2 smbclk_ctl ? r/w. 1 = the smbclk pin is not overdriven low. the other smbus logic controls the state of the pin. 0 = intel ? ich7 drives the smbclk pin low, inde pendent of what the other smb logic would otherwise indicate for the smbclk pin. (default) 1 smbdata_cur_sts ? ro. this read-only bit has a default value that is dependent on an external signal level. this pin return s the value on the smbdata pin. this allows software to read the cu rrent state of the pin. 0 = low 1 = high 0 smbclk_cur_sts ? ro. this read-only bit has a default value that is dependent on an external signal le vel. this pin returns the value on the smbclk pin. this allows software to read the cu rrent state of the pin. 0 = low 1 = high bit description 7:1 reserved 0 host_notify_sts ? r/wc. the intel ? ich7 sets this bit to a 1 when it has completely received a successful host noti fy command on the sm link pins. software reads this bit to determine that the source of the interrupt or smi# was the reception of the host notify command. software clears this bit after reading any information needed from the notify address and data regist ers by writing a 1 to this bit. note that the ich7 will allow the notify address and data registers to be over-written once this bit has been clea red. when this bit is 1, the ich7 will nack the first byte (host address) of any new ?host notify? commands on the smli nk. writing a 0 to this bit has no effect. free datasheet http://www..net/
smbus controller registers (d31:f3) 598 intel ? ich7 family datasheet 14.2.16 slv_cmd?slave comman d register (smbus?d31:f3) register offset: smbase + 11h attribute: r/w default value: 00h size: 8 bits note: this register is in the resume well and is reset by rsmrst#. 14.2.17 notify_daddr?notify device address register (smbus?d31:f3) register offset: smbase + 14h attribute: ro default value: 00h size: 8 bits note: this register is in the resume well and is reset by rsmrst#. bit description 7:2 reserved 2 smbalert_dis ? r/w. 0 = allows the generation of the interrupt or smi#. 1 = software sets this bit to block the generation of the interrupt or smi# due to the smbalert# source. this bit is logi cally inverted and anded with the smbalert_sts bit (offset smbase + 00h, bi t 5). the resulting si gnal is distributed to the smi# and/or interrupt generation logic. this bi t does not effect the wake logic. 1 host_notify_wken ? r/w. software sets this bit to 1 to enable the reception of a host notify command as a wake event. when enabled this event is ?or?ed in with the other smbus wake events and is reflecte d in the smb_wak_sts bit of the general purpose event 0 status register. 0 = disable 1 = enable 0 host_notify_intren ? r/w. software sets this bit to 1 to enable the generation of interrupt or smi# when host_notify_sts (offset smbase + 10h, bit 0) is 1. this enable does not affect the se tting of the host_notify_sts bit. when the interrupt is generated, either pirqb# or smi# is generated, depending on the value of the smb_smi_en bit (d31:f3:40h, bit 1). if the host_notify_sts bit is set when this bit is written to a 1, then the interrupt (or smi#) will be generated. the interrupt (or smi#) is logically generated by and?ing the sts and intren bits. 0 = disable 1 = enable bit description 7:1 device_address ? ro. this field contains the 7-bi t device address received during the host notify protocol of the smbus 2.0 sp ecification. software should only consider this field valid when the host_notify_sts bit (d31:f3:smbase +10, bit 0) is set to 1. 0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 599 smbus controller registers (d31:f3) 14.2.18 notify_dlow?notify data low byte register (smbus?d31:f3) register offset: smbase + 16h attribute: ro default value: 00h size: 8 bits note: this register is in the resume well and is reset by rsmrst#. 14.2.19 notify_dhigh?notify data high byte register (smbus?d31:f3) register offset: smbase + 17h attribute: ro default value: 00h size: 8 bits note: this register is in the resume well and is reset by rsmrst#. bit description 7:0 data_low_byte ? ro. this field contains the firs t (low) byte of data received during the host notify protocol of the smbu s 2.0 specification. software should only consider this field valid when the host_n otify_sts bit (d31:f3:smbase +10, bit 0) is set to 1. bit description 7:0 data_high_byte ? ro. this field contains the second (high) byte of data received during the host notify protocol of the smbu s 2.0 specification. software should only consider this field valid when the host_n otify_sts bit (d31:f3: smbase +10, bit 0) is set to 1. free datasheet http://www..net/
smbus controller registers (d31:f3) 600 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 601 ide controller registers (d31:f1) 15 ide controller registers (d31:f1) 15.1 pci configuration registers (ide?d31:f1) note: address locations that are not shown should be treated as reserved (see section 6.2 for details). all of the ide registers are in the core we ll. none of the registers can be locked. note: the ich7 ide controller is not arbitrated as a pci device; therefore, it does not need a master latency timer. table 15-1. ide controller pci re gister address map (ide-d31:f1) offset mnemonic register name default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description. ro 04h?05h pcicmd pci command 00h r/w, ro 06h?07h pcists pci status 0280h r/w, ro 08h rid revision identification see register description. ro 09h pi programming interface 8ah r/w, ro 0ah scc sub class code 01h ro 0bh bcc base class code 01h ro 0ch cls cache line size 00h ro 0dh pmlt primary master latency timer 00h ro 10h?13h pcmd_bar primary command block base address 00000001h r/w, ro 14h?17h pcnl_bar primary control block base address 00000001h r/w, ro 18h?1bh scmd_bar secondary command block base address 00000001h r/w, ro 1ch?1fh scnl_bar secondary control block base address 00000001h r/w, ro 20h?23h bm_base bus master base address 00000001h r/w, ro 2ch?2dh ide_svid subsystem vendor id 00h r/wo 2eh?2fh ide_sid subsystem id 0000h r/wo 3c intr_ln interrupt line 00h r/w 3d intr_pn interrupt pin see register description. ro 40h?41h ide_timp primary ide timing 0000h r/w 42h?43h ide_tims secondary ide timing 0000h r/w 44h slv_idetim slave ide timing 00h r/w 48h sdma_cnt synchronous dma control 00h r/w 4ah?4bh sdma_tim synchronous dma timing 0000h r/w 54h ide_config ide i/o configuration 00000000h r/w c0h atc apm trapping control 00h r/w c4h ats apm trapping status 00h r/wc free datasheet http://www..net/
ide controller registers (d31:f1) 602 intel ? ich7 family datasheet 15.1.1 vid?vendor id entification register (ide?d31:f1) offset address: 00h ? 01h attribute: ro default value: 8086h size: 16-bit lockable: no power well: core 15.1.2 did?device identificati on register (ide?d31:f1) offset address: 02h ? 03h attribute: ro default value: see bit description size: 16-bit lockable: no power well: core 15.1.3 pcicmd?pci command register (ide?d31:f1) address offset: 04h ? 05h attribute: ro, r/w default value: 00h size: 16 bits bit description 15:0 vendor id ? ro. this is a 16-bit value assigned to intel. intel vid = 8086h bit description 15:0 device id ? ro. this is a 16-bit value assigned to the intel ? ich7 ide controller. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the device id register. bit description 15:11 reserved 10 interrupt disable (id) ? r/w. 0 = enables the ide controller to assert inta# (native mode) or irq14/15 (legacy mode). 1 = disable. the interrupt will be deasserted. 9 fast back to back enable (fbe) ? ro. reserved as 0. 8 serr# enable (serr_en) ? ro. reserved as 0. 7 wait cycle control (wcc) ? ro. reserved as 0. 6 parity error response (per) ? ro. reserved as 0. 5 vga palette snoop (vps) ? ro. reserved as 0. 4 postable memory write enable (pmwe) ? ro. reserved as 0. 3 special cycle en able (sce) ? ro. reserved as 0. 2 bus master enable (bme) ? r/w. controls the ich7?s abilit y to act as a pci master for ide bus master transfers. 1 memory space enable (mse) ? r/o. this controller does not contain a memory space. 0 i/o space enable (iose) ? ro. free datasheet http://www..net/
intel ? ich7 family datasheet 603 ide controller registers (d31:f1) 15.1.4 pcists ? pci status register (ide?d31:f1) address offset: 06h ? 07h attribute: r/wc, ro default value: 0280h size: 16 bits note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. 15.1.5 rid?revision identifica tion register (ide?d31:f1) offset address: 08h attribute: ro default value: see bit description size: 8 bits bit description 15 detected parity error (d pe) ? ro. reserved as 0. 14 signaled system error (s se) ? ro. reserved as 0. 13 received master abort (rma) ? r/wc. 0 = master abort not generated by bu s master ide interface function. 1 = bus master ide interface function, as a master, ge nerated a master abort. 12 reserved as 0 ? ro. 11 reserved as 0 ? ro. 10:9 devsel# timing status (dev_sts) ? ro. 01 = hardwired; however, the intel ? ich7 does not have a real devsel# signal associated with the ide unit, so these bits have no effect. 8 data parity error detected (dped) ? ro. reserved as 0. 7 fast back to back capable (fb2bc) ? ro. reserved as 1. 6 user definable features (udf) ? ro. reserved as 0. 5 66mhz capable (66mhz_cap) ? ro. reserved as 0. 4 reserved 3 interrupt status (ints) ? ro. this bit is independent of the state of the interrupt disable bit in the command register. 0 = interrupt is cleared. 1 = interrupt/msi is asserted. 2:0 reserved bit description 7:0 revision id ? ro. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the revision id register. free datasheet http://www..net/
ide controller registers (d31:f1) 604 intel ? ich7 family datasheet 15.1.6 pi?programming interf ace register (ide?d31:f1) address offset: 09h attribute: ro, r/w default value: 8ah size: 8 bits 15.1.7 scc?sub class code register (ide?d31:f1) address offset: 0ah attribute: ro default value: 01h size: 8 bits 15.1.8 bcc?base class code register (ide?d31:f1) address offset: 0bh attribute: ro default value: 01h size: 8 bits 15.1.9 cls?cache line size register (ide?d31:f1) address offset: 0ch attribute: ro default value: 00h size: 8 bits bit description 7 this read-only bit is a 1 to indicate that the intel ? ich7 supports bus master operation 6:4 reserved. hardwired to 000b. 3 sop_mode_cap ? ro. this read-only bit is a 1 to indicate that the secondary controller supports both legacy and native modes. 2 sop_mode_sel ? r/w. this read/write bit determ ines the mode that the secondary ide channel is operating in. 0 = legacy-pci mode (default) 1 = native-pci mode 1 pop_mode_cap ? ro. this read-only bit is a 1 to indicate that the primary controller supports both legacy and native modes. 0 pop_mode_sel ? r/w. this read/write bits dete rmines the mode that the primary ide channel is operating in. 0 = legacy-pci mode (default) 1 = native-pci mode bit description 7:0 sub class code (scc) ? ro. 01h = ide device, in the context of a mass storage device. bit description 7:0 base class code (bcc) ? ro. 01 = mass storage device bit description 7:0 cache line size (cls) ? ro. 00h = hardwired. the ide contro ller is implemented internally so this register has no meaning. free datasheet http://www..net/
intel ? ich7 family datasheet 605 ide controller registers (d31:f1) 15.1.10 pmlt?primary master latency timer register (ide?d31:f1) address offset: 0dh attribute: ro default value: 00h size: 8 bits 15.1.11 pcmd_bar?primary co mmand block base address register (ide?d31:f1) address offset: 10h ? 13h attribute: r/w, ro default value: 00000001h size: 32 bits . note: this 8-byte i/o space is used in native mo de for the primary controller?s command block. 15.1.12 pcnl_bar?primary co ntrol block base address register (ide?d31:f1) address offset: 14h ? 17h attribute: r/w, ro default value: 00000001h size: 32 bits . note: this 4-byte i/o space is used in native mo de for the primary controller?s command block. bit description 7:0 master latency timer count (mltc) ? ro. 00h = hardwired. the ide contro ller is implemented internally, and is not arbitrated as a pci device, so it does not need a master latency timer. bit description 31:16 reserved 15:3 base address ? r/w. base address of the i/o space (8 consecutive i/o locations). 2:1 reserved 0 resource type indicator (rte) ? ro. hardwired to 1 indicating a request for i/o space. bit description 31:16 reserved 15:2 base address ? r/w. base address of the i/o space (4 consecutive i/o locations). 1 reserved 0 resource type indicator (rte) ? ro. hardwired to 1 indicating a request for i/o space. free datasheet http://www..net/
ide controller registers (d31:f1) 606 intel ? ich7 family datasheet 15.1.13 scmd_bar?secondary co mmand block base address register (ide d31:f1) address offset: 18h ? 1bh attribute: r/w, ro default value: 00000001h size: 32 bits note: this 4-byte i/o space is used in native mode for the secondary controller?s command block. 15.1.14 scnl_bar?secondary co ntrol block base address register (ide d31:f1) address offset: 1ch ? 1fh attribute: r/w, ro default value: 00000001h size: 32 bits note: this 4-byte i/o space is used in native mode for the secondary controller?s command block. bit description 31:16 reserved 15:3 base address ? r/w. base address of the i/o space (8 consecutive i/o locations). if this register is programmed, the progra mmed value must not be less than 100h. 2:1 reserved 0 resource type indicator (rte) ? ro. hardwired to 1 indicating a request for i/o space. bit description 31:16 reserved 15:2 base address ? r/w. base address of the i/o space (4 consecutive i/o locations). if this register is programmed, the progra mmed value must not be less than 100h. 1 reserved 0 resource type indicator (rte) ? ro. hardwired to 1 indicating a request for i/o space. free datasheet http://www..net/
intel ? ich7 family datasheet 607 ide controller registers (d31:f1) 15.1.15 bm_base ? bus master base address register (ide?d31:f1) address offset: 20h ? 23h attribute: r/w, ro default value: 00000001h size: 32 bits the bus master ide interface function uses base address register 5 to request a 16- byte i/o space to provide a software interface to the bus master functions. only 12 bytes are actually used (6 bytes for primary, 6 bytes for secondary). only bits [15:4] are used to decode the address. 15.1.16 ide_svid ? subsyste m vendor identification (ide?d31:f1) address offset: 2ch ? 2dh attribute: r/wo default value: 00h size: 16 bits lockable: no power well: core 15.1.17 ide_sid ? subsystem identification register (ide?d31:f1) address offset: 2eh ? 2fh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core bit description 31:16 reserved 15:4 base address ? r/w. this field provides the base address of the i/o space (16 consecutive i/o locations). 3:1 reserved 0 resource type indicator (rte) ? ro. hardwired to 1 indicating a request for i/o space. bit description 15:0 subsystem vendor id (svid) ? r/wo. the svid register, in combination with the subsystem id (sid) register, enables the operating system (os) to distinguish subsystems from each other. so ftware (bios) sets the value in this register. after that, the value can be read, but subs equent writes to th is register have no effect. the value written to this register will also be readab le via the corresponding svid registers for the usb#1, usb#2, and smbus functions. bit description 15:0 subsystem id (sid) ? r/wo. the sid register, in combination with the svid register, enables the operating system (os) to distinguish subsystems from each other. software (bios) sets the value in this register. after that, the valu e can be read, but subsequent writes to this register have no effect. the value written to this register will also be readable via the corresponding sid regi sters for the usb#1, usb#2, and smbus functions. free datasheet http://www..net/
ide controller registers (d31:f1) 608 intel ? ich7 family datasheet 15.1.18 intr_ln?interrupt li ne register (ide?d31:f1) address offset: 3ch attribute: r/w default value: 00h size: 8 bits 15.1.19 intr_pn?interrupt pi n register (ide?d31:f1) address offset: 3dh attribute: ro default value: see register description size: 8 bits 15.1.20 ide_timp ? ide primary timing register (ide?d31:f1) address offset: 40 ? 41h attribute: r/w default value: 0000h size: 16 bits this register controls the timings driven on the ide cable for pio and 8237 style dma transfers. it also controls operation of the buffer for pio transfers. bit description 7:0 interrupt line (int_ln) ? r/w. this field is used to co mmunicate to software the interrupt line that the inte rrupt pin is connected to. bit description 7:0 interrupt pin ? ro. this reflects the value of d31ip.pip (chipset config registers:offset 3100h:bits 7:4). bit description 15 ide decode enable (ide) ? r/w. the ide i/o space enable bit (d31:f1:04h, bit 0) in the command register must be set in order for this bit to have any effect. 0 = disable. 1 = enables the intel ? ich7 to decode the command (1f0?1f7h) and control (3f6h) blocks. this bit also effects the memory decode range for ide expansion. 14 drive 1 timing register enable (sitre) ? r/w. 0 = use bits 13:12, 9:8 for both drive 0 and drive 1. 1 = use bits 13:12, 9:8 for drive 0, and use the slave ide timing register for drive 1 13:12 iordy sample point (isp) ? r/w. the setting of th ese bits determine the number of pci clocks between ide ior#/iow# assertion and the first iordy sample point. 00 = 5 clocks 01 = 4 clocks 10 = 3 clocks 11 = reserved 11:10 reserved 9:8 recovery time (rct) ? r/w. the setting of these bits determines the minimum number of pci clocks between the last iordy sample point and the ior#/iow# strobe of the next cycle. 00 = 4 clocks 01 = 3 clocks 10 = 2 clocks 11 = 1 clock free datasheet http://www..net/
intel ? ich7 family datasheet 609 ide controller registers (d31:f1) 7 (desktop and mobile only) drive 1 dma timing enable (dte1) ? r/w. 0 = disable. 1 = enable the fast timing mode for dma tran sfers only for this drive. pio transfers to the ide data port will run in compatible timing. 6 (desktop and mobile only) drive 1 prefetch/posting enable (ppe1) ? r/w. 0 = disable. 1 = enable prefetch and posting to the ide data port for this drive. 5 (desktop and mobile only) drive 1 iordy sample point enable (ie1) ? r/w. 0 = disable iordy sampling for this drive. 1 = enable iordy sampling for this drive. 4 (desktop and mobile only) drive 1 fast timing bank (time1) ? r/w. 0 = accesses to the data port will us e compatible timings for this drive. 1 = when this bit = 1 and bit 14 = 0, accesses to the data port will use bits 13:12 for the iordy sample point, and bits 9:8 fo r the recovery time. when this bit = 1 and bit 14 = 1, accesses to the data po rt will use the iordy sample point and recover time specified in the slave ide timing register. 7:4 (ultra mobile only) reserved 3 drive 0 dma timing enable (dte0) ? r/w. 0 = disable 1 = enable fast timing mode for dma transfers only for this drive. pio transfers to the ide data port will run in compatible timing. 2 drive 0 prefetch/posting enable (ppe0) ? r/w. 0 = disable prefetch and posting to the ide data port for this drive. 1 = enable prefetch and posting to the ide data port for this drive. 1 drive 0 iordy sample point enable (ie0) ? r/w. 0 = disable iordy sampling is disabled for this drive. 1 = enable iordy sampling for this drive. 0 drive 0 fast timing bank (time0) ? r/w. 0 = accesses to the data port will us e compatible timings for this drive. 1 = accesses to the data port will use bi ts 13:12 for the iordy sample point, and bits 9:8 for the recovery time bit description free datasheet http://www..net/
ide controller registers (d31:f1) 610 intel ? ich7 family datasheet 15.1.21 ide_tims ? ide seco ndary timing register (ide?d31:f1) address offset: 42h ? 43h attribute: r/w default value: 0000h size: 16 bits 15.1.22 slv_idetim?slave (drive 1) ide timing register (ide?d31:f1) (desktop and mobile only) address offset: 44h attribute: r/w default value: 00h size: 8 bits bit description 15 ide decode enable (ide) ? r/w. this bit enables/di sables the secondary decode. the ide i/o space enable bit (d31:f1:04h, bi t 0) in the command register must be set in order for this bit to have any effect. additionally, separate configuration bits are provided (in the ide i/o configuration regist er) to individually disable the secondary ide interface signals, even if th e ide decode enable bit is set. 0 = disable. 1 = enables the intel ? ich7 to decode the associated command blocks (170?177h) and control block (376h). accesses to th ese ranges return 00h, as the secondary channel is not implemented. 14:12 no operation (nop) ? r/w. these bits are read/write for legacy software compatibility, but have no functionality in the ich7 since a secondary channel does not exist. 11 reserved 10:0 no operation (nop) ? r/w. these bits are read/write for legacy software compatibility, but have no functionality in the ich7 since a secondary channel does not exist. bit description 7:4 no operation (nop) ? r/w. these bits are read/write for le gacy software compatibility, but have no functionality in the intel ? ich7. 3:2 primary drive 1 iordy sample point (pisp1) ? r/w. this field determines the number of pci clocks between ior#/iow# asse rtion and the first iordy sample point, if the access is to drive 1 data port and bit 14 of the ide timing register for primary is set. 00 = 5 clocks 01 = 4 clocks 10 = 3 clocks 11 = reserved 1:0 primary drive 1 recovery time (prct1) ? r/w. this field determines the minimum number of pci clocks between the last iordy sample point and the ior#/ iow# strobe of the next cycle, if the access is to drive 1 data port and bit 14 of the ide timing register for primary is set. 00 = 4 clocks 01 = 3 clocks 10 = 2 clocks 11 = 1 clocks free datasheet http://www..net/
intel ? ich7 family datasheet 611 ide controller registers (d31:f1) 15.1.23 sdma_cnt?synchronous dma control register (ide?d31:f1) address offset: 48h attribute: r/w default value: 00h size: 8 bits 15.1.24 sdma_tim?synchronous dma timing register (ide?d31:f1) address offset: 4ah ? 4bh attribute: r/w default value: 0000h size: 16 bits note: for fast_pcb1 = 1 (133 mhz clk) in bits [13:12, 9:8, 5:4, 1:0], refer to section 5.16.4 for details. bit description 7:4 reserved 3:2 no operation (nop) ? r/w. these bits are read/write for legacy software compatibility, but have no functionality in the intel ? ich7. 1 (desktop and mobile only) primary drive 1 synchronous dma mode enable (psde1) ? r/w. 0 = disable (default) 1 = enable synchronous dma mode for primary channel drive 1. 1 (ultra mobile only) reserved 0 primary drive 0 synchronous dma mode enable (psde0) ? r/w. 0 = disable (default) 1 = enable synchronous dma mode for primary channel drive 0. bit description 15:14 reserved 13:12 no operation (nop) ? r/w. these bits are read/write for legacy software compatibility, but have no functionality in the intel ? ich7. 11:10 reserved 9:8 no operation (nop) ? r/w. these bits are read/write for le gacy software compatibility, but have no functionality in the ich7. 7:6 reserved free datasheet http://www..net/
ide controller registers (d31:f1) 612 intel ? ich7 family datasheet 15.1.25 ide_config?ide i/o configuration register (ide?d31:f1) address offset: 54h attribute: r/w default value: 00000000h size: 32 bits 5:4 (desktop and mobile only) primary drive 1 cycle time (pct1) ? r/w. for ultra ata mode, the setting of these bits determines the minimum write strobe cycle time (ct). the dmardy#-to-stop (rp) time is also determined by the setting of these bits. 5:4 (ultra and mobile only) reserved 3:2 reserved 1:0 primary drive 0 cycle time (pct0) ? r/w. for ultra ata mode, the setting of these bits determines the minimum write strobe cycle time (ct). the dmardy#-to-stop (rp) time is also determined by the setting of these bits. bit description pcb1 = 0 (33 mhz clk) pcb1 = 1 (66 mhz clk) fast_pcb1 = 1 (133 mhz clk) 00 = ct 4 clocks, rp 6 clocks 00 = reserved 00 = reserved 01 = ct 3 clocks, rp 5 clocks 01 = ct 3 clocks, rp 8 clocks 01 = ct 3 clocks, rp 16 clocks 10 = ct 2 clocks, rp 4 clocks 10 = ct 2 clocks, rp 8 clocks 10 = reserved 11 = reserved 11 = reserved 11 = reserved pcb1 = 0 (33 mhz clk) pcb1 = 1 (66 mhz clk) fast_pcb1 = 1 (133 mhz clk) 00 = ct 4 clocks, rp 6 clocks 00 = reserved 00 = reserved 01 = ct 3 clocks, rp 5 clocks 01 = ct 3 clocks, rp 8 clocks 01 = ct 3 clocks, rp 16 clocks 10 = ct 2 clocks, rp 4 clocks 10 = ct 2 clocks, rp 8 clocks 10 = reserved 11 = reserved 11 = reserved 11 = reserved bit description 31:24 reserved 23:20 miscellaneous scratchpad (ms) ? r/w. previously defined as a scratchpad bit to indicate to a driver that ata-100 is support ed. this is not used by software as all they needed to know was located in bits 7:4. see the definition of those bits. 19:18 no operation (nop) ? r/w. these bits are read/write for legacy software compatibility, but have no functionality in the intel ? ich7. free datasheet http://www..net/
intel ? ich7 family datasheet 613 ide controller registers (d31:f1) 17:16 sig_mode ? r/w. these bits are used to contro l mode of the ide signal pins for mobile/ultra mobile swap bay support. if the prs bit (chipset config registers:offset 3414h:bit 1) is 1, the reset states of bits 17:16 will be 01 (tri-state) instead of 00 (normal). 00 = normal (enabled) 01 = tri-state (disabled) 10 = drive low (disabled) 11 = reserved 15:14 no operation (nop) ? r/w. these bits are read/write for legacy software compatibility, but have no functionality in the ich7. 13 (desktop and mobile only) fast primary drive 1 base clock (fast_pcb1) ? r/w. this bit is used in conjunction with the pct1 bits to enable/disable ultra ata/100 timings for the primary slave drive. 0 = disable ultra ata/100 timing for the primary slave drive. 1 = enable ultra ata/100 timing for the primary slave drive (overrides bit 1 in this register). 13 (ultra mobile only) reserved 12 fast primary drive 0 base clock (fast_pcb0) ? r/w. this bit is used in conjunction with the pct0 bits to enable/disable ultra ata/100 timings for the primary master drive. 0 = disable ultra ata/100 timing for the primary master drive. 1 = enable ultra ata/100 timing for the primary master drive (overrides bit 0 in this register). 11:8 reserved 7 no operation (nop) ? r/w. these bits are read/write for legacy software compatibility, but have no functionality in the ich7. 6 no operation (nop) ? r/w. these bits are read/write for legacy software compatibility, but have no functionality in the ich7. 5 primary slave channel cable reporting ? r/w. bios should program this bit to tell the ide driver which cable is plugged into the channel. 0 = 40 conductor cable is present. 1 = 80 conductor cable is present. 4 primary master channel cable reporting ? r/w. same description as bit 5 3:2 no operation (nop) ? r/w. these bits are read/write for legacy software compatibility, but have no functionality in the ich7. 1 (desktop and mobile only) primary drive 1 base clock (pcb1) ? r/w. 0 = 33 mhz base clock for ultra ata timings. 1 = 66 mhz base clock for ultra ata timings 1 (ultra mobile only) reserved 0 primary drive 0 base clock (pcb0) ? r/w. 0 = 33 mhz base clock for ultra ata timings. 1 = 66 mhz base clock for ultra ata timings bit description free datasheet http://www..net/
ide controller registers (d31:f1) 614 intel ? ich7 family datasheet 15.1.26 atc?apm trapping cont rol register (ide?d31:f1) address offset: c0h attribute: r/w default value: 00h size: 8 bits 15.1.27 ats?apm trapping stat us register (ide?d31:f1) address offset: c4h attribute: r/wc default value: 00h size: 8 bits bit description 7:2 reserved 1 slave trap (pst) ? r/w. 0 = disable. 1 = enables trapping and smi# assertion on legacy i/o accesses to 1f0h?1f7h and 3f6h. the active device must be the slave de vice for the trap and/or smi# to occur. 0 master trap (pmt) ? r/w. 0 = disable. 1 = enables trapping and smi# assertion on legacy i/o accesses to 1f0h?1f7h and 3f6h. the active device must be master de vice for the trap and/or smi# to occur. bit description 7:2 reserved 1 slave trap status (psts) ? r/wc. 1 = trap occurred to the slave device 0 master trap status (pmts) ? r/wc. 0 = trap occurred to the master device free datasheet http://www..net/
intel ? ich7 family datasheet 615 ide controller registers (d31:f1) 15.2 bus master ide i/o registers (ide?d31:f1) the bus master ide function uses 16 byte s of i/o space, allocated via the bmiba register, located in device 31:function 1 configuration space, offset 20h. all bus master ide i/o space registers can be accessed as byte, word, or dword quantities. reading reserved bits returns an indetermin ate, inconsistent value, and writes to reserved bits have no effect (but should not be attempted). the description of the i/o registers is shown in table 15-2 . 15.2.1 bmicp?bus master ide command register (ide?d31:f1) address offset: bmibase + 00h attribute: r/w default value: 00h size: 8 bits table 15-2. bus master ide i/o registers bmibase + offset mnemonic register name default type 00 bmicp bus master ide command primary 00h r/w 01 ? reserved 00h ro 02 bmisp bus master ide status primary 00h r/w, r/wc 03 ? reserved 00h ro 04?07 bmidp bus master ide descriptor table pointer primary xxxxxxxxh r/w bit description 7:4 reserved. returns 0. 3 read / write control (rwc) ? r/w. this bit sets the direction of the bus master transfer: this bit must not be changed wh en the bus master function is active. 0 = memory reads 1 = memory writes 2:1 reserved. returns 0. free datasheet http://www..net/
ide controller registers (d31:f1) 616 intel ? ich7 family datasheet 15.2.2 bmisp?bus master ide st atus register (ide?d31:f1) address offset: bmibase + 02h attribute: r/w, r/wc default value: 00h size: 8 bits 0 start/stop bus master (start) ? r/w. 0 = all state information is lost when this bit is cleared. master mode operation cannot be stopped and then resumed. if this bit is reset while bus master operation is still active (i.e., the bus master ide active bit (bmibase + 02h, bit 0) of the bus master ide status register for that ide channel is set) and the drive has not yet finished its data transfer (the interrupt bit (bmibase + 02h, bit 2) in the bus master ide status register for that ide channel is not set), the bus master command is said to be aborted and data transferred from the drive may be discarded instead of being written to system memory. 1 = enables bus master operation of the co ntroller. bus master operation does not actually start unle ss the bus master enable bit (d31:f1:04h, bit 2) in pci configuration space is also set. bus master operation begins when this bit is detected changing from 0 to 1. the contro ller will transfer data between the ide device and memory only when this bit is set. master operation can be halted by writing a 0 to this bit. note: this bit is intended to be cleared by software after the data transfer is completed, as indicated by either the bu s master ide active bit being cleared or the interrupt bit of the bus master ide status register for that ide channel being set, or both. hardware does not clear this bit automatically. bit description bit description 7 prd interrupt status (prdis) ? r/wc. 0 = when this bit is cleared by so ftware, the interrupt is cleared. 1 = set when the host controller completes execution of a prd that has its interrupt bit (bit 2 of this register) set. 6 (desktop and mobile only) drive 1 dma capable ? r/w. 0 = not capable. 1 = capable. set by device de pendent code (bios or device driver) to indicate that drive 1 for this channel is capable of dm a transfers, and that the controller has been initialized for opti mum performance . the intel ? ich7 does not use this bit. it is intended for systems that do not attach bmide to the pci bus. 6 (ultra mobile only) reserved 5 drive 0 dma capable ? r/w. 0 = not capable 1 = capable. set by device de pendent code (bios or device driver) to indicate that drive 0 for this channel is capable of dm a transfers, and that the controller has been initialized for optimum performance. th e ich7 does not use this bit. it is intended for systems that do not attach bmide to the pci bus. 4:3 reserved. returns 0. free datasheet http://www..net/
intel ? ich7 family datasheet 617 ide controller registers (d31:f1) 15.2.3 bmidp?bus master ide desc riptor table pointer register (ide?d31:f1) address offset: bmibase + 04h attribute: r/w default value: all bits undefined size: 32 bits 2 interrupt ? r/wc. software can use this bit to determine if an ide device has asserted its interrupt line (ideirq). 0 = software clears this bit by writing a 1 to it. if this bit is cleared while the interrupt is still active, this bit will remain clear until another assertion edge is detected on the interrupt line. 1 = set by the rising edge of the ide interru pt line, regard less of whether or not the interrupt is masked in the 8259 or the inte rnal i/o apic. when this bit is read as 1, all data transferred from the drive is visible in system memory. 1 error ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when the controller en counters a target abort or master abort when transferring data on pci. 0 bus master ide active (act) ? ro. 0 = this bit is cleared by the ich7 when th e last transfer for a region is performed, where eot for that region is set in the regi on descriptor. it is also cleared by the ich7 when the start bit is cleared in the command register. when this bit is read as 0, all data transferred from the dr ive during the previous bus master command is visible in system memory, unless the bus master command was aborted. 1 = set by the ich7 when the start bit is written to the command register. bit description bit description 31:2 address of descriptor table (addr) ? r/w. corresponds to a[31:2]. the descriptor table must be dw ord-aligned. the descriptor table must not cross a 64-k boundary in memory. 1:0 reserved free datasheet http://www..net/
ide controller registers (d31:f1) 618 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 619 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 16 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) note: ac ?97 is not supported on ich7-u ultra mobile. 16.1 ac ?97 audio pci configuration space (audio?d30:f2) note: registers that are not shown should be treated as reserved. table 16-1. ac ?97 audio pci regi ster address map (audio?d30:f2) offset mnemonic register name default access 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description. ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0280h r/wc, ro 08h rid revision identification see register description ro 09h pi programming interface 00 ro 0ah scc sub class code 01h ro 0bh bcc base class code 04h ro 0eh headtyp header type 00h ro 10h?13h nambar native audio mixer base address 00000001h r/w, ro 14h?17h nabmbar native audio bus mast ering base address 00000001h r/w, ro 18h?1bh mmbar mixer base address (mem) 00000000h r/w, ro 1ch?1fh mbbar bus master base address (mem) 00000000h r/w, ro 2ch?2dh svid subsystem vendor identification 0000h r/wo 2eh?2fh sid subsystem identification 0000h r/wo 34h cap_ptr capabilities pointer 50h ro 3ch int_ln interrupt line 00h r/w 3dh int_pn interrupt pin see register description ro 40h pcid programmable codec id 09h r/w 41h cfg configuration 00h r/w 50h?51h pid pci power management capability id 0001h ro 52h?53h pc pc -power management capabilities c9c2h ro 54h?55h pcs power management control and status 0000h r/w, r/ wc free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 620 intel ? ich7 family datasheet note: internal reset as a result of d3 hot to d0 transition will reset all the core well registers except the following bios programmed regist ers as bios may not be invoked following the d3-to-d0 transition. all resume well registers will not be reset by the d3 hot to d0 transition. core well registers not reset by the d3 hot to d0 transition: ? offset 2ch ? 2dh ? subsystem vendor id (svid) ? offset 2eh ? 2fh ? subsystem id (sid) ? offset 40h ? programmable codec id (pcid) ? offset 41h ? configuration (cfg) resume well registers will not be reset by the d3 hot to d0 transition: ? offset 54h ? 55h ? power management control and status (pcs) ? bus mastering register: global status register, bits 17:16 ? bus mastering register: sdata_in map register, bits 7:3 16.1.1 vid?vendor iden tification register (audio?d30:f2) offset: 00h ? 01h attribute: ro default value: 8086h size: 16 bits lockable: no power well: core 16.1.2 did?device identificati on register (audio?d30:f2) offset: 02h ? 03h attribute: ro default value: see bit description size: 16 bits lockable: no power well: core bit description 15:0 vendor id. this is a 16-b it value assigned to intel. bit description 15:0 device id ? ro. this is a 16-b it value assigned to the intel ? ich7 ac ?97 audio controller. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the device id register. free datasheet http://www..net/
intel ? ich7 family datasheet 621 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 16.1.3 pcicmd?pci command register (audio?d30:f2) address offset: 04h ? 05h attribute: r/w, ro default value: 0000h size: 16 bits lockable: no power well: core pcicmd is a 16-bit control register. refer to the pci 2.3 specification for complete details on each bit. bit description 15:11 reserved. read 0. 10 interrupt disable (id) ? r/w. 0 = the intx# signals may be asse rted and msis may be generated. 1 = the ac ?97 controller?s intx# signal wi ll be de-asserted and it may not generate msis. 9 fast back to back enable (fbe) ? ro. not implemented. hardwired to 0. 8 serr# enable (serr_en) ? ro. no t implemented. hardwired to 0. 7 wait cycle control (wcc) ? ro. no t implemented. hardwired to 0. 6 parity error response (per) ? ro. not implemented. hardwired to 0. 5 vga palette snoop (vps). not implemented. hardwired to 0. 4 memory write and invalidate enable (mwie) ? ro. not implemented. hardwired to 0. 3 special cycle enable (sce). no t implemented. hardwired to 0. 2 bus master enable (bme) ? r/w. controls standard pci bu s mastering capabilities. 0 = disable 1 = enable 1 memory space enable (mse) ? r/w. enables memory space addresses to the ac ?97 audio controller. 0 = disable 1 = enable 0 i/o space enable (iose) ? r/w. this bit controls access to the ac ?97 audio controller i/o space registers. 0 = disable (default). 1 = enable access to i/o space. the native pci mode base address register should be programmed prior to setting this bit. note: this bit becomes writable when the iose bi t in offset 41h is set. if at any point software decides to clear the iose bit, software must firs t clear the ios bit. free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 622 intel ? ich7 family datasheet 16.1.4 pcists?pci status register (audio?d30:f2) offset: 06h ? 07h attribute: ro, r/wc default value 0280h size: 16 bits lockable: no power well: core pcists is a 16-bit status register. refer to the pci 2.3 specification for complete details on each bit. 16.1.5 rid?revision identificati on register (audio?d30:f2) offset: 08h attribute: ro default value: see bit description size: 8 bits lockable: no power well: core bit description 15 detected parity error (dpe). not implemented. hardwired to 0. 14 signaled system error (sse) ? ro. not implemented. hardwired to 0. 13 master abort status (mas) ? r/wc. software clears this bit by writing a 1 to it. 0 = no master abort generated. 1 = bus master ac '97 2.3 in terface function, as a master, generates a master abort. 12 reserved ? ro. will always read as 0. 11 signaled target abort (sta) ? ro. not implemented. hardwired to 0. 10:9 devsel# timing status (dev_sts) ? ro. this 2-bit field reflects the intel ? ich7's devsel# timing when perfo rming a positive decode. 01b = medium timing. 8 data parity error detected (dped) ? ro. not implemented. hardwired to 0. 7 fast back to back capable (fb2bc) ? ro. hardwired to 1. this bit indicates that the ich7 as a target is capable of fast back-to-back transactions. 6 udf supported ? ro. not implemented. hardwired to 0. 5 66 mhz capable (66mhz_cap) ? ro. hardwired to 0. 4 capabilities list (cap_list) ? ro. indicates that the controller contains a capabilities pointer list. the first item is pointed to by looking at configuration offset 34h. 3 interrupt status (is) ? ro. 0 = this bit is 0 after th e interrupt is cleared. 1 = this bit is 1 when the intx# is asserted. 2:0 reserved. bit description 7:0 revision id ? ro. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the revision id register. free datasheet http://www..net/
intel ? ich7 family datasheet 623 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 16.1.6 pi?programmin g interface regist er (audio?d30:f2) offset: 09h attribute: ro default value: 00h size: 8 bits lockable: no power well: core 16.1.7 scc?sub class code register (audio?d30:f2) address offset: 0ah attribute: ro default value: 01h size: 8 bits lockable: no power well: core 16.1.8 bcc?base clas s code register (audio?d30:f2) address offset: 0bh attribute: ro default value: 04h size: 8 bits lockable: no power well: core 16.1.9 headtyp?header type register (audio?d30:f2) address offset: 0eh attribute: ro default value: 00h size: 8 bits lockable: no power well: core bit description 7:0 programming interface ? ro. bit description 7:0 sub class code (scc) ? ro. 01h = audio device bit description 7:0 base class code (bcc) ? ro. 04h = multimedia device bit description 7:0 header type ? ro. hardwired to 00h. free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 624 intel ? ich7 family datasheet 16.1.10 nambar?native audio mi xer base address register (audio?d30:f2) address offset: 10 ? 13h attribute: r/w, ro default value: 00000001h size: 32 bits lockable: no power well: core the native pci mode audio function uses pci base address register #1 to request a contiguous block of i/o space that is to be used for the native audio mixer software interface. the mixer requires 256 bytes of i/o space. native audio mixer and modem codec i/o registers are located from 00h to 7fh and reside in the codec. access to these registers will be decoded by the ac '9 7 controller and forwarded over the ac-link to the codec. the codec will then respond with the register value. in the case of the split codec implementation, accesses to the different codecs are differentiated by the controller by using address offsets 00h ? 7fh for the primary codec and address offsets 80h ? feh for the secondary codec. note: the tertiary codec cannot be addressed via this address space. the tertiary space is only available from the new mmbar register. th is register powers up as read only and only becomes write-able when the iose bit in offset 41h is set. for description of these i/o registers, refer to the audio codec ?97 component specification, version 2.3 . bit description 31:16 hardwired to 0s. 15:8 base address ? r/w. these bits are used in the i/o space decode of the native audio mixer interface registers. the number of uppe r bits that a device actually implements depends on how much of the address space th e device will respond to. for the ac ?97 mixer, the upper 16 bits are hardwired to 0, while bits 15:8 are programmable. this configuration yields a maximum i/o block si ze of 256 bytes for this base address. 7:1 reserved. read as 0s. 0 resource type indicator (rte) ? ro. this bit defaults to 0 and changes to 1 if the iose bit is set (d30:f2:offset 41h, bit 0). wh en 1, this bit indicates a request for i/o space. free datasheet http://www..net/
intel ? ich7 family datasheet 625 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 16.1.11 nabmbar?native audio bus mastering base address register (audio?d30:f2) address offset: 14h ? 17h attribute: r/w, ro default value: 00000001h size: 32 bits lockable: no power well: core the native pci mode audio function uses pci base address register #1 to request a contiguous block of i/o space that is to be used for the native mode audio software interface. note: the dma registers for s/pdif* and microphone in 2 cannot be addressed via this address space. these dma functions are only available from the new mbbar register. this register powers up as read only and on ly becomes write-able when the iose bit in offset 41h is set. 16.1.12 mmbar?mixer base addr ess register (audio?d30:f2) address offset: 18h ? 1bh attribute: r/w, ro default value: 00000000h size: 32 bits lockable: no power well: core this bar creates 512 bytes of memory space to signify the base address of the register space. the lower 256 bytes of this space map to the same registers as the 256-byte i/ o space pointed to by nambar. the lower 384 bytes are divided as follows: ? 128 bytes for the primary codec (offsets 00?7fh) ? 128 bytes for the secondary codec (offsets 80?ffh) ? 128 bytes for the tertiary codec (offsets 100h?17fh). ? 128 bytes of reserved space (offsets 180h?1ffh), returning all 0?s. bit description 31:16 hardwired to 0s 15:6 base address ? r/w. these bits are used in the i/o space decode of the native audio bus mastering interface regist ers. the number of upper bi ts that a device actually implements depends on how much of the addr ess space the device will respond to. for ac '97 bus mastering, the upper 16 bits are hardwired to 0, while bits 15:6 are programmable. this configuration yields a maximum i/o block size of 64 byte s for this base address. 5:1 reserved. read as 0?s. 0 resource type indicator (rte) ? ro. this bit defaults to 0 and changes to 1 if the iose bit is set (d30:f2:offset 41h, bit 0). wh en 1, this bit indicates a request for i/o space. bit description 31:9 base address ? r/w. this field provides the lower 32-bits of the 512-byte memory offset to use for decoding the primary, se condary, and tertiary codec?s mixer spaces. 8:3 reserved. read as 0s. 2:1 type ? ro. hardwired to 00b to indicate the base address exists in 32-bit address space 0 resource type indicator (rte) ? ro. hardwired to 0 to indicate a request for memory space. free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 626 intel ? ich7 family datasheet 16.1.13 mbbar?bus master base address register (audio?d30:f2) address offset: 1ch ? 1fh attribute: r/w, ro default value: 00000000h size: 32 bits lockable: no power well: core this bar creates 256-bytes of memory space to signify the base address of the bus master memory space. the lower 64-bytes of the space pointed to by this register point to the same registers as the mbbar. 16.1.14 svid?subsystem vendor identification register (audio?d30:f2) address offset: 2ch ? 2dh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core the svid register, in combination with the subsystem id register (d30:f2:2eh), enable the operating environment to distinguish one audio subsystem from the other(s). this register is implemented as write-once register. once a value is written to it, the value can be read back. any subseq uent writes will have no effect. this register is not affected by the d3 hot to d0 transition. bit description 31:8 base address ? r/w. this field provid es the i/o offset to use for decoding the pcm in, pcm out, and microphone 1 dma engines. 7:3 reserved. read as 0s. 2:1 type ? ro. hardwired to 00b to indicate th e base address exists in 32-bit address space 0 resource type indicator (rte) ? ro. hardwired to 0 to indicate a request for memory space. bit description 15:0 subsystem vendor id ? r/wo. free datasheet http://www..net/
intel ? ich7 family datasheet 627 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 16.1.15 sid?subsystem identification register (audio?d30:f2) address offset: 2eh ? 2fh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core the sid register, in combination with the subsystem vendor id register (d30:f2:2ch) make it possible for the operating enviro nment to distinguish one audio subsystem from the other(s). this register is implemented as write-once register. once a value is written to it, the value can be read back. any subsequent writes will have no effect. this register is not affected by the d3 hot to d0 transition. t 16.1.16 cap_ptr?capabilities poin ter register (audio?d30:f2) address offset: 34h attribute: ro default value: 50h size: 8 bits lockable: no power well: core this register indicates the offset for the capability pointer. 16.1.17 int_ln?interrupt line register (audio?d30:f2) address offset: 3ch attribute: r/w default value: 00h size: 8 bits lockable: no power well: core this register indicates which pci interrupt lin e is used for the ac ?97 module interrupt. bit description 15:0 subsystem id ? r/wo. bit description 7:0 capabilities pointer (cap_ptr) ? ro. this field indicates that the first capability pointer offset is offset 50h bit description 7:0 interrupt line (int_ln) ? r/w. this data is not used by the intel ? ich7. it is used to communicate to software th e interrupt line that the in terrupt pin is connected to. free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 628 intel ? ich7 family datasheet 16.1.18 int_pn?interrupt pin register (audio?d30:f2) address offset: 3dh attribute: ro default value: see description size: 8 bits lockable: no power well: core this register indicates which pci interrupt pin is used for the ac '97 module interrupt. the ac '97 interrupt is internally or?d to the interrupt controller with the pirqb# signal. 16.1.19 pcid?programmable code c identification register (audio?d30:f2) address offset: 40h attribute: r/w default value: 09h size: 8 bits lockable: no power well: core this register is used to specify the id for the secondary and tertiary codecs for i/o accesses. this register is not affected by the d3 hot to d0 transition. the value in this register must be modified before any ac ?97 codec accesses. 16.1.20 cfg?configuration register (audio?d30:f2) address offset: 41h attribute: r/w default value: 00h size: 8 bits lockable: no power well: core this register is used to specify the id for the secondary and tertiary codecs for i/o accesses. this register is not affected by the d3 hot to d0 transition. bit description 7:0 ac '97 interrupt routing ? ro. this reflects the value of d30ip.aaip in chipset configuration space. bit description 7:4 reserved. 3:2 tertiary codec id (tid ) ? r/w. these bits define the encoded id that is used to address the tertiary codec i/o space. bit 1 is the first bit sent and bit 0 is the second bit sent on acz_sdout during slot 0. 1:0 secondary codec id (scid) ? r/w. these two bits define the encoded id that is used to address the secondary codec i/o space. the two bits are the id that will be placed on slot 0, bits 0 and 1, upon an i/o access to the secondary codec. bit 1 is the first bit sent and bit 0 is the second bit sent on acz_sdout during slot 0. bit description 7:1 reserved?ro. 0 i/o space enable (iose) ? r/w. 0 = disable. the ios bit at o ffset 04h and the i/o space ba rs at offset 10h and 14h become read only registers. additionally, bit 0 of the i/o bars at offsets 10h and 14h are hardwired to 0 when this bit is 0. this is the default st ate for the i/o bars. bios must explicitly set this bit to allow a legacy driver to work. 1 = enable. free datasheet http://www..net/
intel ? ich7 family datasheet 629 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 16.1.21 pid?pci power management capability identification register (audio?d30:f2) address offset: 50h ? 51h attribute: ro default value: 0001h size: 16 bits lockable: no power well: core 16.1.22 pc?power management capabilitie s register (audio?d30:f2) address offset: 52h ? 53h attribute: ro default value: c9c2h size: 16 bits lockable: no power well: core this register is not affected by the d3 hot to d0 transition. bit description 15:8 next capability (next) ? ro. this field indicates that the next item in the list is at offset 00h. 7:0 capability id (cap) ? ro.this field indicate s that this pointer is a message signaled interrupt capability bit description 15:11 pme support ? ro. this field indicates pme# can be generated from all d states. 10:9 reserved. 8:6 auxiliary current ? ro. this field report s 375 ma maximum suspend well current required when in the d3 cold state. 5 device specific initialization (dsi)?ro. this field indicates that no device-specific initialization is required. 4 reserved ? ro. 3 pme clock (pmec) ? ro. this field indicates that pci clock is not required to generate pme#. 2:0 version (ver) ? ro. this fi eld indicates support for revision 1.1 of the pci power management specification . free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 630 intel ? ich7 family datasheet 16.1.23 pcs?power management control and status register (audio?d30:f2) address offset: 54h ? 55h attribute: r/w, r/wc default value: 0000h size: 16 bits lockable: no power well: resume bit description 15 pme status (pmes) ? r/wc. this bit resides in the re sume well. softwa re clears this bit by writing a 1 to it. 0 = pme# signal not asserted by ac ?97 controller. 1 = this bit is set when the ac ?97 controll er would normally assert the pme# signal independent of the state of the pme_en bit. 14:9 reserved ? ro. 8 power management ev ent enable (pmee) ? r/w. 0 = disable. 1 = enable. when set, and if co rresponding pmes is also set, the ac '97 controller sets the ac97_sts bit in the gpe0_sts register 7:2 reserved?ro. 1:0 power state (ps) ? r/w. this field is used both to determine the current power state of the ac ?97 controller and to se t a new power state. the values are: 00 = d0 state 01 = not supported 10 = not supported 11 = d3 hot state when in the d3 hot state, the ac ?97 controller?s configuration space is available, but the i/o and memory spaces are not. additionally, interrupts are blocked. if software attempts to write a value of 10b or 01b in to this field, the write operation must complete normally; however, the data is discarded and no state change occurs. free datasheet http://www..net/
intel ? ich7 family datasheet 631 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 16.2 ac ?97 audio i/o space (d30:f2) the ac ?97 i/o space includes native audio bus master registers and native mixer registers. for the ich7, the offsets are import ant as they will determine bits 1:0 of the tag field (codec id). audio mixer i/o space can be accessed as a 16-bit field only since the data packet length on ac-link is a word. any s/w access to the codec will be done as a 16-bit access starting from the first active byte. in case no byte enables are active, the access will be done at the first word of the qword that co ntains the address of this request. table 16-2. intel ? ich7 audio mixer register configuration (sheet 1 of 2) primary offset (codec id =00) secondary offset (codec id =01) tertiary offset (codec id =10) nambar exposed registers (d30:f2) 00h 80h 100h reset 02h 82h 102h master volume 04h 84h 104h aux out volume 06h 86h 106h mono volume 08h 88h 108h master tone (r & l) 0ah 8ah 10ah pc_beep volume 0ch 8ch 10ch phone volume 0eh 8eh 10eh mic volume 10h 90h 110h line in volume 12h 92h 112h cd volume 14h 94h 114h video volume 16h 96h 116h aux in volume 18h 98h 118h pcm out volume 1ah 9ah 11ah record select 1ch 9ch 11ch record gain 1eh 9eh 11eh record gain mic 20h a0h 120h general purpose 22h a2h 122h 3d control 24h a4h 124h ac ?97 reserved 26h a6h 126h powerdown ctrl/stat 28h a8h 128h extended audio 2ah aah 12ah extended audio ctrl/stat 2ch ach 12ch pcm front dac rate 2eh aeh 12eh pcm surround dac rate 30h b0h 130h pcm lfe dac rate 32h b2h 132h pcm lr adc rate 34h b4h 134h mic adc rate 36h b6h 136h 6ch vol: c, lfe 38h b8h 138h 6ch vol: l, r surround 3ah bah 13ah s/pdif control 3ch?56h bc?d6h 13c?156h intel reserved 58h d8h 158h ac ?97 reserved free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 632 intel ? ich7 family datasheet note: 1. software should not try to access reserv ed registers 2. primary codec id cannot be changed. secondary codec id ca n be changed via bits 1:0 of configuration register 40h. tertiary codec id can be changed via bits 3:2 of configuration register 40h. 3. the tertiary offset is only available through the memory space defined by the mmbar register. the bus master registers are located from offs et + 00h to offset + 51h and reside in the ac ?97 controller. accesses to these registers do not cause the cycle to be forwarded over the ac-link to the codec. s/w could access these registers as bytes, word, dword or qword quantities, but reads must not cross dword boundaries. in the case of the split codec implementation, accesses to the different codecs are differentiated by the controller by using address offsets 00h ? 7fh for the primary codec, address offsets 80h ? ffh for the secondary codec and address offsets 100h ? 17fh for the tertiary codec. the global control (glob_cnt) (d30:f2:2ch) and global status (glob_sta) (d30:f2:30h) registers are aliased to the same global registers in the audio and modem i/o space. therefore a read/write to these registers in either audio or modem i/o space affects the same physical register. bus mastering registers exist in i/o space and reside in the ac ?97 controller. the six channels, pcm in, pcm in 2, pc m out, mic in, mic 2, and s/pdif out, each have their own set of bus mastering registers. the foll owing register descriptions apply to all six channels. the register definition section titles use a generic ?x_? in front of the register to indicate that the register applies to all six channels. the naming prefix convention used in table 16-3 and in the register description i/o address is as follows: pi = pcm in channel po = pcm out channel mc = mic in channel mc2 = mic 2 channel pi2 = pcm in 2 channel sp = s/pdif out channel. 5ah dah 15ah vendor reserved 7ch fch 17ch vendor id1 7eh feh 17eh vendor id2 table 16-2. intel ? ich7 audio mixer register configuration (sheet 2 of 2) primary offset (codec id =00) secondary offset (codec id =01) tertiary offset (codec id =10) nambar exposed registers (d30:f2) free datasheet http://www..net/
intel ? ich7 family datasheet 633 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) table 16-3. native audio bus master control registers (sheet 1 of 2) offset mnemonic name default access 00h pi_bdbar pcm in buffer descriptor list base address 00000000h r/w 04h pi_civ pcm in current index value 00h ro 05h pi_lvi pcm in last valid index 00h r/w 06h pi_sr pcm in status 0001h r/wc, ro 08h pi_picb pcm in position in current buffer 0000h ro 0ah pi_piv pcm in prefetched index value 00h ro 0bh pi_cr pcm in control 00h r/w, r/w (special) 10h po_bdbar pcm out buffer descri ptor list base address 00000000h r/w 14h po_civ pcm out current index value 00h ro 15h po_lvi pcm out last valid index 00h r/w 16h po_sr pcm out status 0001h r/wc, ro 18h po_picb pcm in position in current buffer 0000h ro 1ah po_piv pcm out prefetched index value 00h ro 1bh po_cr pcm out control 00h r/w, r/w (special) 20h mc_bdbar mic. in buffer descriptor list base address 00000000h r/w 24h mc_civ mic. in current index value 00h ro 25h mc_lvi mic. in last valid index 00h r/w 26h mc_sr mic. in status 0001h r/wc, ro 28h mc_picb mic. in position in current buffer 0000h ro 2ah mc_piv mic. in prefetched index value 00h ro 2bh mc_cr mic. in control 00h r/w, r/w (special) 2ch glob_cnt global control 00000000h r/w, r/w (special) 30h glob_sta global status see register description r/w, r/wc, ro 34h cas codec access semaphore 00h r/w (special) 40h mc2_bdbar mic. 2 buffer descriptor list base address 00000000h r/w 44h mc2_civ mic. 2 current index value 00h ro 45h mc2_lvi mic. 2 last valid index 00h r/w 46h mc2_sr mic. 2 status 0001h ro, r/wc 48h mc2_picb mic 2 position in current buffer 0000h ro 4ah mc2_piv mic. 2 prefetched index value 00h ro 4bh mc2_cr mic. 2 control 00h r/w, r/w (special) 50h pi2_bdbar pcm in 2 buffer descriptor list base address 00000000h r/w free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 634 intel ? ich7 family datasheet note: internal reset as a result of d3 hot to d0 transition will reset all the core well registers except the registers shared with the ac ?97 modem (gcr, gsr, casr). all resume well registers will not be reset by the d3 hot to d0 transition. core well registers and bits not reset by the d3 hot to d0 transition: ? offset 2ch ? 2fh ? bits 6:0 global control (glob_cnt) ? offset 30h ? 33h ? bits [29,15,11:10,0] global status (glob_sta) ? offset 34h ? codec access semaphore register (cas) resume well registers and bits will not be reset by the d3 hot to d0 transition: ? offset 30h ? 33h ? bits [17:16] global status (glob_sta) 54h pi2_civ pcm in 2 current index value 00h ro 55h pi2_lvi pcm in 2 last valid index 00h r/w 56h pi2_sr pcm in 2 status 0001h r/wc, ro 58h pi2_picb pcm in 2 position in current buffer 0000h ro 5ah pi2_piv pcm in 2 prefetched index value 00h ro 5bh pi2_cr pcm in 2 control 00h r/w, r/w (special) 60h spbar s/pdif buffer descriptor list base address 00000000h r/w 64h spciv s/pdif current index value 00h ro 65h splvi s/pdif last valid index 00h r/w 66h spsr s/pdif status 0001h r/wc, ro 68h sppicb s/pdif position in current buffer 0000h ro 6ah sppiv s/pdif prefetched index value 00h ro 6bh spcr s/pdif control 00h r/w, r/w (special) 80h sdm sdata_in map 00h r/w, ro table 16-3. native audio bus master control registers (sheet 2 of 2) offset mnemonic name default access free datasheet http://www..net/
intel ? ich7 family datasheet 635 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 16.2.1 x _bdbar?buffer descriptor base address register (audio?d30:f2) i/o address: nabmbar + 00h (p ibdbar), attribute: r/w nabmbar + 10h (pobdbar), nabmbar + 20h (mcbdbar) mbbar + 40h (mc2bdbar) mbbar + 50h (pi2bdbar) mbbar + 60h (spbar) default value: 00000000h size: 32 bits lockable: no power well: core software can read the register at offset 00 h by performing a single 32-bit read from address offset 00h. reads across dword boundaries are not supported. 16.2.2 x _civ?current index value register (audio?d30:f2) i/o address: nabmbar + 04 h (piciv), attribute: ro nabmbar + 14h (pociv), nabmbar + 24h (mcciv) mbbar + 44h (mc2civ) mbbar + 54h (pi2civ) mbbar + 64h (spciv) default value: 00h size: 8 bits lockable: no power well: core software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single, 32-bit read from address offset 04h. software can also read this register individually by doing a single, 8-bit read to offset 04h. note: reads across dword boundaries are not supported. bit description 31:3 buffer descriptor base address[31:3] ? r/w. these bits re present address bits 31:3. the data should be aligned on 8-byte boundaries. each bu ffer descriptor is 8 bytes long and the list can contain a maximum of 32 entries. 2:0 hardwired to 0. bit description 7:5 hardwired to 0 4:0 current index value [4:0] ? ro. these bits represent wh ich buffer descriptor within the list of 32 descriptors is currently being processed. as ea ch descriptor is processed, this value is incremented. the value rolls over after it reaches 31. free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 636 intel ? ich7 family datasheet 16.2.3 x _lvi?last valid index register (audio?d30:f2) i/o address: nabmbar + 05h (pilvi), attribute: r/w nabmbar + 15h (polvi), nabmbar + 25h (mclvi) mbbar + 45h (mc2lvi) mbbar + 55h (pi2lvi) mbbar + 65h (splvi) default value: 00h size: 8 bits lockable: no power well: core software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single, 32-bit read from addre ss offset 04h. software can also read this register individually by doing a single, 8-bit read to offset 05h. note: reads across dword boundaries are not supported. 16.2.4 x _sr?status register (audio?d30:f2) i/o address: nabmbar + 06h (pisr), attribute: r/wc, ro nabmbar + 16h (posr), nabmbar + 26h (mcsr) mbbar + 46h (mc2sr) mbbar + 56h (pi2sr) mbbar + 66h (spsr) default value: 0001h size: 16 bits lockable: no power well: core software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single, 32-bit read from addre ss offset 04h. software can also read this register individually by doing a single, 16-bit read to offset 06h. reads across dword boundaries are not supported. bit description 7:5 hardwired to 0. 4:0 last valid index [4:0] ? r/w. this value represents th e last valid descriptor in the list. this value is updated by the software each time it prepares a new buffer and adds it to the list. free datasheet http://www..net/
intel ? ich7 family datasheet 637 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) bit description 15:5 reserved. 4 fifo error (fifoe) ? r/wc. software clears this bit by writing a 1 to it. 0 = no fifo error. 1 = fifo error occurs. pisr register: fifo error indicates a fifo ov errun. the fifo pointers don't increment, the incoming data is not written into the fifo, thus is lost. posr register: fifo error indicates a fifo underru n. the sample transmitted in this case should be the last valid sample. the intel ? ich7 will set the fifo bit if the under-run or overrun occurs when there are more valid buffers to process. 3 buffer completion interrupt status (bcis) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = set by the hardware after the last samp le of a buffer has been processed, and if the interrupt on completion (ioc) bit is set in the command byte of the buffer descriptor. it remains active until cleared by software. 2 last valid buffer completion interrupt (lvbci) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = last valid buffer has been processed. it remains active until cleared by software. this bit indicates the occurrence of the event signified by the last valid buffer being processed. thus this is an event status bit th at can be cleared by software once this event has been recognized. this event will cause an interrupt if the enable bit (d30:f2:nabmbar + 0bh, bit 2) in the control register is set. the interrupt is cleared when th e software clears this bit. in the case of transmits (pcm out, modem out) this bit is set, after the last valid buffer has been fetc hed (not after transmitting it). while in the case of receives , this bit is set after the data for the last buffer has been written to memory. 1 current equals last valid (celv) ? ro. 0 = cleared by hardware when controller exists state (i.e., until a new value is written to the lvi register.) 1 = current index is equa l to the value in the last valid index register (d30:f2:nabmbar + 05h), and the buffe r pointed to by the civ has been processed (i.e., after the la st valid buffer has been proc essed). this bit is very similar to bit 2, except this bit reflects the state rather than the event. this bit reflects the state of the controller, and remains set until the controller exits this state. 0 dma controller halted (dch) ? ro. 0 = running. 1 = halted. this could happen because of the start/stop bit being cleared and the dma engines are idle, or it could happen once the controller has processed the last valid buffer. free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 638 intel ? ich7 family datasheet 16.2.5 x _picb?position in cu rrent buffer register (audio?d30:f2) i/o address: nabmbar + 08h (pipicb), attribute: ro nabmbar + 18h (popicb), nabmbar + 28h (mcpicb) mbbar + 48h (mc2picb) mbbar + 58h (pi2picb) mbbar + 68h (sppicb) default value: 0000h size: 16 bits lockable: no power well: core software can read the registers at the offsets 08h, 0ah, and 0bh by performing a 32-bit read from the address offset 08h. software ca n also read this register individually by doing a single, 16-bit read to offset 08h. reads across dword boundaries are not supported. 16.2.6 x _piv?prefetched index valu e register (audio?d30:f2) i/o address: nabmbar + 0a h (pipiv), attribute: ro nabmbar + 1ah (popiv), nabmbar + 2ah (mcpiv) mbbar + 4ah (mc2piv) mbbar + 5ah (pi2piv) mbbar + 6ah (sppiv) default value: 00h size: 8 bits lockable: no power well: core software can read the registers at the offsets 08h, 0ah, and 0bh by performing a 32-bit read from the address offset 08h. software ca n also read this register individually by doing a single, 8-bit read to offset 0a h. reads across dword boundaries are not supported bit description 15:0 position in current buffer [15:0] ? ro. these bits represent the number of samples left to be processed in the current buffer. this means the number of samples not yet read from memory (in the case of reads from memory) or not yet written to memory (in the case of writes to memory), irrespective of the number of samples that have been transmitte d/received across ac-link. bit description 7:5 hardwired to 0. 4:0 prefetched index value [4:0] ? ro. these bits represent wh ich buffer descriptor in the list has been prefetched. the bits in this register are also modulo 32 and roll over after they reach 31. free datasheet http://www..net/
intel ? ich7 family datasheet 639 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 16.2.7 x _cr?control regist er (audio?d30:f2) i/o address: nabmbar + 0bh (picr), attribute: r/w, r/w (special) nabmbar + 1bh (pocr), nabmbar + 2bh (mccr) mbbar + 4bh (mc2cr) mbbar + 5bh (pi2cr) mbbar + 6bh (spcr) default value: 00h size: 8 bits lockable: no power well: core software can read the registers at the offset s 08h, 0ah, and 0bh by performing a 32-bit read from the address offset 08h. software can also read this register individually by doing a single, 8-bit read to offset 0bh. reads across dword boundaries are not supported. bit description 7:5 reserved. 4 interrupt on completion enable (ioce) ? r/w. this bit controls whether or not an interrupt occurs when a bu ffer completes with the ioc bit set in its descriptor. 0 = disable. interrupt will not occur. 1 = enable. 3 fifo error interrupt enable (feie) ? r/w. this bit controls whether the occurrence of a fifo error will cause an interrupt or not. 0 = disable. bit 4 in the status register will be set, but the interrupt will not occur. 1 = enable. interrupt will occur. 2 last valid buffer interrupt enable (lvbie) ? r/w. this bit controls whether the completion of the last valid buffer will cause an interrupt or not. 0 = disable. bit 2 in the status register will still be set, but the interrupt will not occur. 1 = enable. 1 reset registers (rr) ? r/w (special). 0 = removes reset condition. 1 = contents of all bus master related regi sters to be reset, except the interrupt enable bits (bit 4,3,2 of th is register). software needs to set this bit but need not clear it since the bit is self clearing. this bit must be set only when the run/pause bit (d30:f2:2bh, bit 0) is cleared. settin g it when the run bit is set will cause undefined consequences. 0 run/pause bus master (rpbm) ? r/w. 0 = pause bus master operatio n. this results in all stat e information being retained (i.e., master mode operation ca n be stopped and then resumed). 1 = run. bus master operation starts. free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 640 intel ? ich7 family datasheet 16.2.8 glob_cnt?global control register (audio?d30:f2) i/o address: nabmbar + 2ch attribute: r/w, r/w (special) default value: 00000000h size: 32 bits lockable: no power well: core bit description 31:30 s/pdif slot map (ssm) ? r/w. if the run/pause bus mast er bit (bit 0 of offset 2bh) is set, then the value in these bits indicate which slots s/pdif data is transmitted on. software must ensure that the programming here does not conflict with the pcm channels being used. if there is a conflict , unpredictable behavior will result ? the hardware will not check for a conflict. 00 = reserved 01 = slots 7 and 8 10 = slots 6 and 9 11 = slots 10 and 11 29:24 reserved. 23:22 pcm out mode (pom) ? r/w. enables the pcm out channel to use 16- or 20-bit audio on pcm out. this does not a ffect the microphone of s/pd if dma. when greater than 16-bit audio is used, the data structures are aligned as 32-bits per sample, with the highest order bits re presenting the data, and the lo wer order bits as don?t care. 00 = 16 bit audio (default) 01 = 20 bit audio 10 = reserved. if set, indeterm inate behavior will result. 11 = reserved. if set, indeterm inate behavior will result. 21:20 pcm 4/6 enable ? r/w. this field configures pcm output for 2-, 4- or 6-channel mode. 00 = 2-channel mode (default) 01 = 4-channel mode 10 = 6-channel mode 11 = reserved 19:7 reserved. 6 acz_sdin2 interrupt enable ? r/w. 0 = disable. 1 = enable an interrupt to oc cur when the codec on the acz_sdin2 causes a resume event on the ac-link. note: this bit is not affected by ac ?97 audio function d3 hot to d0 reset. 5 acz_sdin1 interrupt enable ? r/w. 0 = disable. 1 = enable an interrupt to oc cur when the codec on the acz_sdin1 causes a resume event on the ac-link. note: this bit is not affected by ac ?97 audio function d3 hot to d0 reset. 4 acz_sdin0 interrupt enable ? r/w. 0 = disable. 1 = enable an interrupt to occur when the codec on acz_sdin0 causes a resume event on the ac-link. note: this bit is not affected by ac ?97 audio function d3 hot to d0 reset. free datasheet http://www..net/
intel ? ich7 family datasheet 641 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) note: reads across dword boundaries are not supported. 3 ac-link shut off (lso) ? r/w. 0 = normal operation. 1 = controller disables all ou tputs which will be pulled low by internal pull down resistors. note: this bit is not affected by ac ?97 audio function d3 hot to d0 reset. 2 ac ?97 warm reset ? r/w (special). 0 = normal operation. 1 = writing a 1 to this bit causes a warm re set to occur on the ac-link. the warm reset will awaken a suspended codec without cleari ng its internal registers. if software attempts to perform a warm re set while bit_clk is running, the write will be ignored and the bit will not change. this bit is self-clearing (it remains set until the reset completes and bit_clk is seen on the ac -link, after which it clears itself). note: this bit is not affected by ac ?97 audio function d3 hot to d0 reset. 1 ac ?97 cold reset# ? r/w. 0 = writing a 0 to this bit causes a cold rese t to occur throughout the ac ?97 circuitry. all data in the controller and the codec will be lost. software needs to clear this bit no sooner than the minimum number of ms have elapsed. 1 = this bit defaults to 0 and hence after reset, the driver needs to set this bit to a 1. the value of this bit is retained after suspends; hence, if this bit is set to a 1 prior to suspending, a cold reset is not generated automatically upon resuming. note: this bit is in the core well and is not affected by ac ?97 audio function d3 hot to d0 reset. 0 gpi interrupt enable (gie) ? r/w. this bit controls whether the change in status of any gpi causes an interrupt. 0 = bit 0 of the global status register is set, but no inte rrupt is generated. 1 = the change in value of a gpi causes an interrupt and sets bit 0 of the global status register. note: this bit is not affected by ac ?97 audio function d3 hot to d0 reset. bit description free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 642 intel ? ich7 family datasheet 16.2.9 glob_sta?global status register (audio?d30:f2) i/o address: nabmbar + 30h attribute: ro, r/w, r/wc default value: 00x0xxx01110000000000xxxxx00xxxb size: 32 bits lockable: no power well: core bit description 31:30 reserved. 29 acz_sdin2 resume interrupt (s2ri) ? r/wc. this bit indicates a resume event occurred on acz_sdin2. software clea rs this bit by writing a 1 to it. 0 = resume event did not occur. 1 = resume event occurred. note: this bit is not affected by d3 hot to d0 reset. 28 acz_sdin2 codec ready (s2cr) ? ro. reflects the state of the codec ready bit on acz_sdin2. bus masters ignore the conditio n of the codec ready bits, so software must check this bit before starting the bus masters. once the codec is ?ready?, it must not go ?not ready? spontaneously. 0 = not ready. 1 = ready. 27 bit clock stopped (bcs) ? ro. this bit indicates that the bit clock is not running. 0 = transition is found on bit_clk. 1 = intel ? ich7 detected that there has been no transition on bit_clk for four consecutive pci clocks. 26 s/pdif interrupt (spint) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = s/pdif out channel interrupt status bits have been set. 25 pcm in 2 interrupt (p2int) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the pcm in 2 channel status bits have been set. 24 microphone 2 in interrupt (m2int) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the mic in channel inte rrupts status bits has been set. 23:22 sample capabilities ? ro. this field indicates the capa bility to support greater than 16-bit audio. 00 = reserved 01 = 16 and 20-bit audio supported (ich7 value) 10 = reserved 11 = reserved 21:20 multichannel capabilities ? ro. this field indicates the ca pability to support more 4 and 6 channels on pcm out. 19:18 reserved. 17 md3 ? r/w. power down semaphore for modem. this bit exists in the suspend well and maintains context across power states (except g3). the bi t has no hardware function. it is used by software in conjunction with the ad3 bit to coordinate the entry of the two codecs into d3 state. note: this bit is not affected by d3 hot to d0 reset. free datasheet http://www..net/
intel ? ich7 family datasheet 643 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 16 ad3 ? r/w. power down semaphore for audio. th is bit exists in the suspend well and maintains context across power states (excep t g3). the bit has no hardware function. it is used by software in conjunction with the md3 bit to coordinate the entry of the two codecs into d3 state. note: this bit is not affected by d3 hot to d0 reset. 15 read completion status (rcs) ? r/wc. this bit indicates the status of codec read completions. 0 = a codec read completes normally. 1 = a codec read results in a time-out. th e bit remains set until being cleared by software writing a 1 to the bit location. note: this bit is not affected by d3 hot to d0 reset. 14 bit 3 of slot 12 ? ro. display bit 3 of the most recent slot 12. 13 bit 2 of slot 12 ? ro. display bit 2 of th e most recent slot 12. 12 bit 1 of slot 12 ? ro. display bit 1 of the most recent slot 12. 11 acz_sdin1 resume interrupt (s1r1) ? r/wc. this bit indicates that a resume event occurred on acz_sdin1. software cl ears this bit by writing a 1 to it. 0 = resume event did not occur 1 = resume event occurred. note: this bit is not affected by d3 hot to d0 reset. 10 acz_sdin1 resume interrupt (s1r1) ? r/wc. this bit indi cates that a resume event occurred on acz_sdin1. software cl ears this bit by writing a 1 to it. 0 = resume event did not occur 1 = resume event occurred. note: this bit is not affected by d3 hot to d0 reset. 9 acz_sdin0 codec ready (s0cr) ? ro. reflects the state of the codec ready bit in acz_sdin0. bus masters ignore the conditio n of the codec ready bits, so software must check this bit before starting the bus masters. once the codec is ?ready?, it must not go ?not ready? spontaneously. 0 = not ready. 1 = ready. 8 acz_sdin0 codec ready (s0cr) ? ro. reflects the state of the codec ready bit in acz_sdin0. bus masters ignore the conditio n of the codec ready bits, so software must check this bit before starting the bus masters. once the codec is ?ready?, it must not go ?not ready? spontaneously. 0 = not ready. 1 = ready. 7 microphone in interrupt (mint) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the mic in channel interr upts status bits has been set. 6 pcm out interrupt (point) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the pcm out channel interrupts status bits has been set. 5 pcm in interrupt (piint) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the pcm in channel interrupts status bits has been set. 4:3 reserved bit description free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 644 intel ? ich7 family datasheet note: reads across dword boundaries are not supported. 16.2.10 cas?codec access semaph ore register (audio?d30:f2) i/o address: nabmbar + 34h attribute: r/w (special) default value: 00h size: 8 bits lockable: no power well: core note: reads across dword boundaries are not supported. 2 modem out interrupt (moint ) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the modem out channel interrupts status bits has been set. 1 modem in interrupt (miint) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the modem in channel inte rrupts status bits has been set. 0 gpi status change interrupt (gsci) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit reflects the state of bit 0 in slot 12, and is set when bit 0 of slot 12 is set. this indicates that one of the gpi?s has ch anged state, and that the new values are available in slot 12. this bit is not affected by ac ?97 audio function d3 hot to d0 reset. bit description bit description 7:1 reserved. 0 codec access semaphore (cas) ? r/w (special). this bit is read by software to check whether a codec access is currently in progress. 0 = no access in progress. 1 = the act of reading this regi ster sets this bit to 1. the driver that read this bit can then perform an i/o access. once the access is completed, hardware automatically clears this bit. free datasheet http://www..net/
intel ? ich7 family datasheet 645 ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 16.2.11 sdm?sdata_in map register (audio?d30:f2) i/o address: nabmbar + 80h attribute: r/w, ro default value: 00h size: 8 bits lockable: no power well: core note: reads across dword boundaries are not supported. bit description 7:6 pcm in 2, microphone in 2 data in line (di2l) ? r/w. when the se bit is set, these bits indicates which acz_sdin line shou ld be used by the hardware for decoding the input slots for pcm in 2 and microphone in 2. when the se bit is cleared, the value of these bits are irrelevant, and pcm in 2 and mic in 2 dma engines are not available. 00 = acz_sdin0 01 = acz_sdin1 10 = acz_sdin2 11 = reserved 5:4 pcm in 1, microphone in 1 data in line (di1l) ? r/w. when the se bit is set, these bits indicates which acz_sdin line shou ld be used by the hardware for decoding the input slots for pcm in 1 and microphone in 1. when the se bit is cleared, the value of these bits are irrelevant, and the pcm in 1 and mic in 1 engines use the or?d acz_sdin lines. 00 = acz_sdin0 01 = acz_sdin1 10 = acz_sdin2 11 = reserved 3 steer enable (se) ? r/w. when set, the acz_sdin lines are treated separately and not or?d together before bein g sent to the dma engines. when cleared, the acz_sdin lines are or?d together, and the ?microphone in 2? and ?pcm in 2? dma engines are not available. 2 reserved ? ro. 1:0 last codec read data input (ldi) ? ro. when a codec register is read, this indicates which acz_sdin the read data returned on. software can use this to determine how the codecs ar e mapped. the values are: 00 = acz_sdin0 01 = acz_sdin1 10 = acz_sdin2 11 = reserved free datasheet http://www..net/
ac ?97 audio controller registers (d30:f2) (desktop and mobile only) 646 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 647 ac ?97 modem controller registers (d 30:f3) (desktop and mobile only) 17 ac ?97 modem controller registers (d30:f3) (desktop and mobile only) note: ac ?97 is not supported on ich7-u ultra mobile. 17.1 ac ?97 modem pci conf iguration space (d30:f3) note: registers that are not shown should be treated as reserved. note: internal reset as a result of d3 hot to d0 transition will reset all the core well registers except the following bios programmed regist ers as bios may not be invoked following the d3-to-d0 transition. all resume we ll registers will not be reset by the d3 hot to d0 transition. core well registers not reset by the d3 hot to d0 transition: ? offset 2ch ? 2dh ? subsystem vendor id (svid) ? offset 2eh ? 2fh ? subsystem id (sid) resume well registers will not be reset by the d3 hot to d0 transition: ? offset 54h ? 55h ? power management control and status (pcs) table 17-1. ac ?97 modem pci regi ster address map (modem?d30:f3) offset mnemonic register default access 00h?01h vid vendor identification 8086 ro 02h?03h did device identification see register description ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0290h r/wc, ro 08h rid revision identification see register description ro 09h pi programming interface 00h ro 0ah scc sub class code 03h ro 0bh bcc base class code 07h ro 0eh headtyp header type 00h ro 10h?13h mmbar modem mixer base address 00000001h r/w, ro 14h?17h mbar modem base address 00000001h r/w, ro 2ch?2dh svid subsystem vendor identification 0000h r/wo 2eh?2fh sid subsystem identification 0000h r/wo 34h cap_ptr capabilities pointer 50h ro 3ch int_ln interrupt line 00h r/w 3dh int_pn interrupt pin see register description ro 50h?51h pid pci power management capability id 0001h ro 52h?53h pc power management capabilities c9c2h ro 54h?55h pcs power management control and status 0000h r/w, r/wc free datasheet http://www..net/
ac ?97 modem controller registers (d30:f3) (desktop and mobile only) 648 intel ? ich7 family datasheet 17.1.1 vid?vendor iden tification register (modem?d30:f3) address offset: 00h ? 01h attribute: ro default value: 8086 size: 16 bits lockable: no power well: core 17.1.2 did?device identificati on register (modem?d30:f3) address offset: 02h ? 03h attribute: ro default value: see bit description size: 16 bits lockable: no power well: core 17.1.3 pcicmd?pci command register (modem?d30:f3) address offset: 04h ? 05h attribute: r/w, ro default value: 0000h size: 16 bits lockable: no power well: core pcicmd is a 16-bit control register. refer to the pci local bus specification for complete details on each bit. bit description 15:0 vendor id ? ro. this is a 16-bit value assigned to intel. bit description 15:0 device id ? ro. this is a 16-b it value assigned to the intel ? ich7 ac ?97 modem controller. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the device id register. bit description 15:11 reserved. read 0. 10 interrupt disable (id) ? r/w. 0 = the intx# signals may be asse rted and msis may be generated. 1 = the ac ?97 controller?s intx# signal wi ll be de-asserted and it may not generate msis. 9 fast back to back enable (fbe) ? ro. not implemented. hardwired to 0. 8 serr# enable (serr_en) ? ro. not implemented. hardwired to 0. 7 wait cycle control (wcc) ? ro. no t implemented. hardwired to 0. 6 parity error response (per) ? ro. not implemented. hardwired to 0. 5 vga palette snoop (vps) ? ro. no t implemented. hardwired to 0. 4 memory write and invalidate enable (mwie) ? ro. not implemented. hardwired to 0. 3 special cycle enable (sce) ? ro. not implemented. hardwired to 0. 2 bus master enable (bme) ? r/w. this bit controls standard pci bus mastering capabilities. 0 = disable 1 = enable 1 memory space enable (mse) ? ro. hardwire d to 0, ac ?97 does not respond to memory accesses. 0 i/o space enable (iose) ? r/w. this bit controls access to the i/o space registers. 0 = disable access. (default = 0). 1 = enable access to i/o space. the native pci mode base address register should be programmed prior to setting this bit. free datasheet http://www..net/
intel ? ich7 family datasheet 649 ac ?97 modem controller registers (d 30:f3) (desktop and mobile only) 17.1.4 pcists?pci status register (modem?d30:f3) address offset: 06h ? 07h attribute: r/wc, ro default value: 0290h size: 16 bits lockable: no power well: core pcists is a 16-bit status register. refer to the pci local bus specification for complete details on each bit. note: for the writable bits, software must write a 1 to clear bits that are set. writing a 0 to the bit has no effect. bit description 15 detected parity error (dpe) ? ro . not implemented. hardwired to 0. 14 signaled system error (sse) ?ro. not implemented. hardwired to 0. 13 master abort status (mas) ? r/wc. 0 = master abort not generated by bus master ac ?97 function. 1 = bus master ac ?97 interface function , as a master, generates a master abort. 12 reserved. read as 0. 11 signaled target abort (sta) ? ro . not implemented. hardwired to 0. 10:9 devsel# timing status (dev_sts) ? ro. this 2-bit field reflec ts the ich7's devsel# timing parameter. these read only bits indicate the ich7's devsel# timing when performing a positive decode. 8 data parity error detected (dped) ? ro. not implemented. hardwired to 0. 7 fast back to back capable (fb2bc) ? ro. ha rdwired to 1. this bit indicates that the ich7 as a target is capable of fast back-to-back transactions. 6 user definable features (udf) ? ro . not implemented. hardwired to 0. 5 66 mhz capable (66mhz_cap) ? ro. hardwired to 0. 4 capabilities list (cap _list) ? ro. indicates that the co ntroller contains a capabilities pointer list. the first item is pointed to by looking at configuration offset 34h. 3 interrupt status (ints) ? ro. 0 = this bit is 0 after th e interrupt is cleared. 1 = this bit is 1 when the intx# is asserted. 2:0 reserved free datasheet http://www..net/
ac ?97 modem controller registers (d30:f3) (desktop and mobile only) 650 intel ? ich7 family datasheet 17.1.5 rid?revision identificati on register (modem?d30:f3) address offset: 08h attribute: ro default value: see bit description size: 8 bits lockable: no power well: core 17.1.6 pi?programming interfac e register (modem?d30:f3) address offset: 09h attribute: ro default value: 00h size: 8 bits lockable: no power well: core 17.1.7 scc?sub class code register (modem?d30:f3) address offset: 0ah attribute: ro default value: 03h size: 8 bits lockable: no power well: core 17.1.8 bcc?base class code register (modem?d30:f3) address offset: 0bh attribute: ro default value: 07h size: 8 bits lockable: no power well: core 17.1.9 headtyp?header type register (modem?d30:f3) address offset: 0eh attribute: ro default value: 00h size: 8 bits lockable: no power well: core bit description 7:0 revision id ? ro. refer to the intel ? i/o controller hub 7 (ich 7) family specification update for the value of the revision id register. bit description 7:0 programming interface ? ro. bit description 7:0 sub class code ? ro. 03h = generic modem. bit description 7:0 base class code ? ro. 07h = simple communications controller. bit description 7:0 header type ? ro. free datasheet http://www..net/
intel ? ich7 family datasheet 651 ac ?97 modem controller registers (d 30:f3) (desktop and mobile only) 17.1.10 mmbar?modem mixer base address register (modem?d30:f3) address offset: 10 ? 13h attribute: r/w, ro default value: 00000001h size: 32 bits the native pci mode modem uses pci base address register #1 to request a contiguous block of i/o space that is to be used for the modem mixer software interface. the mixer requires 256 bytes of i/o space. all accesses to the mixer registers are forwarded over the ac-link to th e codec where the registers reside. in the case of the split codec implementation accesses to the different codecs are differentiated by the controller by using address offsets 00h ? 7fh for the primary codec and address offsets 80h ? feh for the secondary codec. 17.1.11 mbar?modem base addr ess register (modem?d30:f3) address offset: 14h ? 17h attribute: r/w, ro default value: 00000001h size: 32 bits the modem function uses pci base address register #1 to request a contiguous block of i/o space that is to be used for the modem software interface. the modem bus mastering register space requires 128 bytes of i/o space. all modem registers reside in the controller, therefore cycles are not forwarded over the ac-link to the codec. bit description 31:16 hardwired to 0?s. 15:8 base address ? r/w. these bits are used in the i/o space decode of the modem interface registers. the numb er of upper bits that a de vice actually implements depends on how much of the address space th e device will respond to. for the ac ?97 modem, the upper 16 bits are hardwired to 0, while bits 15:8 are programmable. this configuration yields a maximum i/o block si ze of 256 bytes for this base address. 7:1 reserved. read as 0 0 resource type indicator (rte) ? ro. hardwired to 1indicating a request for i/o space. bit description 31:16 hardwired to 0?s. 15:7 base address ? r/w. these bits are used in the i/o space decode of the modem interface registers. the numb er of upper bits that a de vice actually implements depends on how much of the address space th e device will respond to. for the ac ?97 modem, the upper 16 bits are hardwired to 0, while bits 15:7 are programmable. this configuration yields a maximum i/o block si ze of 128 bytes for this base address. 6:1 reserved. read as 0 0 resource type indicator (rte) ? ro. hardwired to 1 indicating a request for i/o space. free datasheet http://www..net/
ac ?97 modem controller registers (d30:f3) (desktop and mobile only) 652 intel ? ich7 family datasheet 17.1.12 svid?subsystem vendor identification register (modem?d30:f3) address offset: 2ch ? 2dh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core the svid register, in combination with the su bsystem id register, enable the operating environment to distinguish one audio subsystem from the other(s). this register is implemented as write-once register. once a value is written to it, the value can be read back. any subsequent writes will have no effect. this register is not affected by the d3 hot to d0 transition. 17.1.13 sid?subsystem identifica tion register (modem?d30:f3) address offset: 2eh ? 2fh attribute: r/wo default value: 0000h size: 16 bits lockable: no power well: core the sid register, in combination with the subsystem vendor id register make it possible for the operating environment to distinguish one audio subsystem from another. this register is implemented as write-once register. once a value is written to it, the value can be read back. any subsequent writes will have no effect. this register is not affected by the d3 hot to d0 transition. 17.1.14 cap_ptr?capabilities po inter register (modem?d30:f3) address offset: 34h attribute: ro default value: 50h size: 8 bits lockable: no power well: core this register indicates the offset for the capability pointer. bit description 15:0 subsystem vendor id ? r/wo. bit description 15:0 subsystem id ? r/wo. bit description 7:0 capabilities pointer (cap_ptr) ? ro. this fiel d indicates that the fi rst capability pointer offset is offset 50h free datasheet http://www..net/
intel ? ich7 family datasheet 653 ac ?97 modem controller registers (d 30:f3) (desktop and mobile only) 17.1.15 int_ln?interrupt line register (modem?d30:f3) address offset: 3ch attribute: r/w default value: 00h size: 8 bits lockable: no power well: core this register indicates which pci interrupt lin e is used for the ac ?97 module interrupt. 17.1.16 int_pin?interrupt pi n register (modem?d30:f3) address offset: 3dh attribute: ro default value: see description size: 8 bits lockable: no power well: core this register indicates which pci interrupt pin is used for the ac ?97 modem interrupt. the ac ?97 interrupt is internally or?d to the interrupt controller with the pirqb# signal. 17.1.17 pid?pci power management capability identification register (modem?d30:f3) address offset: 50h attribute: ro default value: 0001h size: 16 bits lockable: no power well: core bit description 7:0 interrupt line (int_ln) ? r/w. this data is not used by the intel ? ich7. it is used to communicate to software the interrupt line that the interrupt pin is connected to. bit description 7:3 reserved 2:0 interrupt pin (int_pn) ? ro. this reflec ts the value of d30ip.amip in chipset configuration space. bit description 15:8 next capability (next) ? ro. this field indica tes that this is the last item in the list. 7:0 capability id (cap) ? ro. this field indicate s that this pointer is a message signaled interrupt capability. free datasheet http://www..net/
ac ?97 modem controller registers (d30:f3) (desktop and mobile only) 654 intel ? ich7 family datasheet 17.1.18 pc?power management capabilities register (modem?d30:f3) address offset: 52h attribute: ro default value: c9c2h size: 16 bits lockable: no power well: core 17.1.19 pcs?power management control and status register (modem?d30:f3) address offset: 54h attribute: r/w, r/wc default value: 0000h size: 16 bits lockable: no power well: resume this register is not affected by the d3 hot to d0 transition. bit description 15:11 pme support ? ro. this field indicates pme# can be generated from all d states. 10:9 reserved. 8:6 auxiliary current ? ro. this field repo rts 375 ma maximum suspend well current required when in the d3 cold state. 5 device specific initialization (dsi) ? ro. this bit indicates that no device-specific initialization is required. 4 reserved ? ro. 3 pme clock (pmec) ? ro. this bit indicates that pci clock is not required to generate pme#. 2:0 version (vs) ? ro. this field indicates su pport for revision 1.1 of the pci power management specification. bit description 15 pme status (pmes) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit is set when the ac ?97 controll er would normally asse rt the pme# signal independent of the state of the pme_en bi t. this bit resides in the resume well. 14:9 reserved ? ro. 8 pme enable (pmee) ? r/w. 0 = disable. 1 = enable. when set, and if corresponding pmes is also set, the ac '97 controller sets the ac97_sts bit in the gpe0_sts register. 7:2 reserved ? ro. 1:0 power state (ps) ? r/w. this field is used both to determine the current power state of the ac ?97 controller and to se t a new power state. the values are: 00 = d0 state 01 = not supported 10 = not supported 11 = d3 hot state when in the d3 hot state, the ac ?97 controller?s co nfiguration space is available, but the i/o and memory spaces are not. additionally, interrupts are blocked. if software attempts to write a value of 10b or 01b in to this field, the write operation must complete normally; however, the data is discarded and no state change occurs. free datasheet http://www..net/
intel ? ich7 family datasheet 655 ac ?97 modem controller registers (d 30:f3) (desktop and mobile only) 17.2 ac ?97 modem i/o space (d30:f3) in the case of the split codec implementation accesses to the modem mixer registers in different codecs are differentiated by the controller by using address offsets 00h ? 7fh for the primary codec and address offsets 80h ? feh for the secondary codec. table 17-2 shows the register addresses for the modem mixer registers. notes: 1. registers in italics are for functions not supported by the ich7 2. software should not try to access reserved registers 3. the ich7 supports a modem codec connected to acz_sdin[2:0], as lo ng as the codec id is 00 or 01. however, the ich7 does no t support more than one modem codec. the global control (glob_cnt) and global status (glob_sta) registers are aliased to the same global registers in the audio and modem i/o space. therefore a read/write to these registers in either audio or modem i/o space affects the same physical register. software could access these registers as bytes, word, dword quantities, but reads must not cross dword boundaries. these registers exist in i/o space and reside in the ac ?97 controller. the two channels, modem in and modem out, each have their own set of bus mastering registers. the following register descriptions apply to both channels. the naming prefix convention used is as follows: mi = modem in channel mo = modem out channel table 17-2. intel ? ich7 modem mixer register configuration register mmbar exposed registers (d30:f3) primary secondary name 00h:38h 80h:b8h intel reserved 3ch bch extended modem id 3eh beh extended modem stat/ctrl 40h c0h line 1 dac/adc rate 42h c2h line 2 dac/adc rate 44h c4h handset dac/adc rate 46h c6h line 1 dac/adc level mute 48h c8h line 2 dac/adc level mute 4ah cah handset dac/adc level mute 4ch cch gpio pin config 4eh ceh gpio polarity/type 50h d0h gpio pin sticky 52h d2h gpio pin wake up 54h d4h gpio pin status 56h d6h misc. modem afe stat/ctrl 58h d8h ac ?97 reserved 5ah dah vendor reserved 7ch fch vendor id1 7eh feh vendor id2 free datasheet http://www..net/
ac ?97 modem controller registers (d30:f3) (desktop and mobile only) 656 intel ? ich7 family datasheet note: 1. mi = modem in channel; mo = modem out channel note: internal reset as a result of d3 hot to d0 transition will reset all the core well registers except the registers shared with the ac ?97 audio controller (gcr, gsr, casr). all resume well registers will not be reset by the d3 hot to d0 transition. core well registers and bits not reset by the d3 hot to d0 transition: ? offset 3ch ? 3fh ? bits [6:0] global control (glob_cnt) ? offset 40h ? 43h ? bits [29,15,11:10] global status (glob_sta) ? offset 44h ? codec access semaphore register (cas) resume well registers and bits will not be reset by the d3 hot to d0 transition: ? offset 40h ? 43h ? bits [17:16] global status (glob_sta) table 17-3. modem registers offset mnemonic name default access 00h?03h mi_bdbar modem in buffer descriptor list base address 00000000h r/w 04h mi_civ modem in current index value 00h ro 05h mi_lvi modem in last valid index 00h r/w 06h?07h mi_sr modem in status 0001h r/wc, ro 08h?09h mi_picb modem in position in current buffer 0000h ro 0ah mi_piv modem in prefetch index value 00h ro 0bh mi_cr modem in control 00h r/w, r/w (special) 10h?13h mo_bdbar modem out buffer desc riptor list base address 00000000h r/w 14h mo_civ modem out current index value 00h ro 15h mo_lvi modem out last valid 00h r/w 16h?17h mo_sr modem out status 0001h r/wc, ro 18h?19h mi_picb modem in position in current buffer 0000h ro 1ah mo_piv modem out prefetched index 00h ro 1bh mo_cr modem out control 00h r/w, r/w (special) 3ch?3fh glob_cnt global control 00000000h r/w, r/w (special) 40h?43h glob_sta global status 00300000h ro, r/w, r/wc 44h cas codec access semaphore 00h r/w (special) free datasheet http://www..net/
intel ? ich7 family datasheet 657 ac ?97 modem controller registers (d 30:f3) (desktop and mobile only) 17.2.1 x _bdbar?buffer descriptor li st base address register (modem?d30:f3) i/o address: mbar + 00h (mibdbar), attribute: r/w mbar + 10h (mobdbar) default value: 00000000h size: 32bits lockable: no power well: core software can read the register at offset 00 h by performing a single, 32-bit read from address offset 00h. reads across dword boundaries are not supported. 17.2.2 x _civ?current index value register (modem?d30:f3) i/o address: mbar + 04h (miciv), attribute: ro mbar + 14h (mociv), default value: 00h size: 8bits lockable: no power well: core software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single, 32-bit read from address offset 04h. software can also read this register individually by doing a single, 8-bit read to offset 04h. reads across dword boundaries are not supported. 17.2.3 x _lvi?last valid index re gister (modem?d30:f3) i/o address: mbar + 05h (milvi), attribute: r/w mbar + 15h (molvi) default value: 00h power well: core software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single, 32-bit read from address offset 04h. software can also read this register individually by doing a single, 8-bit read to offset 05h. reads across dword boundaries are not supported. bit description 31:3 buffer descriptor list base address [31:3] ? r/w. these bits represent address bits 31:3. the entries should be aligned on 8-byte boundaries. 2:0 hardwired to 0. bit description 7:5 hardwired to 0. 4:0 current index value [4:0] ? ro. these bits represent which buffer descriptor within the list of 16 descript ors is being processed current ly. as each descriptor is processed, this value is incremented. bit description 7:5 hardwired to 0 4:0 last valid index [4:0] ? r/w. these bits indicate the la st valid descript or in the list. this value is updated by the software as it prepares new buffers and adds to the list. free datasheet http://www..net/
ac ?97 modem controller registers (d30:f3) (desktop and mobile only) 658 intel ? ich7 family datasheet 17.2.4 x _sr?status register (modem?d30:f3) i/o address: mbar + 06h (misr), attribute: r/wc, ro mbar + 16h (mosr) default value: 0001h size: 16 bits lockable: no power well: core software can read the registers at offsets 04h, 05h and 06h simultaneously by performing a single, 32-bit read from addre ss offset 04h. software can also read this register individually by doing a single, 16-bit read to offset 06h. reads across dword boundaries are not supported. bit description 15:5 reserved 4 fifo error (fifoe) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = fifo error occurs. modem in: fifo error indicates a fifo overrun. the fifo pointers don't increment, the incoming data is not written into the fifo, thereby being lost. modem out: fifo error indicates a fifo underr un. the sample transmitted in this case should be the last valid sample. the intel ? ich7 will set the fifoe bit if the und er-run or overrun occurs when there are more valid buffers to process. 3 buffer completion inte rrupt status (bcis) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = set by the hardware after the last samp le of a buffer has been processed, and if the interrupt on completion (ioc) bit is set in the command byte of the buffer descriptor. remains active until software clears bit. 2 last valid buffer completion interrupt (lvbci) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = set by hardware when last valid buffer ha s been processed. it remains active until cleared by software. this bi t indicates the occurrence of the event signified by the last valid buffer being processed. thus, th is is an event stat us bit that can be cleared by software once this event has be en recognized. this event will cause an interrupt if the enable bit in the control register is set. the interrupt is cleared when the software clears this bit. in the case of transmits (pcm out, modem ou t) this bit is set, after the last valid buffer has been fetched (not after transmitting it). wh ile in the case of receives, this bit is set after the data for the last buffer has been written to memory. 1 current equals last valid (celv) ? ro. 0 = hardware clears when controller exists st ate (i.e., until a new value is written to the lvi register). 1 = current index is equal to the value in the last valid index register, and the buffer pointed to by the civ has been processed (i .e., after the last valid buffer has been processed). this bit is very si milar to bit 2, except, this bit reflects the state rather than the event. this bit reflects the stat e of the controller, and remains set until the controller exits this state. 0 dma controller halted (dch) ? ro. 0 = running. 1 = halted. this could happen because of th e start/stop bit being cleared and the dma engines are idle, or it could happen once th e controller has processed the last valid buffer. free datasheet http://www..net/
intel ? ich7 family datasheet 659 ac ?97 modem controller registers (d 30:f3) (desktop and mobile only) 17.2.5 x _picb?position in curr ent buffer register (modem?d30:f3) i/o address: mbar + 08h (mipicb), attribute: ro mbar + 18h (mopicb), default value: 0000h size: 16 bits lockable: no power well: core software can read the registers at the offset s 08h, 0ah, and 0bh by performing a 32-bit read from the address offset 08h. software can also read this register individually by doing a single, 16-bit read to offset 08h. reads across dword boundaries are not supported. 17.2.6 x _piv?prefetch index value register (modem?d30:f3) i/o address: mbar + 0ah (mipiv), attribute: ro mbar + 1ah (mopiv) default value: 00h size: 8 bits lockable: no power well: core software can read the registers at the offset s 08h, 0ah, and 0bh by performing a 32-bit read from the address offset 08h. software can also read this register individually by doing a single, 8-bit read to offset 0a h. reads across dword boundaries are not supported. bit description 15:0 position in current buffer[15:0] ? ro. these bits represent the number of samples left to be proces sed in the current buffer. bit description 7:5 hardwired to 0 4:0 prefetched index value [4:0] ? ro. these bits represent whic h buffer descriptor in the list has been prefetched. free datasheet http://www..net/
ac ?97 modem controller registers (d30:f3) (desktop and mobile only) 660 intel ? ich7 family datasheet 17.2.7 x _cr?control register (modem?d30:f3) i/o address: mbar + 0bh (micr), attribute: r/w, r/w (special) mbar + 1bh (mocr) default value: 00h size: 8 bits lockable: no power well: core software can read the registers at the offsets 08h, 0ah, and 0bh by performing a 32-bit read from the address offset 08h. software ca n also read this register individually by doing a single, 8-bit read to offset 0bh. reads across dword boundaries are not supported. bit description 7:5 reserved 4 interrupt on completion enable (ioce) ? r/w. this bit controls whether or not an interrupt occurs when a bu ffer completes with the ioc bit set in its descriptor. 0 = disable 1 = enable 3 fifo error interrupt enable (feie) ? r/w. this bit controls whether the occurrence of a fifo error will cause an interrupt or not. 0 = disable. bit 4 in the status register will be set, but the interrupt will not occur. 1 = enable. interrupt will occur 2 last valid buffer interrupt enable (lvbie) ? r/w. this bit controls whether the completion of the last valid buffer will cause an interrupt or not. 0 = disable. bit 2 in the status register will still be set, but the interrupt will not occur. 1 = enable 1 reset registers (rr) ? r/w (special). 0 = removes reset condition. 1 = contents of all registers to be reset, exce pt the interrupt enable bits (bit 4,3,2 of this register). software need s to set this bit. it must be set only when the run/ pause bit is cleared. sett ing it when the run bit is set will cause undefined consequences. this bit is self-clearing (software needs not clear it). 0 run/pause bus master (rpbm) ? r/w. 0 = pause bus master operation. this result s in all state inform ation being retained (i.e., master mode operation ca n be stopped and then resumed). 1 = run. bus master operation starts. free datasheet http://www..net/
intel ? ich7 family datasheet 661 ac ?97 modem controller registers (d 30:f3) (desktop and mobile only) 17.2.8 glob_cnt?global contro l register (modem?d30:f3) i/o address: mbar + 3ch attribute: r/w, r/w (special) default value: 00000000h size: 32 bits lockable: no power well: core note: reads across dword boundaries are not supported. bit description 31:5 reserved. 6 acz_sdin2 interrupt enable (s2re) ? r/w. 0 = disable. 1 = enable an interrupt to occur when the codec on the acz_sdin2 causes a resume event on the ac-link. 5 acz_sdin1 resume interrupt enable (s1re) ? r/w. 0 = disable. 1 = enable an interrupt to occur when the codec on the acz_sdin1 causes a resume event on the ac-link. 4 acz_sdin0 resume interrupt enable (s0re) ? r/w. 0 = disable. 1 = enable an interrupt to occur when the codec on acz_sdin0 causes a resume event on the ac-link. 3 ac-link shut off (lso) ? r/w. 0 = normal operation. 1 = controller disables all outputs which will be pulled low by internal pull down resistors. 2 ac ?97 warm reset ? r/w (special). 0 = normal operation. 1 = writing a 1 to this bit causes a warm reset to occur on the ac-link. the warm reset will awaken a suspended codec without cleari ng its internal registers. if software attempts to perform a warm reset while bit_clk is r unning, the write will be ignored and the bit will not change. this bi t is self-clearing (it remains set until the reset completes and bit_clk is seen on th e ac-link, after which it clears itself). 1 ac ?97 cold reset# ? r/w. 0 = writing a 0 to this bit causes a cold reset to occur throughout the ac ?97 circuitry. all data in the controller and the codec will be lost. software needs to clear this bit no sooner than the minimum number of ms have elapsed. 1 = this bit defaults to 0 and hence after reset, the driver needs to set this bit to a 1. the value of this bit is retained after suspends; hence, if this bit is set to a 1 prior to suspending, a cold reset is not ge nerated automatically upon resuming. note: this bit is in the core well. 0 gpi interrupt enable (gie) ? r/w. this bit controls whether the change in status of any gpi causes an interrupt. 0 = bit 0 of the global status register is set, but no inte rrupt is generated. 1 = the change on value of a gpi causes an interrupt and sets bit 0 of the global status register. note: this bit is cleared by th e ac ?97 modem function d3 hot to d0 reset. free datasheet http://www..net/
ac ?97 modem controller registers (d30:f3) (desktop and mobile only) 662 intel ? ich7 family datasheet 17.2.9 glob_sta?global status register (modem?d30:f3) i/o address: mbar + 40h attribute: ro, r/w, r/wc default value: 00300000h size: 32 bits lockable: no power well: core bit description 31:30 reserved. 29 acz_sdin2 resume interrupt (s2ri) ? r/wc. this bit indicates a resume event occurred on acz_sdin2. 0 = software clears this bit by writing a 1 to it. 1 = resume event occurred. note: this bit is not affected by d3 hot to d0 reset. 28 acz_sdin2 codec ready (s2cr) ? ro. this bit reflects the state of the codec ready bit on acz_sdin2. bus masters ignore the condition of the codec ready bits, so software must check this bit before starting the bus masters. once the codec is ?ready?, it must not go ?not ready? spontaneously. 0 = not ready. 1 = ready. 27 bit clock stopped (bcs) ? ro. this bit indicates that the bit clock is not running. 0 = transition is found on bit_clk. 1 = intel ? ich7 detects that there has been no transition on bit_clk for four consecutive pci clocks. 26 s/pdif* interrupt (spint) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = s/pdif out channel interrupt status bits have been set. 25 pcm in 2 interrupt (p2int) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the pcm in 2 channel status bits have been set. 24 microphone 2 in interrupt (m2int) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the mic in channel inte rrupts status bits has been set. 23:22 sample capabilities ? ro. this field indicates the capa bility to support greater than 16-bit audio. 00 = reserved 01 = 16 and 20-bit audio supported (ich7 value) 10 = reserved 11 = reserved 21:20 multichannel capabilities ? ro. this field indicates the ca pability to support 4 and 6 channels on pcm out. 19:18 reserved. 17 md3 ? r/w. power down semaphore for modem. this bit exists in the suspend well and maintains context across power states (except g3). the bi t has no hardware function. it is used by software in conjunct ion with the ad3 bit to coordinate the entry of the two codecs into d3 state. note: this bit is not affected by d3 hot to d0 reset. 16 ad3 ? r/w. power down semaphore for audio. th is bit exists in the suspend well and maintains context across power states (excep t g3). the bit has no hardware function. it is used by software in conjunction with the md3 bit to coordinate the entry of the two codecs into d3 state. note: this bit is not affected by d3 hot to d0 reset. free datasheet http://www..net/
intel ? ich7 family datasheet 663 ac ?97 modem controller registers (d 30:f3) (desktop and mobile only) 15 read completion status (rcs) ? r/wc. this bit indicates the status of codec read completions. software clears this bit by writing a 1 to it. 0 = a codec read completes normally. 1 = a codec read results in a time-out. note: this bit is not affected by d3 hot to d0 reset. 14 bit 3 of slot 12 ? ro. display bit 3 of th e most recent slot 12. 13 bit 2 of slot 12 ? ro. display bit 2 of th e most recent slot 12. 12 bit 1 of slot 12 ? ro. display bit 1 of th e most recent slot 12. 11 acz_sdin1 resume interrupt (s1ri) ? r/wc. this bit indicates that a resume event occurred on acz_sdin1. software cl ears this bit by writing a 1 to it. 0 = resume event did not occur. 1 = resume event occurred. note: this bit is not affected by d3 hot to d0 reset. 10 acz_sdin0 resume interrupt (s0ri) ? r/wc. this bit indicates that a resume event occurred on acz_sdin0. software cl ears this bit by writing a 1 to it. 0 = resume event did not occur. 1 = resume event occurred. note: this bit is not affected by d3 hot to d0 reset. 9 acz_sdin1 codec ready (s1cr) ? ro. this bit reflects the state of the codec ready bit in acz_sdin1. bus masters ignore the condition of the codec ready bits, so software must check this bit before starting the bus masters. once the codec is ?ready?, it must not go ?not ready? spontaneously. 0 = not ready. 1 = ready. 8 acz_sdin0 codec ready (s0cr) ? ro. this bit reflects the state of the codec ready bit in acz_sdin 0. bus masters ignore the condition of the codec ready bits, so software must check this bit before starting the bus masters. once the codec is ?ready?, it must not go ?not ready? spontaneously. 0 = not ready. 1 = ready. 7 microphone in interrupt (mint) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the mic in channel interr upts status bits has been set. 6 pcm out interrupt (point) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the pcm out channel interrupts status bits has been set. 5 pcm in interrupt (piint) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the pcm in channel interrupts status bits has been set. 4:3 reserved bit description free datasheet http://www..net/
ac ?97 modem controller registers (d30:f3) (desktop and mobile only) 664 intel ? ich7 family datasheet note: on reads from a codec, the controller will gi ve the codec a maximum of four frames to respond, after which if no response is rece ived, it will return a dummy read completion to the processor (with all f?s on the data) and also set the read completion status bit in the global status register. note: reads across dword boundaries are not supported. 17.2.10 cas?codec access semaphore register (modem?d30:f3) i/o address: nabmbar + 44h attribute: r/w (special) default value: 00h size: 8 bits lockable: no power well: core note: reads across dword boundaries are not supported. 2 modem out interrupt (moint) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the modem out channel interrupts status bits has been set. 1 modem in interrupt (miint) ? ro. 0 = when the specific status bit is cleared, this bit will be cleared. 1 = one of the modem in channel inte rrupts status bits has been set. 0 gpi status change interrupt (gsci) ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = this bit reflects the state of bit 0 in slot 12, and is set when bit 0 of slot 12 is set. this indicates that one of the gpi?s chan ged state, and that the new values are available in slot 12. note: this bit is not affected by ac ?97 audio modem function d3 hot to d0 reset. bit description bit description 7:1 reserved 0 codec access semaphore (cas) ? r/w (special). this bit is read by software to check whether a codec access is currently in progress. 0 = no access in progress. 1 = the act of reading this regi ster sets this bit to 1. the driver that read this bit can then perform an i/o access. once the access is completed, hardware automatically clears this bit. free datasheet http://www..net/
intel ? ich7 family datasheet 665 pci express* configuration registers (desktop and mobile only) 18 pci express* configuration registers (desktop and mobile only) note: pci express is not supported on ich7-u ultra mobile. 18.1 pci express* configuration registers (pci express?d28:f0/f1/f2/f3/f4/f5) note: register address locations that are not shown in table 18-1 should be treated as reserved. / table 18-1. pci express* configuration registers address map (pci express?d28:f0/f1/f2/f3/f4/f5) (sheet 1 of 2) offset mnemonic register name function 0?5 default type 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description. ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0010h r/wc, ro 08h rid revision identification see register description. ro 09h pi programming interface 00h ro 0ah scc sub class code 04h ro 0bh bcc base class code 06h ro 0ch cls cache line size 00h r/w 0dh plt primary latency timer 00h ro 0eh headtyp header type 81h ro 18h?1ah bnum bus number 000000h r/w 1ch?1dh iobl i/o base and limit 0000h r/w, ro 1eh?1fh ssts secondary status 0000h r/wc 20h?23h mbl memory base and limit 00000000h r/w 24h?27h pmbl prefetchable memory base and limit 00010001h r/w, ro 28h?2bh pmbu32 prefetchable memory base upper 32 bits 00000000h r/w 2ch?2fh pmlu32 prefetchable memory limit upper 32 bits 00000000h r/w 34h capp capabilities list pointer 40h ro 3ch?3dh intr interrupt informat ion see bit description r/w, ro 3eh?3fh bctrl bridge control 0000h r/w 40h?41h clist capabilities list 8010 ro 42h?43h xcap pci express* capabilities 0041 r/wo, ro 44h?47h dcap device capabilities 00000fe0h ro 48h?49h dctl device control 0000h r/w, ro 4ah?4bh dsts device status 0010h r/wc, ro free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 666 intel ? ich7 family datasheet 4ch?4fh lcap link capabili ties see bit description r/w, ro, r/wo 50h?51h lctl link control 0000h r/w, wo, ro 52h?53h lsts link status see bit description ro 54h?57h slcap slot capabilities register 00000060h r/wo, ro 58h?59h slctl slot control 0000h r/w, ro 5ah?5bh slsts slot status 0000h r/wc, ro 5ch?5dh rctl root control 0000h r/w 60h?63h rsts root status 00000000h r/wc, ro 80h?81h mid message signaled interrupt identifiers 9005h ro 82h?83h mc message signaled interrupt message control 0000h r/w, ro 84h?87h ma message signaled interrupt message address 00000000h r/w 88h?89h md message signaled interrupt message data 0000h r/w 90h?91h svcap subsystem vendor capability a00dh ro 94h?97h svid subsystem vendor identification 00000000h r/wo a0h?a1h pmcap power management capability 0001h ro a2h?a3h pmc pci power management capability c802h ro a4?a7h pmcs pci power management control and status 00000000h r/w, ro d8?dbh mpc miscellaneous port configuration 00110000h r/w dc?dfh smscs smi/sci status 00000000h r/wc e1h rpdcgen root port dynamic clock gating enable (mobile/ultra mobile only) 00h r/w e2?e3h ipws intel ? pro/wireless 3945abg status 0000h ro 100?103h vch virtual channel capability header 18010002h ro 108h?10bh vcap2 virtual channel capability 2 00000001h ro 10ch?10dh pvc port virtual channel control 0000h r/w 10eh?10fh pvs port virtual channel status 0000h ro 110h?113h v0cap virtual channel 0 resource capability 00000001h ro 114?117h v0ctl virtual channel 0 resource control 800000ffh r/w, ro 11a?11bh v0sts virtual channel 0 resource status 0000h ro 144h?147h ues uncorrectable error status see bit description r/wc, ro 148h?14bh uem uncorrectable error mask 00000000h r/wo, ro 14ch?14fh uev uncorrectable error severity 00060011h ro 150h?153h ces correctable error status 00000000h r/wc 154h?157h cem correctable error mask 00000000h r/wo 158h?15bh aecc advanced error capabilities and control 00000000h ro 170h?173h res root error status 00000000h r/wc, ro 180h?183h rctcl root complex topology capability list 00010005h ro 184h?187h esd element self description see bit description ro 190h?193h uld upstream link description 00000001h ro 198h?19fh ulba upstream link base address see bit description ro 318h peetm pci express extended test mode register 00h ro table 18-1. pci express* config uration registers address map (pci express?d28:f0/f1/f2/f3/f4/f5) (sheet 2 of 2) offset mnemonic register name function 0?5 default type free datasheet http://www..net/
intel ? ich7 family datasheet 667 pci express* configuration registers (desktop and mobile only) 18.1.1 vid?vendor identi fication register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 00h ? 01h attribute: ro default value: 8086h size: 16 bits 18.1.2 did?device identification register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 02h?03h attribute: ro default value: port 1= bit description size: 16 bits port 2= bit description port 3= bit description port 4= bit description port 5= bit description port 6= bit description 18.1.3 pcicmd?pci command register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 04h?05h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:0 vendor id ? ro. this is a 16-bit value assigned to intel bit description 15:0 device id ? ro. this is a 16-bi t value assigned to the intel ? ich7 pci express controller. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the device id register. bit description 15:11 reserved 10 interrupt disable ? r/w. this bit disa bles pin-based intx# interrupts on enabled hot-plug and power management events. this bit has no effect on msi operation. 0 = internal intx# messages are generated if there is an interrupt for hot-plug or power management and msi is not enabled. 1 = internal intx# messages will not be generated. note: this bit does not affect interrupt forwar ding from devices connected to the root port. assert_intx an d deassert_intx messages will still be forwarded to the internal interrupt controll ers if this bit is set. 9 fast back to back enable (fbe) ? reserved per the pci express* base specification . 8 serr# enable (see) ? r/w. 0 = disable. 1 = enables the root port to generate an serr# message when psts.sse is set. 7 wait cycle control (wcc) ? reserved per the pci express base specification . 6 parity error response (per) ? r/w. 0 = disable. 1 = indicates that the device is capable of reporting pa rity errors as a master on the backbone. free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 668 intel ? ich7 family datasheet 18.1.4 pcists?pci status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 06h ? 07h attribute: r/wc, ro default value: 0010h size: 16 bits 5 vga palette snoop (vps ) ? reserved per the pci express* base specification . 4 postable memory write enable (pmwe) ? reserved per the pci express* base specification . 3 special cycle en able (sce) ? reserved per the pci express* base specification . 2 bus master enable (bme) ? r/w. 0 = disable. all cycles from the device are master aborted 1 = enable. allows the root port to forw ard cycles onto the backbone from a pci express* device. 1 memory space enable (mse) ? r/w. 0 = disable. memory cycles within the rang e specified by the memory base and limit registers are master aborted on the backbone. 1 = enable. allows memory cycles within th e range specified by the memory base and limit registers can be forwarde d to the pci express device. 0 i/o space enable (iose) ? r/w. this bit controls access to the i/o space registers. 0 = disable. i/o cycles within the range specified by the i/o base and limit registers are master aborted on the backbone. 1 = enable. allows i/o cycles within the range specified by the i/o base and limit registers can be forwarded to the pci express device. bit description bit description 15 detected parity error (dpe) ? r/wc. 0 = no parity error detected. 1 = root port received a command or data from the backbone with a parity error. this is set even if pcimd.per (d28:f0/f1/f2/f3:04, bit 6) is not set. 14 signaled system error (sse) ? r/wc. 0 = no system error signaled. 1 = root port signaled a system e rror to the internal serr# logic. 13 received master abort (rma) ? r/wc. 0 = root port has not received a completion with uns upported request status from the backbone. 1 = root port received a completion wi th unsupported requ est status from the backbone. 12 received target abort (rta) ? r/wc. 0 = root port has not received a completion with co mpleter abort from the backbone. 1 = root port received a completion wi th completer abort from the backbone. 11 signaled target abort (sta) ? r/wc. 0 = no target abort received. 1 = root port forwarded a targ et abort received from the downstream devi ce onto the backbone. 10:9 devsel# timing status (dev_sts) ? reserved per the pci express* base specification . free datasheet http://www..net/
intel ? ich7 family datasheet 669 pci express* configuration registers (desktop and mobile only) 18.1.5 rid?revision identification register (pci express?d28:f0/f1/f2/f3/f4/f5) offset address: 08h attribute: ro default value: see bit description size: 8 bits 18.1.6 pi?programming interface register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 09h attribute: ro default value: 00h size: 8 bits 18.1.7 scc?sub class code register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 0ah attribute: ro default value: 04h size: 8 bits 8 master data parity error detected (dped) ? r/wc. 0 = no data parity error received. 1 = root port received a completion with a data parity error on the backbone and pcimd.per (d28:f0/f1/f2/f3:04, bit 6) is set. 7 fast back to back capable (fb2bc) ? reserved per the pci express* base specification . 6 reserved 5 66 mhz capable ? reserved per the pci express* base specification . 4 capabilities list ? ro. hardwired to 1. indi cates the presence of a capabiliti es list. 3 interrupt status ? ro. indicates status of ho t-plug and power management interrupts on the root port that re sult in intx# message generation. 0 = interrupt is deasserted. 1 = interrupt is asserted. this bit is not set if msi is enabled. if msi is not enabled, this bit is set regardless of the state of pcicmd.interrupt disable bit (d28:f0/f1/f2/f3/f4/f5:04h:bit 10). 2:0 reserved bit description bit description 7:0 revision id ? ro. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the revision id register. bit description 7:0 programming interface ? ro. 00h = no specific register level programming interface defined. bit description 7:0 sub class code (scc) ? ro. 04h = pci-to-pci bridge. free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 670 intel ? ich7 family datasheet 18.1.8 bcc?base class code register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 0bh attribute: ro default value: 06h size: 8 bits 18.1.9 cls?cache line size register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 0ch attribute: r/w default value: 00h size: 8 bits 18.1.10 plt?primary late ncy timer register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 0dh attribute: ro default value: 00h size: 8 bits 18.1.11 headtyp?header type register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 0eh attribute: ro default value: 81h size: 8 bits bit description 7:0 base class code (bcc) ? ro. 06h = indicates the device is a bridge device. bit description 7:0 base class code (bcc) ? r/w. this is read/w rite but contains no functionality, per the pci express* base specification . bit description 7:3 latency count. reserved per the pci express* base specification. 2:0 reserved bit description 7 multi-function device ? ro. 0 = single-func tion device. 1 = multi-function device. 6:0 configuration layout. hardwired to 01h , which indicates a pci-to-pci bridge. free datasheet http://www..net/
intel ? ich7 family datasheet 671 pci express* configuration registers (desktop and mobile only) 18.1.12 bnum?bus number register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 18?1ah attribute: r/w default value: 000000h size: 24 bits 18.1.13 iobl?i/o base and limit register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 1ch?1dh attribute: r/w, ro default value: 0000h size: 16 bits bit description 23:16 subordinate bus number (sbbn) ? r/w. this field indicates the highest pci bus number below the bridge. 15:8 secondary bus number (scbn) ? r/w. this field indicates the bus number the port. 7:0 primary bus number (pbn) ? r/w. this field indica tes the bus number of the backbone. bit description 15:12 i/o limit address (iola) ? r/w. this field contai ns the i/o base bits corresponding to address lines 15:12 for 4-kb alignment. bits 11: 0 are assumed to be padded to fffh. 11:8 i/o limit address capability (i olc) ? r/o. this field indica tes that the bridge does not support 32-bit i/o addressing. 7:4 i/o base address (ioba) ? r/w. this field cont ains the i/o base bits corresponding to address lines 15:12 for 4-kb alignment. bits 11: 0 are assumed to be padded to 000h. 3:0 i/o base address capability (iobc) ? r/o. this field indicates that the bridge does not support 32-bit i/o addressing. free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 672 intel ? ich7 family datasheet 18.1.14 ssts?secondary status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 1eh?1fh attribute: r/wc default value: 0000h size: 16 bits bit description 15 detected parity error (dpe) ? r/wc. 0 = no error. 1 = the port received a poisoned tlp. 14 received system error (rse) ? r/wc. 0 = no error. 1 = the port received an err_fatal or err_nonfatal message from the device. 13 received master abort (rma) ? r/wc. 0 = unsupported request not received. 1 = the port received a completion with ?u nsupported request? status from the device. 12 received target abort (rta) ? r/wc. 0 = completion abort not received. 1 = the port received a completion with ?completion abort? status from the device. 11 signaled target abort (sta) ? r/wc. 0 = completion abort not sent. 1 = the port generated a completion with ?completion abort? status to the device. 10:9 secondary devsel# timing status (sdts): reserved per pci express* base specification . 8 data parity error detected (dpd) ? r/wc. 0 = conditions below did not occur. 1 = set when the bctrl.pere (d28:fo/f1/f2/f3/f4/f5:3e: bit 0) is set, and either of the following two conditions occurs: ? port receives completion marked poisoned. ? port poisons a write request to the secondary side. 7 secondary fast back to back capable (sfbc): reserved per pci express* base specification . 6 reserved 5 secondary 66 mhz capable (sc66). reserved per pci express* base specification . 4:0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 673 pci express* configuration registers (desktop and mobile only) 18.1.15 mbl?memory base and limit register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 20h?23h attribute: r/w default value: 00000000h size: 32 bits accesses that are within the ranges specified in this register will be sent to the attached device if cmd.mse (d28:f0/f1/f2/f3/f4/f5:04:bit 1) is set. accesses from the attached device that are outside the ranges specified will be forwarded to the backbone if cmd.bme (d28:f0/f1/f2/f3/f4/f5:04:bit 2) is set. the comparison performed is: mb ad[31:20] ml. 18.1.16 pmbl?prefetchable memory base and limit register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 24h?27h attribute: r/w, ro default value: 00010001h size: 32 bits accesses that are within the ranges specified in this register will be sent to the device if cmd.mse (d28:f0/f1/f2/f3/f4/f5;04, bit 1) is set. accesses from the device that are outside the ranges specified will be forwarded to the backbone if cmd.bme (d28:f0/f1/ f2/f3/f4/f5;04, bit 2) is set. the comparison performed is: pmbu32:pmb ad[63:32]:ad[31:20] pmlu32:pml. bit description 31:20 memory limit (ml) ? r/w. these bits are compared with bits 31:20 of the incoming address to determine the upper 1- mb aligned value of the range. 19:16 reserved 15:4 memory base (mb) ? r/w. these bits are compared with bits 31:20 of the incoming address to determine the lower 1- mb aligned value of the range. 3:0 reserved bit description 31:20 prefetchable memory limit (pml) ? r/w. these bits are compared with bits 31:20 of the incoming address to determine th e upper 1-mb aligned value of the range. 19:16 64-bit indicator (i64l) ? ro. this fi eld indicates support for 64-bit addressing 15:4 prefetchable memory base (pmb) ? r/w. these bits are compared with bits 31:20 of the incoming address to determine th e lower 1-mb aligned value of the range. 3:0 64-bit indicator (i64b) ? ro. this fiel d indicates support for 64-bit addressing free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 674 intel ? ich7 family datasheet 18.1.17 pmbu32?prefetchable memory base upper 32 bits register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 28h?2bh attribute: r/w default value: 00000000h size: 32 bits 18.1.18 pmlu32?prefetchable memory limit upper 32 bits register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 2ch?2fh attribute: r/w default value: 00000000h size: 32 bits 18.1.19 capp?capabilities list pointer register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 34h attribute: r0 default value: 40h size: 8 bits bit description 31:0 prefetchable memory base upper portion (pmbu) ? r/w. this field contains the upper 32-bits of the pref etchable address base. bit description 31:0 prefetchable memory limit upper portion (pmlu) ? r/w. this field contains the upper 32-bits of the pref etchable address limit. bit description 7:0 capabilities pointer (ptr) ? ro. this field indicates th at the pointer for the first entry in the capabilities list is at 40h in configuration space. free datasheet http://www..net/
intel ? ich7 family datasheet 675 pci express* configuration registers (desktop and mobile only) 18.1.20 intr?interrupt information register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 3ch?3dh attribute: r/w, ro default value: see bit description size: 16 bits bit description 15:8 interrupt pin (ipin) ? ro. this field indicates the in terrupt pin driven by the root port. at reset, this register takes on the following values th at reflect the reset state of the d28ip register in chipset configuration space: note: the value that is programmed into d28ip is always reflected in this register. 7:0 interrupt line (iline) ? r/w. default = 00h. this field is a software written value to indicate which interrupt line (vector) the in terrupt is connected to . no hardware action is taken on this register. port reset value 1 d28ip.p1ip 2 d28ip.p2ip 3 d28ip.p3ip 4 d28ip.p4ip 5 d28ip.p5ip 6 d28ip.p6ip free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 676 intel ? ich7 family datasheet 18.1.21 bctrl?bridge control register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 3eh?3fh attribute: r/w default value: 0000h size: 16 bits bit description 15:12 reserved 11 discard timer serr# enable (dtse). reserved per pci express* base specification, revision 1.0a 10 discard timer status (dts). reserved per pci express* base specification, revision 1.0a. 9 secondary discard timer (sdt). reserved per pci express* base specification, revision 1.0a. 8 primary discard timer (pdt). reserved per pci express* base specification, revision 1.0a. 7 fast back to back enable (fbe). reserved per pci express* base specification, revision 1.0a. 6 secondary bus reset (sbr) ? r/w. this bit triggers a hot reset on the pci express* port. 5 master abort mode (mam): rese rved per express specification. 4 vga 16-bit decode (v16) ? r/w. 0 = vga range is enabled. 1 = the i/o aliases of the vga range (see bc trl:ve definiti on below), are not enabled, and only the base i/o ranges can be decoded 3 vga enable (ve) ? r/w. 0 = the ranges below will not be claimed off the backbone by the root port. 1 = the following ranges will be claime d off the backbone by the root port: ? memory ranges a0000h?bffffh ? i/o ranges 3b0h ? 3bbh and 3c0h ? 3dfh, and all aliases of bits 15:10 in any combination of 1s 2 isa enable (ie) ? r/w. this bit only applies to i/ o addresses that are enabled by the i/o base and i/o limit registers and ar e in the first 64 kb of pci i/o space. 0 = the root port will not block any forwarding from the backbone as described below. 1 = the root port will block any forwarding from the backbone to the device of i/o transactions addressing the last 768 bytes in each 1-kb block (offsets 100h to 3ffh). 1 serr# enable (se) ? r/w. 0 = the messages described below are not forwarded to the backbone. 1 = err_cor, err_nonfatal, and err_fatal messages received are forwarded to the backbone. 0 parity error response enable (pere) ? r/w. 0 = poisoned write tlps and completion s indicating poisoned tlps will not set the ssts.dpd (d28:f0/f1/f2/f3/f4/f5:1e, bit 8). 1 = poisoned write tlps and completions in dicating poisoned tlps will set the ssts.dpd (d28:f0/f1/f2/f3/f4/f5:1e, bit 8). free datasheet http://www..net/
intel ? ich7 family datasheet 677 pci express* configuration registers (desktop and mobile only) 18.1.22 clist?capabilities list register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 40?41h attribute: ro default value: 8010h size: 16 bits 18.1.23 xcap?pci express* capabilities register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 42h?43h attribute: r/wo, ro default value: 0041h size: 16 bits bit description 15:8 next capabili ty (next) ? ro. value of 80h indicates the location of the next pointer. 7:0 capability id (cid) ? ro. this field indi cates this is a pci express* capability. bit description 15:14 reserved 13:9 interrupt message number (imn) ? ro. the intel ? ich7 does not have multiple msi interrupt numbers. 8 slot implemented (si) ? r/wo. this field indicates whether the root port is connected to a slot. slot support is platform sp ecific. bios programs th is field, and it is maintained until a platform reset. 7:4 device / port type (dt) ? ro. this field indicates this is a pci express* root port. 3:0 capability version (cv) ? ro. this field indi cates pci express 1.0. free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 678 intel ? ich7 family datasheet 18.1.24 dcap?device capabilities register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 44h?47h attribute: ro default value: 00000fe0h size: 32 bits bit description 31:28 reserved 27:26 captured slot power limit scale (csps) ? ro. not supported. 25:18 captured slot power limit value (cspv) ? ro. not supported. 17:15 reserved 14 power indicator present (pip) ? ro. this bit indicates no power indicator is present on the root port. 13 attention indicator present (aip) ? ro. this bit indicates no attention indicator is present on the root port. 12 attention button present (abp) ? ro. this bit indicates no attention button is present on the root port. 11:9 endpoint l1 acceptable latency (e1al) ? ro. this field indicates more than 4 s. this field essentially has no meaning for ro ot ports since root ports are not endpoints. 8:6 endpoint l0 acceptable latency (e0al) ? ro. this field indica tes more than 64 s. this field essentially has no meaning for ro ot ports since root ports are not endpoints. 5 extended tag field supported (etfs) ? ro. this bit indicates that 8-bit tag fields are supported. 4:3 phantom functions supported (pfs) ? ro. this field indicates no phantom functions supported. 2:0 max payload size supported (mps) ? ro. this field indicates the maximum payload size supported is 128b. free datasheet http://www..net/
intel ? ich7 family datasheet 679 pci express* configuration registers (desktop and mobile only) 18.1.25 dctl?device control register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 48h?49h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15 reserved 14:12 max read request size (mrrs) ? ro. hardwired to 0. 11 enable no snoop (ens) ? ro. not supported. the root port will not issue non-snoop requests. 10 aux power pm enable (apme) ? r/w. the os will set this bit to 1 if the device connected has detected aux power. it has no effect on the r oot port otherwise. 9 phantom functions enable (pfe) ? ro. not supported. 8 extended tag field enable (etfe) ? ro. not supported. 7:5 max payload size (mps) ? r/w. the root port only supports 128-b payloads, regardless of the programming of this field. 4 enable relaxed ordering (ero) ? ro. not supported. 3 unsupported request reporting enable (ure) ? r/w. 0 = disable. the root port will ig nore unsupported request errors. 1 = enable. the root port will generate er rors when detecting an unsupported request. 2 fatal error reporting enable (fee) ? r/w. 0 = disable. the root port will ignore fatal errors. 1 = enable. the root port will generate errors when detecting a fatal error. 1 non-fatal error reporting enable (nfe) ? r/w. 0 = disable. the root port will ignore non-fatal errors. 1 = enable. the root port will generate errors when detecting a non-fatal error. 0 correctable error reporting enable (cee) ? r/w. 0 = disable. the root port will ignore correctable errors. 1 = enable. the root port will generate errors when detecting a correctable error. free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 680 intel ? ich7 family datasheet 18.1.26 dsts?device status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 4ah?4bh attribute: r/wc, ro default value: 0010h size: 16 bits bit description 15:6 reserved 5 transactions pending (tdp) ? ro. this bit has no meaning for the root port since only one transaction may be pending to the intel ? ich7, so a read of this bit cannot occur until it has already returned to 0. 4 aux power detected (apd) ? ro. the root port contai ns aux power for wakeup. 3 unsupported request detected (urd) ? r/wc. this bit indicates an unsupported request was detected. 2 fatal error detected (fed) ? r/wc. this bit indicates a fatal error was detected. 0 = fatal has not occurred. 1 = a fatal error occurred from a data link pr otocol error, link training error, buffer overflow, or malformed tlp. 1 non-fatal error detected (nfed) ? r/wc. this bit indicates a non-fatal error was detected. 0 = non-fatal has not occurred. 1 = a non-fatal error occurred from a pois oned tlp, unexpected completions, unsupported requests, completer abort, or completer timeout. 0 correctable error detected (ced) ? r/wc. this bit indicates a correctable error was detected. 0 = correctable has not occurred. 1 = the port received an internal correcta ble error from receiver errors / framing errors, tlp crc error, dllp crc error, replay num rollover, replay timeout. free datasheet http://www..net/
intel ? ich7 family datasheet 681 pci express* configuration registers (desktop and mobile only) 18.1.27 lcap?link capabilities register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 4ch ? 4fh attribute: r/w, ro default value: see bit description size: 32 bits bit description 31:24 port number (pn) ? ro. this field indicates the port number for the root port. this value is different for each implemented port: 23:21 reserved 20 link active reporting capable (larc) ? ro. ha rdwired to 1 to indica te that this port supports the optional capability of report ing the dl_active state of the data link control and management state machine. 19:18 reserved 17:15 l1 exit latency (el1) ? ro. set to 010b to indicate an exit latency of 2 s to 4 s. 14:12 l0s exit latency (el0) ? ro. this field indicates as exit latency based upon common-clock configuration. note: lclt.ccc is at d28:f0/f 1/f2/f3/f4/f5:50h:bit 6 11:10 active state link pm support (apms) ? r/wo. this field indicates what level of active state link power management is supported on the root port. function port # value of pn field d28:f0 1 01h d28:f1 2 02h d28:f2 3 03h d28:f3 4 04h d28:f4 5 05h d28:f5 6 06h lclt . ccc v a l ue o f el0 (th ese bit s ) 0 mpc.ucel (d28:f0/f1/f2/ f3:d8h:bits20:18) 1 mpc.ccel (d28:f0/f1/f2/ f3:d8h:bits17:15) bits definition 00b neither l0s nor l1 are supported 01b l0s entry supported 10b l1 entry supported 11b both l0s and l1 entry supported free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 682 intel ? ich7 family datasheet 18.1.28 lctl?link co ntrol register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 50h-51h attribute: r/w, wo, ro default value: 0000h size: 16 bits 9:4 maximum link width (mlw) ? ro. for the root ports, several values can be taken, based upon the value of the chipset configuration register field rpc.pc1 (chipset configuration registers:offset 0224h:bits1:0) for ports 1?4 and rpc.pc2 (chipset configuration registers:offset 0224h:bits1:0) for ports 5 and 6. 3:0 maximum link speed (mls) ? ro. set to 1h to indicate the link speed is 2.5 gb/s. bit description value of mlw field port # rpc.pc1=00b rpc.pc1=11b 1 01h 04h 2 01h 01h 3 01h 01h 4 01h 01h port # rpc.pc2=00b rpc.pc2=11b 5 01h n/a 6 01h n/a bit description 15:8 reserved 7 extended synch (es) ? r/w. 0 = extended sy nch disabled. 1 = forces extended transmission of fts ordered sets in fts and extra ts2 at exit from l1 prior to entering l0. 6 common clock conf iguration (ccc) ? r/w. 0 = the intel ? ich7 and device are not using a common reference clock. 1 = the ich7 and device are operating wi th a distributed comm on reference clock. 5 retrain link (rl) ? wo. 0 = this bit always returns 0 when read. 1 = the root port will tr ain its downstream link. note: software uses lsts.lt (d28:f0/f1/f2/f3/f4/f5:52, bit 11) to check the status of training. 4 link disable (ld) ? r/w. 0 = link enabled. 1 = the root port will disable the link. 3 read completion bo undary control (rcbc) ? ro. this bit indicates that the read completion boundary is 64 bytes. 2 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 683 pci express* configuration registers (desktop and mobile only) 18.1.29 lsts?link status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 52h?53h attribute: ro default value: see bit description size: 16 bits 1:0 active state link pm control (apmc) ? r/w. this bit indicates whether the root port should enter l0s or l1 or both. bit description bits definition 00b disabled 01b l0s entry is enabled 10b l1 entry is enabled 11b l0s and l1 entry enabled bit description 15:14 reserved 13 data link layer active (dlla) ? ro. d 0 = data link control and management state machine is not in the dl_active state. (default) 1 = data link control and management st ate machine is in the dl_active state. 12 slot clock configuration (scc) ? ro. set to 1b to indicate that the intel ? ich7 uses the same reference clock as on the platform and does not generate its own clock. 11 link training (lt) ? ro. 0 = link training completed. (default) 1 = link training is occurring. 10 link training error (lte ) ? ro. not supported. set value is 0b. 9:4 negotiated link width (nlw) ? ro. this field indicates the negotiated width of the given pci express* link. the contents of this nlw field is undefined if the link has not successfully trained. note: 000001b = x1 link width, 000010b =x2 linkwidth (not supported), 000100 = x4 linkwidth 3:0 link speed (ls) ? ro. this field indica tes the negotiated link speed of the given pci express* link. 01h = link is 2.5 gb/s. port # possible values 1 000001b, 000010b, 000100b 2 000001b 3 000001b 4 000001b 5 000001b, 000010b 6 000001b free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 684 intel ? ich7 family datasheet 18.1.30 slcap?slot capa bilities register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 54h ? 57h attribute: r/wo, ro default value: 00000060h size: 32 bits bit description 31:19 physical slot number (psn) ? r/wo. this is a value that is unique to the slot number. bios sets this field and it remains set until a platform reset. 18:17 reserved 16:15 slot power limit scale (sls) ? r/wo. this field specifies the scale used for the slot power limit value. bios sets this field and it remains set un til a platform reset. range of values: 00b = 1.0 x 01b = 0.1 x 10b = 0.01 x 11b = 0.001 x 14:7 slot power limit value (slv) ? r/wo. this field specifies the upper limit (in conjunction with sls value), on the upper li mit on power supplied by the slot. the two values together indicate the amount of powe r in watts allowed for the slot. power limit (in watts) is calculated by multiplying the va lue in this field by the value in the slot power limit scale field. bios sets this fiel d and it remains set until a platform reset. 6 hot plug capable (hpc) ? ro. 1b = hot-plug is supported. 5 hot plug surprise (hps) ? ro. 1b = device may be removed from th e slot without prior notification. 4 power indicator present (pip) ? ro. 0b = power indicator led is not present for this slot. 3 attention indicator present (aip) ? ro. 0b = attention indicator led is not present for this slot. 2 mrl sensor present (msp) ? ro. 0b = mrl sensor is not present. 1 power controller present (pcp) ? ro. 0b = power controller is no t implemented for this slot. 0 attention button present (abp) ? ro. 0b =attention button is no t implemented for this slot. free datasheet http://www..net/
intel ? ich7 family datasheet 685 pci express* configuration registers (desktop and mobile only) 18.1.31 slctl?slot control register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 58h ? 59h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:13 reserved 12 link active changed enable (lace) ? rw. 0 = disable. 1 = enables generation of a hot plug interru pt when the data link layer link active field (d28:f0/f1/f2/f3/f4/f5:52h:bit 13) is changed. 11 reserved 10 power controller control (pcc) ? ro.this bit has no me aning for module based hot-plug. 9:8 power indicator control (pic) ? r/w. when read, the cu rrent state of the power indicator is returned. when written, th e appropriate power_indicator_* messages are sent. defined encodings are: 7:6 attention indicator control (aic) ? r/w. when read, th e current state of the attention indicator is returned. when written, the appropriate attention_indicator_* messages are sent. defined encodings are: 5 hot plug interrupt enable (hpe) ? r/w. 0 = disable. hot plug interrupts based on hot-plug events is disabled. 1 = enables generation of a hot-plug interrupt on enabled hot-plug events. 4 command completed interrupt enable (cce) ? r/w. 0 = disable. hot plug interrupts based on command completions is disabled. 1 = enables the generation of a hot-plug interrupt when a comm and is completed by the hot-plug controller. 3 presence detect changed enable (pde) ? r/w. 0 = disable. hot plug interrupts based on pr esence detect logic changes is disabled. 1 = enables the generation of a hot-plug interrupt or wake message when the presence detect logic changes state. bits definition 00b reserved 01b on 10b blink 11b off bits definition 00b reserved 01b on 10b blink 11b off free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 686 intel ? ich7 family datasheet 18.1.32 slsts?slot status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 5ah ? 5bh attribute: r/wc, ro default value: 0000h size: 16 bits 2 mrl sensor changed enable (mse) ? r/w. mse not supported. 1 power fault detected enable (pfe) ? r/w. pfe not supported. 0 attention button pressed enable (abe) ? r/w. when set, enables the generation of a hot-plug interrupt when th e attention button is pressed. 0 = disable. hot plug interrupts based on the attention butto n being pressed is disabled. 1 = enables the generation of a hot-plug interrupt when the attention button is pressed. bit description bit description 15:9 reserved 8 link active state changed (lasc) ? r/wc. 0 = no change. 1 = value reported in data link layer link active field of the link status register (d28:f0/f1/f2/f3/f4/f5:52h:bit 13) is changed. in response to a data link layer state changed event, software must read data link layer link active field of the link status register to determ ine if the link is active before initiating configuration cycles to the hot plugged device. 7 reserved 6 presence detect state (pds) ? ro. if xcap.si (d28:f0/f1/f2/f3/f4/f5:42h:bit 8) is set indicating that this root po rt spawns a slot), then this bit: 0 = slot is empty. 1 = slot has a device connected. otherwise; if xcap.si is cleared, this bit is always set to 1. 5 mrl sensor state (ms) ? reserved as the mrl sensor is not implemented. 4 command completed (cc) ? r/wc. 0 = issued command not completed. 1 = the hot-plug controller completed an is sued command. this is set when the last message of a command is sent and indi cates that software can write a new command to the slot controller. 3 presence detect changed (pdc) ? r/wc. 0 = no change in the pds bit. 1 = the pds bit changed states. 2 mrl sensor changed (msc) ? reserved as the mrl sensor is not implemented. 1 power fault detected (pfd) ? reserved as a power controller is not implemented. 0 attention button pressed (abp) ? r/wc. 0 = the attention button has not been pressed. 1 = the attention button is pressed. free datasheet http://www..net/
intel ? ich7 family datasheet 687 pci express* configuration registers (desktop and mobile only) 18.1.33 rctl?root control register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 5ch ? 5dh attribute: r/w default value: 0000h size: 16 bits 18.1.34 rsts?root status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 60h ? 63h attribute: r/wc, ro default value: 00000000h size: 32 bits bit description 15:4 reserved 3 pme interrupt enable (pie) ? r/w. 0 = interrupt generation disabled. 1 = interrupt generation enabled when pcis ts.interrupt status (d28:f0/f1/f2/f3/f4/ f5:60h, bit 16) is in a set state (either due to a 0 to 1 transition, or due to this bit being set with rsts.is already set). 2 system error on fatal error enable (sfe) ? r/w. 0 = disable. an serr# will not be generated. 1 = enable. an serr# will be generated, assuming cmd.see (d28:f0/f1/f2/f3/f4/ f5:04, bit 8) is set, if a fatal error is reported by any of the devices in the hierarchy of this root port, including fa tal errors in this root port. 1 system error on non-fatal error enable (sne) ? r/w. 0 = disable. an serr# will not be generated. 1 = enable. an serr# will be generated, assuming cmd.see (d28:f0/f1/f2/f3/f4/ f5:04, bit 8) is set, if a non-fatal error is reported by any of the devices in the hierarchy of this root port, including non-fatal errors in this root port. 0 system error on correctable error enable (sce) ? r/w. 0 = disable. an serr# will not be generated. 1 = enable. an serr# will be generated, assuming cmd.see (d28:f0/f1/f2/f3/f4/ f5:04, bit 8) if a correctable error is repo rted by any of the devices in the hierarchy of this root port, including correct able errors in this root port. bit description 31:18 reserved 17 pme pending (pp) ? ro. 0 = indicates no more pmes are pending. 1 = indicates another pme is pending (this is im plicit because of the de finition of this bit being 1). hardware will set the pme status bit again and update the requestor id appropriately. the pme pendin g bit is cleared by hardware if no more pmes are pending. 16 pme status (ps) ? r/wc. 0 = pme was not asserted. 1 = pme was asserted by the requestor id in rid. subseq uent pmes are kept pending until this bit is cleared. 15:0 pme requestor id (rid) ? ro. this field indicates the pci requestor id of the last pme requestor. the value in this fi eld is valid only when ps is set. free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 688 intel ? ich7 family datasheet 18.1.35 mid?message signaled in terrupt identifiers register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 80h?81h attribute: ro default value: 9005h size: 16 bits 18.1.36 mc?message signaled inte rrupt message control register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 82?83h attribute: r/w, ro default value: 0000h size: 16 bits 18.1.37 ma?message signaled interrupt message address register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 84h ? 87h attribute: r/w default value: 00000000h size: 32 bits bit description 15:8 next pointer (next) ? ro. this field indicates the location of the next pointer in the list. 7:0 capability id (cid) ? ro. capabilities id indicates msi. bit description 15:8 reserved 7 64 bit address capable (c64) ? ro. capable of generating a 32-bit message only. 6:4 multiple message enable (mme) ? r/w. these bits are r/w for software compatibility, but only one message is ever sent by the root port. 3:1 multiple message capable (mmc) ? ro. only one message is required. 0 msi enable (msie) ? r/w. 0 = disabled. 1 = enabled and traditional interrupt pins are not used to generate interrupts. note: cmd.bme (d28:f0/f1/f2/f3/f4/f5:04h:bit 2) must be set for an msi to be generated. if cmd.bme is clea red, and this bit is set, no interrupts (not even pin based) are generated. bit description 31:2 address (addr) ? r/w. this field contains the lowe r 32 bits of the system specified message address; always dword aligned. 1:0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 689 pci express* configuration registers (desktop and mobile only) 18.1.38 md?message signaled in terrupt message data register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 88h ? 89h attribute: r/w default value: 0000h size: 16 bits 18.1.39 svcap?subsystem ve ndor capability register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 90h ? 91h attribute: ro default value: a00dh size: 16 bits 18.1.40 svid?subsystem vendor identification register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 94h ? 97h attribute: r/wo default value: 00000000h size: 32 bits 18.1.41 pmcap?power manageme nt capability register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: a0h ? a1h attribute: ro default value: 0001h size: 16 bits bit description 15:0 data (data) ? r/w. this 16-bit field is programm ed by system software if msi is enabled. its content is driven onto the lo wer word (pci ad[15:0]) during the data phase of the msi memory write transaction. bit description 15:8 next capability (next) ? ro. this field indicates the lo cation of the next pointer in the list. 7:0 capability identifier (cid) ? ro. value of 0dh indicates this is a pci bridge subsystem vendor capability. bit description 31:16 subsystem identifier (sid) ? r/wo. this field indicates the subsystem as identified by the vendor. this field is write once and is locked down until a bridge reset occurs (not the pci bus reset). 15:0 subsystem vendor identifier (svid) ? r/wo. this field indicates the manufacturer of the subsystem. this field is write once an d is locked down until a bridge reset occurs (not the pci bus reset). bit description 15:8 next capability (next) ? ro. this field indicates that th is is the last item in the list. 7:0 capability identifier (cid) ? ro. value of 01h indicates this is a pci power management capability. free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 690 intel ? ich7 family datasheet 18.1.42 pmc?pci power manageme nt capabilities register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: a2h ? a3h attribute: ro default value: c802h size: 16 bits 18.1.43 pmcs?pci power mana gement control and status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: a4h ? a7h attribute: r/w, ro default value: 00000000h size: 32 bits bit description 15:11 pme_support (pmes) ? ro. this field indicates pme# is supported for states d0, d3 hot and d3 cold . the root port does not generate p me#, but reporting that it does is necessary for some legacy operating systems to enable pme# in devices connected behind this root port. 10 d2_support (d2s) ? ro. the d2 state is not supported. 9 d1_support (d1s) ? ro the d1 state is not supported. 8:6 aux_current (ac) ? ro. this field report s 375 ma maximum suspend well current required when in the d3 cold state. 5 device specific initialization (dsi) ? ro. this bit indicates that no device-specific initialization is required. 4 reserved 3 pme clock (pmec) ? ro. this bit indicates that pci clock is not required to generate pme#. 2:0 version (vs) ? ro. this field indicates support for revision 1.1 of the pci power management specification . bit description 31:24 reserved 23 bus power / clock control enable (bpce). reserved per pci express* base specification, revision 1.0a . 22 b2/b3 support (b23s). reserved per pci express* base specification, revision 1.0a . 21:16 reserved 15 pme status (pmes) ? ro. this bit indicates a pme wa s received on the downstream link. 14:9 reserved 8 pme enable (pmee) ? r/w. indicates pme is enabled. the root port takes no action on this bit, but it must be r/w for some legacy operatin g systems to enable pme# on devices connected to this root port. 0 = disable. 1 = enable. note: this bit is sticky and resi des in the resume well. th e reset for this bit is rsmrst# which is not assert ed during a warm reset. 7:2 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 691 pci express* configuration registers (desktop and mobile only) 18.1.44 mpc?miscellaneous port configuration register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: d8h ? dbh attribute: r/w default value: 00110000h size: 32 bits 1:0 power state (ps) ? r/w. this field is used both to determine the current power state of the root port and to set a new power state. the values are: 00 = d0 state 11 = d3 hot state note: when in the d3 hot state, the controller?s config uration space is available, but the i/o and memory spaces are not. type 1 configuration cycles are also not accepted. interrupts are not required to be blocked as software will disable interrupts prior to placing the port into d3hot. if software attempts to write a ?10? or ?01? to these bits, the write will be ignored. bit description bit description 31 power management sc i enable (pmce) ? r/w. 0 = disable. sci generation based on a power management event is disabled. 1 = enables the root port to generate sc i whenever a power management event is detected. 30 hot plug sci enable (hpce) ? r/w. 0 = disable. sci generation based on a hot-plug event is disabled. 1 = enables the root port to generate sc i whenever a hot-plug event is detected. 29 link hold off (lho) ? r/w. 0 = not in link hold off. 1 = the port will not take any tlp. this is used during loopback mode to fill up the downstream queue. 28 address translator enable (ate) ? r/w. this bit is used to enable address translation via the at bits in this register during loopback mode. 0 = disable. 1 = enable. 27 reserved. 26 invalid receive bus number check enable (irbnce) ? r/w. 0 = disable. 1 = enable. receive transaction layer will sign al an error if the bu s number of a memory request does not fall within the range be tween scbn and sbbn. if this check is enabled and the request is a memory writ e, it is treated as an unsupported request. if this check is enabled and the request is a non-posted memory read request, the request is considered a malforme d tlp and a fatal error. note: messages, io, configuration, and comp letions are not chec ked for valid bus number. 25 invalid receive range check enable (irrce) ? r/w. 0 = disable. 1 = enable. receive transaction layer will treat the tlp as an unsupported request error if the address range of a memory re quest does not outside the range between prefetchable and non-prefet chable base and limit. note: messages, i/o, configuration, and co mpletions are not checked for valid address ranges. free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 692 intel ? ich7 family datasheet 24 bme receive check enable (bmerce) ? r/w. 0 = disable. 1 = enable. receive transaction layer will treat the tlp as an unsupported request error if a memory read or wr ite request is received and the bus master enable bit is not set. note: messages, io, configurat ion, and completions ar e not checked for bme. 23:21 reserved 20:18 unique clock exit latency (ucel) ? r/w. this value represents the l0s exit latency for unique-clock configuratio ns (lctl.ccc = 0) (d28:f0/f1/f2/f3/f4/ f5:offset 50h:bit 6). it defaults to 512 ns to less than 1 s, but may be overridden by bios. 17:15 common clock exit latency (ccel) ? r/w. this value represents the l0s exit latency for common-clock configuratio ns (lctl.ccc = 1) (d28:f0/f1/f2/f3/f4/ f5:offset 50h:bit 6). it defaul ts to 128 ns to less than 256 ns, but may be overridden by bios. 14:8 reserved 7 port i/oxapic enable (pae) ? r/w. 0 = hole is disabled. 1 = a range is opened through the bri dge for the following memory addresses: 6:2 reserved 1 hot plug smi enable (hpme) ? r/w. 0 = disable. smi generation based on a hot-plug event is disabled. 1 = enables the root port to generate sm i whenever a hot-plug event is detected. 0 power management smi enable (pmme) ? r/w. 0 = disable. smi generation based on a power management event is disabled. 1 = enables the root port to generate sm i whenever a power management event is detected. bit description port # address 1 fec1_0000h ? fec1_7fffh 2 fec1_8000h ? fec1_ffffh 3 fec2_0000h ? fec2_7fffh 4 fec2_8000h ? fec2_ffffh 5 fec3_0000h ? fec3_7fffh 6 fec3_8000h ? fec3_ffffh free datasheet http://www..net/
intel ? ich7 family datasheet 693 pci express* configuration registers (desktop and mobile only) 18.1.45 smscs?smi/sci status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: dch ? dfh attribute: r/wc default value: 00000000h size: 32 bits bit description 31 power management sci status (pmcs) ? r/wc. 0 = interrupt not needed. 1 = pme control logic needs to generate an interrupt, and this interrupt has been routed to generate an sci. 30 hot plug sci status (hpcs) ? r/wc. 0 = interrupt not needed. 1 = hot-plug controller needs to generate an interrupt, an d has this interrupt been routed to generate an sci. 29:5 reserved 4 hot plug link active state changed smi status (hplas) ? r/wc. 0 = no change 1 = slsts.lasc (d28:f0/f1/f2/f3/f4/f5:5a, bit 8) transitioned from 0-to-1, and mpc.hpme (d28:f0/f1/f2/f3/f4/f5:d8, bit 1) is set. when this bit is set, an smi# will be generated. 3 hot plug command comple ted smi status (hpccm) ? r/wc. 0 = no change 1 = slsts.cc (d28:f0/f1/f2/f3/f4/f5:5a, bit 4) transitioned from 0-to-1, and mpc.hpme (d28:f0/f1/f2/f3/f4/f5:d8, bit 1) is set. when this bit is set, an smi# will be generated. 2 hot plug attention butt on smi status (hpabm) ? r/wc. 0 = no change 1 = slsts.abp (d28:f0/f1/f2/f3/f4/f5:5a, bit 0) transitioned from 0-to-1, and mpc.hpme (d28:f0/f1/f2/f3/f4/f5:d8, bit 1) is set. when this bit is set, an smi# will be generated. 1 hot plug presence detect smi status (hppdm) ? r/wc. 0 = no change 1 = slsts.pdc (d28:f0/f1/f2/f3/f4/f5:5a , bit 3) transitions from 0-to-1, and mpc.hpme (d28:f0/f1/f2/f3/f4/f5:d8, bit 1) is set. when this bit is set, an smi# will be generated. 0 power management smi status (pmms) ? r/wc. 0 = no change 1 = rsts.ps (d28:f0/f1/f2/f3/f4/f5:60, bit 16) transitions from 0-to-1, and mpc.pmme (d28:f0/f1/f2/f3/f4/f5:d8, bit 1) is set. free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 694 intel ? ich7 family datasheet 18.1.46 rpdcgen - root port dy namic clock gating enable (pci express-d28:f0/f1/f2 /f3/f4/f5) (mobile only) address offset: e1h attribute: r/w default value: 00h size: 8-bits 18.1.47 ipws?intel ? pro/wireless 3945abg status (pci express?d28:f0/f1/f2/f3/f4/f5) (mobile only) address offset: e2h?e3h attribute: ro default value: 0007h size: 16 bits bits description 7:4 reserved. ro 3 shared resource dynamic link cl ock gating enable (srdlcgen) ? rw. 0 = disables dynamic clock gating of th e shared resource link clock domain. 1 = enables dynamic clock gating on the root port shared resouce link clock domain. only the value from port 1 is used for ports 1?4. only the value from port 5 is used for ports 5?6. 2 shared resource dynamic backbone clock gate enable (srdbcgen) ? rw. 0 = disables dynamic clock gating of the shared resource backbone clock domain. 1 = enables dynamic clock gati ng on the root port shar ed resouce backbone clock domain. only the value from port 1 is used for ports 1?4. only the value from port 5 is used for ports 5?6. 1 root port dynamic link cloc k gate enable (rpdlcgen) ? rw. 0 = disables dynamic clock gating of the root port link clock domain. 1 = enables dynamic clock gating on the root port link clock domain. 0 root port dynamic backbone cl ock gate enable (rpdbcgen) ? rw. 0 = disables dynamic clock gating of th e root port backbone clock domain. 1 = enables dynamic clock gating on th e root port backbone clock domain. bit description 15 intel pro/wireless 3945abg status (ipwstat) ? ro. this bit is set if the link has trained to l0 in intel pro/wireless 3945abg mode. 14:0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 695 pci express* configuration registers (desktop and mobile only) 18.1.48 vch?virtual channel ca pability header register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 100h ? 103h attribute: ro default value: 18010002h size: 32 bits 18.1.49 vcap2?virtual channe l capability 2 register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 108h ? 10bh attribute: ro default value: 00000001h size: 32 bits 18.1.50 pvc?port virtual channel control register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 10ch ? 10dh attribute: r/w default value: 0000h size: 16 bits bit description 31:20 next capability o ffset (nco) ? ro. this field indica tes the next item in the list. 19:16 capability version (cv) ? ro. this field indica tes that this is version 1 of the capability structure by the pci sig. 15:0 capability id (cid) ? ro. this field indicates that this is the virtual channel capability item. bit description 31:24 vc arbitration table offset (ato) ? ro. this field indicates that no table is present for vc arbitration since it is fixed. 23:0 reserved. bit description 15:4 reserved. 3:1 vc arbitration select (as) ? r/w. this field indicates which vc should be programmed in the vc arbitration table. the root port takes no action on the setting of this field since there is no arbitration table. 0 load vc arbitration table (lat) ? r/w. this bit indicates that the table programmed should be loaded into the vc ar bitration table. this bit always returns 0 when read. free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 696 intel ? ich7 family datasheet 18.1.51 pvs ? port virtual channel status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 10eh ? 10fh attribute: ro default value: 0000h size: 16 bits 18.1.52 v0cap ? virtual channel 0 resource capability register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 110h ? 113h attribute: ro default value: 00000001h size: 32 bits bit description 15:1 reserved. 0 vc arbitration table status (vas) ? ro. this bit indicates the coherency status of the vc arbitration table when it is being update d. this field is always 0 in the root port since there is no vc arbitration table. bit description 31:24 port arbitration table offset (at) ? ro. this vc implements no po rt arbitration table since the arbitration is fixed. 23 reserved. 22:16 maximum time slots (mts) ? ro. this vc implements fixed arbitration; therefore, this field is not used. 15 reject snoop transactions (rts) ? ro. this vc must be able to take snoopable transactions. 14 advanced packet switching (aps) ? ro. this vc is capable of all transactions, not just advanced packet switching transactions. 13:8 reserved. 7:0 port arbitration capability (pac) ? ro. this fi eld indicates that this vc uses fixed port arbitration. free datasheet http://www..net/
intel ? ich7 family datasheet 697 pci express* configuration registers (desktop and mobile only) 18.1.53 v0ctl ? virtual channel 0 resource control register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 114h ? 117h attribute: r/w, ro default value: 800000ffh size: 32 bits 18.1.54 v0sts ? virtual channel 0 resource status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 11ah ? 11bh attribute: ro default value: 0000h size: 16 bits bit description 31 virtual channel enable (en) ? ro. always set to 1. virtual channel 0 cannot be disabled. 30:27 reserved. 26:24 virtual channel identifier (vcid) ? ro. this field indicates th e id to use for this virtual channel. 23:20 reserved. 19:17 port arbitration select (pas) ? r/w. this field indicates which port table is being programmed. the root complex takes no action on this setting since the arbitration is fixed and there is no arbitration table. 16 load port arbitration table (lat) ? ro. the r oot port does not implement an arbitration table for this virtual channel. 15:8 reserved. 7:1 transaction class / virtual channel map (tvm) ? r/w. this field indicates which transaction classes are mapped to this virtual channel. when a bit is set, this transaction class is mapped to the virtual channel. 0 reserved. transaction class 0 must always be mapped to vc0. bit transaction class 7 transaction class 7 6 transaction class 6 5 transaction class 5 4 transaction class 4 3 transaction class 3 2 transaction class 2 1 transaction class 1 0 transaction class 0 bit description 15:2 reserved. 1 vc negotiation pending (np) ? ro. 0 = negotiation is not pending. 1 = virtual channel is still being negotiated with ingress ports. 0 port arbitration tables status (ats). there is no port arbitration table for this vc; this bit is reserved as 0. free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 698 intel ? ich7 family datasheet 18.1.55 ues ? uncorrectable error status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 144h ? 147h attribute: r/wc, ro default value: 00000000000x0xxx 0x0x0000000x0000bsize:32 bits this register maintains its state through a platform reset. it loses its state upon suspend. bit description 31:21 reserved 20 unsupported request error status (ure) ? r/wc. 0 = unsupported request was not received. 1 = unsupported requ est was received. 19 ecrc error status (ee) ? ro. ecrc is not supported. 18 malformed tlp status (mt) ? r/wc. 0 = malformed tlp was not received. 1 = malformed tlp was received. 17 receiver overflow status (ro) ? r/wc. 0 = receiver overflow did not occur. 1 = receiver overflow occurred. 16 unexpected completion status (uc) ? r/wc. 0 = unexpected completion was not received. 1 = unexpected completion was received. 15 completion abort status (ca) ? r/wc. 0 = completer abort was not received. 1 = completer abort was received. 14 completion timeout status (ct) ? r/wc. 0 = completion did not time out. 1 = completion timed out. 13 flow control protocol error status (fcpe) ? ro. flow control protocol errors not supported. 12 poisoned tlp status (pt) ? r/wc. 0 = poisoned tlp was not received. 1 = poisoned tlp was received. 11:5 reserved 4 data link protocol error status (dlpe) ? r/wc. 0 = data link protocol error did not occur. 1 = data link protocol error occurred. 3:1 reserved 0 training error status (te) ? ro. training errors not supported. free datasheet http://www..net/
intel ? ich7 family datasheet 699 pci express* configuration registers (desktop and mobile only) 18.1.56 uem ? uncorrec table error mask (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 148h ? 14bh attribute: r/wo, ro default value: 00000000h size: 32 bits when set, the corresponding error in the ue s register is masked, and the logged error will cause no action. when cleared, the corresponding error is enabled. bit description 31:21 reserved 20 unsupported request error mask (ure) ? r/wo. 0 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is enabled. 1 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is masked. 19 ecrc error mask (ee) ? ro. ecrc is not supported. 18 malformed tlp mask (mt) ? r/wo. 0 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is enabled. 1 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is masked. 17 receiver overflow mask (ro) ? r/wo. 0 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is enabled. 1 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is masked. 16 unexpected completion mask (uc) ? r/wo. 0 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is enabled. 1 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is masked. 15 completion abort mask (ca) ? r/wo. 0 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is enabled. 1 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is masked. 14 completion timeout mask (ct) ? r/wo. 0 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is enabled. 1 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is masked. 13 flow control protocol error mask (fcpe) ? ro. flow control protocol errors not supported. 12 poisoned tlp mask (pt) ? r/wo. 0 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is enabled. 1 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is masked. 11:5 reserved free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 700 intel ? ich7 family datasheet 18.1.57 uev ? uncorrecta ble error severity (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 14ch ? 14fh attribute: ro default value: 00060011h size: 32 bits 4 data link protocol error mask (dlpe) ? r/wo. 0 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is enabled. 1 = the corresponding error in the ues re gister (d28:f0/f1/f2/f3/f4/f5:144) is masked. 3:1 reserved 0 training error mask (te) ? ro. training errors not supported bit description bit description 31:21 reserved 20 unsupported request error severity (ure) ? ro. 0 = error considered no n-fatal. (default) 1 = error is fatal. 19 ecrc error severity (ee) ? ro. ecrc is not supported. 18 malformed tlp severity (mt) ? ro. 0 = error considered non-fatal. 1 = error is fatal. (default) 17 receiver overflow severity (ro) ? ro. 0 = error considered non-fatal. 1 = error is fatal. (default) 16 unexpected completion severity (uc) ? ro. 0 = error considered no n-fatal. (default) 1 = error is fatal. 15 completion abort severity (ca) ? ro. 0 = error considered no n-fatal. (default) 1 = error is fatal. 14 completion timeout severity (ct) ? ro. 0 = error considered no n-fatal. (default) 1 = error is fatal. 13 flow control protocol error severity (fcpe) ? ro. flow control protocol errors not supported. 12 poisoned tlp severity (pt) ? ro. 0 = error considered no n-fatal. (default) 1 = error is fatal. 11:5 reserved 4 data link protocol error severity (dlpe) ? ro. 0 = error considered non-fatal. 1 = error is fatal. (default) 3:1 reserved 0 training error severity (te) ? ro. te is not supported. free datasheet http://www..net/
intel ? ich7 family datasheet 701 pci express* configuration registers (desktop and mobile only) 18.1.58 ces ? correctable error status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 150h ? 153h attribute: r/wc default value: 00000000h size: 32 bits 18.1.59 cem ? corr ectable error mask register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 154h ? 157h attribute: r/wo default value: 00000000h size: 32 bits when set, the corresponding error in the ce s register is masked, and the logged error will cause no action. when cleared, the corresponding error is enabled. bit description 31:13 reserved 12 replay timer timeout status (rtt) ? r/wc. 0 = replay timer did not time out. 1 = replay timer timed out. 11:9 reserved 8 replay number rollover status (rnr) ? r/wc. 0 = replay number did not roll over. 1 = replay number rolled over. 7 bad dllp status (bd) ? r/wc. 0 = bad dllp was not received. 1 = bad dllp was received. 6 bad tlp status (bt) ? r/wc. 0 = bad tlp was not received. 1 = bad tlp was received. 5:1 reserved 0 receiver error status (re) ? r/wc. 0 = receiver error did not occur. 1 = receiver error occurred. bit description 31:13 reserved 12 replay timer timeout mask (rtt) ? r/wo. 0 = no mask 1 = mask for replay timer timeout. 11:9 reserved 8 replay number rollover mask (rnr) ? r/wo. 0 = no mask 1 = mask for replay number rollover. 7 bad dllp mask (bd) ? r/wo. 0 = no mask 1 = mask for bad dllp reception. free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 702 intel ? ich7 family datasheet 18.1.60 aecc ? advanced error ca pabilities and control register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 158h ? 15bh attribute: ro default value: 00000000h size: 32 bits 18.1.61 res ? root erro r status register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 170h ? 173h attribute: r/wc, ro default value: 00000000h size: 32 bits 6 bad tlp mask (bt) ? r/wo. 0 = no mask 1 = mask for bad tlp reception. 5:1 reserved 0 receiver error mask (re) ? r/wo. 0 = no mask 1 = mask for receiver errors. bit description bit description 31:9 reserved 8 ecrc check enable (ece) ? ro. ecrc is not supported. 7 ecrc check capable (ecc) ? ro. ecrc is not supported. 6 ecrc generation enable (ege) ? ro. ecrc is not supported. 5 ecrc generation capable (egc) ? ro. ecrc is not supported. 4:0 first error pointer (fep) ? ro. bit description 31:27 advanced error interrupt message number (aemn) ? ro. there is only one error interrupt allocated. 26:4 reserved 3 multiple err_fatal/nonfatal received (menr) ? ro. for intel ? ich7, only one error will be captured. 2 err_fatal/nonfatal received (enr) ? r/wc. 0 = no error message received. 1 = either a fatal or a non-fatal error message is received. 1 multiple err_cor received (mcr) ? ro. for ich7, only one error will be captured. 0 err_cor received (cr) ? r/wc. 0 = no error message received. 1 = a correctable error message is received. free datasheet http://www..net/
intel ? ich7 family datasheet 703 pci express* configuration registers (desktop and mobile only) 18.1.62 rctcl ? root complex topology capability list register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 180 ? 183h attribute: ro default value: 00010005h size: 32 bits 18.1.63 esd ? element self description register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 184h ? 187h attribute: ro default value: see description size: 32 bits bit description 31:20 next capability (next) ? ro. this field indicates the next item in the list, in this case, end of list. 19:16 capability version (cv) ? ro. this field indicates th e version of the capability structure. 15:0 capability id (cid) ? ro. this field indicates this is a root complex topology capability. bit description 31:24 port number (pn) ? ro. this field indicates the in gress port number for the root port. there is a different value per port: 23:16 component id (cid) ? ro. this field returns the value of the esd.cid field (chipset configuration space: offset 0104h:bits 23:16) of the chip configuration section, that is programmed by platform bios, since the root port is in the same component as the rcrb. 15:8 number of link entries (nle) ? ro. (default value is 01h). this field indicates one link entry (corresponding to the rcrb). 7:4 reserved. 3:0 element type (et) ? ro. (default value is 0h). this field indicates that the element type is a root port. port # value 1 01h 2 02h 3 03h 4 04h 5 05h 6 06h free datasheet http://www..net/
pci express* configuration regist ers (desktop and mobile only) 704 intel ? ich7 family datasheet 18.1.64 uld ? upstream link description register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 190h ? 193h attribute: ro default value: 00000001h size: 32 bits 18.1.65 ulba ? upst ream link base address register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 198h ? 19fh attribute: ro default value: see description size: 64 bits 18.1.66 peetm ? pci express exte nded test mode register (pci express?d28:f0/f1/f2/f3/f4/f5) address offset: 318h attribute: ro default value: see description size: 8 bits bit description 31:24 target port number (pn) ? ro. this field indicates the port number of the rcrb. 23:16 target component id (tcid) ? ro. this field returns th e value of the esd.cid field (chipset configuration space: offset 0104h:bits 23:16) of the chip configuration section, that is programmed by platform bios, since the root port is in the same component as the rcrb. 15:2 reserved. 1 link type (lt) ? ro. this bit indicates that the link points to the intel ? ich7 rcrb. 0 link valid (lv) ? ro. this bit indicates that this link entry is valid. bit description 63:32 base address upper (bau) ? ro. the rcrb of the intel ? ich7 is in 32-bit space. 31:0 base address lower (bal) ? ro. this field matches the rcba register (d31:f0:offset f0h) valu e in the lpc bridge. bit description 7:3 reserved 2 scrambler bypass mode (bau) ? r/w. 0 = normal operation. scrambler and descrambler are used. 1 = bypasses the data scrambler in the transm it direction and the da ta de-scrambler in the receive direction. note: this functionality intended for debug/testing only. note: if bypassing scrambler with intel ? ich7 root port 1 in x4 configuration, each ich7 root port must have this bit set. 1:0 reserved free datasheet http://www..net/
intel ? ich7 family datasheet 705 intel? high definition audio controller registers (d27:f0) 19 intel ? high definition audio controller registers (d27:f0) the intel ? high definition audio controller resides in pci device 27, function 0 on bus 0. this function contains a set of dma engines that are used to move samples of digitally encoded data between system memory and external codecs. note: all registers in this function (including me mory-mapped registers) must be addressable in byte, word, and d-word quantities. th e software must always make register accesses on natural boundaries (i.e. d-word accesses must be on d-word boundaries; word accesses on word boundaries, etc.) in addition, the memory-mapped register space must not be accessed with the lock semantic exclusive-access mechanism. if software attempts exclusive-access mechanisms to the intel high definition audio memory-mapped space, the results are undefined. note: users interested in providing feedback on th e intel high definition audio specification or planning to implement the intel high definition audio specification into a future product will need to execute the intel ? high definition audio specification developer?s agreement . for more information, contact nextgenaudio@intel.com. 19.1 intel ? high definition audi o pci configuration space (intel ? high definition audio? d27:f0) note: address locations that are not shown should be treated as reserved. table 19-1. intel ? high definition audio pci register address map (intel ? high definition audio d27:f0) (sheet 1 of 2) offset mnemonic register name default access 00h?01h vid vendor identification 8086h ro 02h?03h did device identification see register description. ro 04h?05h pcicmd pci command 0000h r/w, ro 06h?07h pcists pci status 0010h r/wc, ro 08h rid revision identification see register description. ro 09h pi programming interface 00h ro 0ah scc sub class code 03h ro 0bh bcc base class code 04h ro 0ch cls cache line size 00h r/w 0dh lt latency timer 00h ro 0eh headtyp header type 00h ro 10h?13h hdbarl intel ? high definition audio lower base address (memory) 00000004h r/w, ro 14h?17h hdbaru intel? high definition audio upper base address (memory) 00000000h r/w 2ch?2dh svid subsystem vendor identification 0000h r/wo 2eh?2fh sid subsystem identification 0000h r/wo 34h capptr capability list pointer 50h ro free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 706 intel ? ich7 family datasheet 3ch intln interrupt line 00h r/w 3dh intpn interrupt pin see register description ro 40h hdctl intel high definiti on audio control 00h r/w, ro 44h tcsel traffic class select 00h r/w 4ch dckctl docking control (mobile only) 00h r/w, ro 4dh dcksts docking status (mobile only) 80h r/wo, ro 50h?51h pid pci power management capability id 6001h ro 52h?53h pc power management capabilities c842 ro 54h?57h pcs power management control and status 00000000h r/w, ro, r/wc 60h?61h mid msi capability id 7005h ro 62h?63h mmc msi message control 0080h r/w, ro 64h?67h mmla msi message lower address 00000000h r/w, ro 68h?6bh mmua smi message upper address 00000000h r/w 6ch?6dh mmd msi message data 0000h r/w 70h?71h pxid pci express* capability identifiers (desktop and mobile only) 0010h ro 72h?73h pxc pci express capabili ties (desktop and mobile only) 0091h ro 74h?77h devcap device capabilities 00000000h ro, r/wo 78h?79h devc device control 0800h r/w, ro 7ah?7bh devs device status 0010h ro 100h?103h vccap virtual channel enhanced capability header 13010002h ro 104h?107h pvccap1 port vc capability register 1 00000001h ro 108h?10bh pvccap2 port vc capability register 2 00000000h ro 10ch?10d pvcctl port vc control 0000h ro 10eh?10fh pvcsts port vc status 0000h ro 110h?103h vc0cap vc0 resource capability 00000000h ro 114h?117h vc0ctl vc0 resource control 800000ffh r/w, ro 11ah?11bh vc0sts vc0 resource status 0000h ro 11ch?11fh vcicap vci resource capability 00000000h ro 120h?123h vcictl vci resource control 00000000h r/w, ro 126h?127h vcists vci resource status 0000h ro 130h?133h rccap root complex link declaration enhanced capability header 00010005h ro 134h?137h esd element self description 0f000100h ro 140h?143h l1desc link 1 description 00000001h ro 148h?14bh l1addl link 1 lower address see register description ro 14ch?14fh l1addu link 1 upper address 00000000h ro table 19-1. intel ? high definition audio pc i register address map (intel ? high definition audio d27:f0) (sheet 2 of 2) offset mnemonic register name default access free datasheet http://www..net/
intel ? ich7 family datasheet 707 intel? high definition audio controller registers (d27:f0) 19.1.1 vid?vendor identi fication register (intel ? high definition audio controller?d27:f0) offset: 00h-01h attribute: ro default value: 8086h size: 16 bits 19.1.2 did?device identification register (intel ? high definition audio controller?d27:f0) offset address: 02h?03h attribute: ro default value: see bit description size: 16 bits bit description 15:0 vendor id ? ro. this is a 16-bit value assigned to intel. intel vid = 8086h bit description 15:0 device id ? ro. this is a 16-bi t value assigned to the intel ? ich7 intel high definition audio controller. refer to the intel ? i/o controller hub 7 (ich7) family specification update for the value of the device id register. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 708 intel ? ich7 family datasheet 19.1.3 pcicmd?pci command register (intel ? high definition audio controller?d27:f0) offset address: 04h?05h attribute: r/w, ro default value: 0000h size: 16 bits bit description 15:11 reserved 10 interrupt disable (id) ? r/w. 0= the intx# signals may be asserted. 1= the intel ? high definition audio controller?s intx# signal will be de-asserted note: this bit does not affect the generation of msis. 9 fast back to back enable (fbe) ? ro. not implemented. hardwired to 0. 8 serr# enable (serr_en) ? r/w. serr# is not generated by the intel ? ich7 intel high definition audio controller. 7 wait cycle control (wcc) ? ro. no t implemented. hardwired to 0. 6 parity error response (per) ? ro. not implemented. hardwired to 0. 5 vga palette snoop (vps). not implemented. hardwired to 0. 4 memory write and invalidate enable (mwi e) ? ro. not implemented. hardwired to 0. 3 special cycle enable (sce). not implemented. hardwired to 0. 2 bus master enable (bme) ? r/w. controls standard pci express* bus mastering capabilities for memory and i/o, reads and wr ites. note that this bit also controls msi generation since msis are essentially memory writes. 0 = disable 1 = enable 1 memory space enable (mse) ? r/w. enables memory space addresses to the intel high definition audio controller. 0 = disable 1 = enable 0 i/o space enable (iose)?ro. hardwired to 0 since the intel high definition audio controller does not implement i/o space. free datasheet http://www..net/
intel ? ich7 family datasheet 709 intel? high definition audio controller registers (d27:f0) 19.1.4 pcists?pci status register (intel ? high definition audio controller?d27:f0) offset address: 06h?07h attribute: ro, r/wc default value: 0010h size: 16 bits 19.1.5 rid?revision identification register (intel ? high definition audio controller?d27:f0) offset: 08h attribute: ro default value: see bit description size: 8 bits bit description 15 detected parity error (dpe) ? ro . not implemented. hardwired to 0. 14 serr# status (serrs) ? ro. not implemented. hardwired to 0. 13 received master abort (rma) ? r/wc. software clears this bit by writing a 1 to it. 0 = no master abort received. 1 = the intel ? high definition audio controller sets this bit when, as a bus master, it receives a master abort. wh en set, the intel high de finition audio controller clears the run bit for the chan nel that received the abort. 12 received target abort (rta) ? ro. not implemented. hardwired to 0. 11 signaled target abort (sta) ? ro. not implemented. hardwired to 0. 10:9 devsel# timing status (dev_sts) ? ro. does not apply. hardwired to 0. 8 data parity error detected (dped) ? ro. not implemented. hardwired to 0. 7 fast back to back capable (fb2bc) ? ro. does not apply. hardwired to 0. 6 reserved. 5 66 mhz capable (66mhz_cap) ? ro. does not apply. hardwired to 0. 4 capabilities list (cap_list) ? ro. hardwired to 1. indicates that the controller contains a capabilities poin ter list. the first item is pointed to by looking at configuration offset 34h. 3 interrupt status (is) ? ro. 0 = this bit is 0 after th e interrupt is cleared. 1 = this bit is 1 when the intx# is asserted. note that this bit is not set by an msi. 2:0 reserved. bit description 7:0 revision id ? ro. refer to the intel ? i/o controller hub 7 (ich 7) family specification update for the value of the revision id register. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 710 intel ? ich7 family datasheet 19.1.6 pi?programming interface register (intel ? high definition audio controller?d27:f0) offset: 09h attribute: ro default value: 00h size: 8 bits 19.1.7 scc?sub class code register (intel ? high definition audio controller?d27:f0) address offset: 0ah attribute: ro default value: 03h size: 8 bits 19.1.8 bcc?base class code register (intel ? high definition audio controller?d27:f0) address offset: 0bh attribute: ro default value: 04h size: 8 bits 19.1.9 cls?cache line size register (intel ? high definition audio controller?d27:f0) address offset: 0ch attribute: r/w default value: 00h size: 8 bits 19.1.10 lt?latency timer register (intel ? high definition audio controller?d27:f0) address offset: 0dh attribute: ro default value: 00h size: 8 bits bit description 7:0 programming interface ? ro. bit description 7:0 sub class code (scc) ? ro. 03h = audio device bit description 7:0 base class code (bcc) ? ro. 04h = multimedia device bit description 7:0 cache line size ? r/w. implem ented as r/w register, but ha s no functional impact to the intel ? ich7 bit description 7:0 latency timer ? ro. hardwired to 00 free datasheet http://www..net/
intel ? ich7 family datasheet 711 intel? high definition audio controller registers (d27:f0) 19.1.11 headtyp?header type register (intel ? high definition audio controller?d27:f0) address offset: 0eh attribute: ro default value: 00h size: 8 bits 19.1.12 hdbarl?intel ? high definition audi o lower base address register (intel ? high definition audio?d27:f0) address offset: 10h-13h attribute: r/w, ro default value: 00000004h size: 32 bits 19.1.13 hdbaru?intel ? high definition audio upper base address register (intel ? high definition audio controller?d27:f0) address offset: 14h-17h attribute: r/w default value: 00000000h size: 32 bits bit description 7:0 header type ? ro. hardwired to 00. bit description 31:14 lower base address (lba) ? r/w. this field contains the base address for the intel ? high definition audio controller?s memory mapped configuration registers; 16 kb are requested by hardwiring bits 13:4 to 0s. 13:4 ro. hardwired to 0s 3 prefetchable (pref) ? ro. hardwired to 0 to indicate that this bar is not prefetchable. 2:1 address range (addrng) ? ro. hardwired to 10b, indicating that this bar can be located anywhere in 64-bit address space. 0 space type (sptyp) ? ro. hardwired to 0. indicates this bar is located in memory space. bit description 31:0 upper base address (uba) ? r/w. this field provides th e upper 32 bits of the base address for the intel ? high definition audi o controller?s memory mapped configuration registers. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 712 intel ? ich7 family datasheet 19.1.14 svid?subsystem vendor identification register (intel ? high definition audio controller?d27:f0) address offset: 2ch?2dh attribute: r/wo default value: 0000h size: 16 bits the svid register, in combination with the subsystem id register (d27:f0:2eh), enable the operating environment to distinguish one audio subsystem from the other(s). this register is implemented as write-once register. once a value is written to it, the value can be read back. any subseq uent writes will have no effect. this register is not affected by the d3 hot to d0 transition. 19.1.15 sid?subsystem iden tification register (intel ? high definition audio controller?d27:f0) address offset: 2eh ? 2fh attribute: r/wo default value: 0000h size: 16 bits the sid register, in combination with the subsystem vendor id register (d27:f0:2ch) make it possible for the operating environment to distinguish one audio subsystem from the other(s). this register is implemented as write-once register. once a value is written to it, the value can be read back. any subseq uent writes will have no effect. this register is not affected by the d3 hot to d0 transition. t bit description 15:0 subsystem vendor id ? r/wo. bit description 15:0 subsystem id ? r/wo. free datasheet http://www..net/
intel ? ich7 family datasheet 713 intel? high definition audio controller registers (d27:f0) 19.1.16 capptr?capabilities poin ter register (audio?d30:f2) address offset: 34h attribute: ro default value: 50h size: 8 bits this register indicates the offset for the capability pointer. 19.1.17 intln?interrup t line register (intel ? high definition audio controller?d27:f0) address offset: 3ch attribute: r/w default value: 00h size: 8 bits 19.1.18 intpn?interrupt pin register (intel ? high definition audio controller?d27:f0) address offset: 3dh attribute: ro default value: see description size: 8 bits bit description 7:0 capabilities pointer (cap_ptr) ? ro. this field indicates that the first capability pointer offset is offset 50h (pow er management capability) bit description 7:0 interrupt line (int_ln) ? r/w. this data is not used by the intel ? ich7. it is used to communicate to software th e interrupt line that the in terrupt pin is connected to. bit description 7:4 reserved. 3:0 interrupt pin ? ro. this reflects the value of d27ip.zip (chipset config registers:offset 3110h: bits 3:0). free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 714 intel ? ich7 family datasheet 19.1.19 hdctl?intel ? high definition audio control register (intel ? high definition audio controller?d27:f0) address offset: 40h attribute: r/w, ro default value: 00h size: 8 bits bit description 7:4 reserved. 3 bitclk detect clear (clkdetclr) ? r/w. 0 = lock detect circuit is operational and maybe enabled. 1 = writing a 1 to this bit clears bit 1 (clk det#) in this register . clkdet# bit remains clear when this bit is set to 1. note: this bit is not affected by the d3 hot to d0 transition. 2 bitclk detect enable (clkdeten) ? r/w. 0 = latches the current state of bit 1 (clkdet#) in this register 1 = enables the clock detection circuit note: this bit is not affected by the d3 hot to d0 transition. 1 bitclk detected inverted (clkdet#) ? ro . this bit is modified by hardware. it is set to 0 when the intel ? ich7 detects that the bitclk is toggling, indicating the presence of an ac?97 codec on the link. notes: 1. bit 2 (clkdeten) and bit 3 (clkdetclr) in this register control the operation of this bit and must be manipulated corre ctly in order to get a valid clkdet# indicator. 2. this bit is not affected by the d3hot to d0 transition. 0 intel ? high definition audio/ac ?97 signal mode ? r/w. this bit selects the shared intel high definition audio/ac ?97 signals. 0 = ac ?97 mode is selected (default) 1 = intel high definition audio mode is selected notes: 1. this bit has no effect on the visibility of the intel high definition audio and ac ?97 function configuration space. 2. this bit is in the resume well and only clear on a power-on re set. software must not makes assumptions about the reset state of this bit and must set it appropriately. 3. for the ich7-u ultra mobile, this bit must be programmed to 1. free datasheet http://www..net/
intel ? ich7 family datasheet 715 intel? high definition audio controller registers (d27:f0) 19.1.20 tcsel?traffic cl ass select register (intel ? high definition audio controller?d27:f0) address offset: 44h attribute: r/w default value: 00h size: 8 bits this register assigned the value to be placed in the tc field. corb and rirb data will always be assigned tc0. 19.1.21 dckctl?docking contro l register (mobile only) (intel ? high definition audio controller?d27:f0) address offset: 4ch attribute: r/w, ro default value: 00h size: 8 bits bit description 7:3 reserved. 2:0 intel ? high definition audio traffi c class assignment (tcsel) ? r/w. this register assigns the value to be placed in the traffic clas s field for input data, output data, and buffer descriptor transactions. 000 = tc0 001 = tc1 010 = tc2 011 = tc3 100 = tc4 101 = tc5 110 = tc6 111 = tc7 note: these bits are not reset on d3 hot to d0 transition; however, they are reset by pltrst#. bit description 7:1 reserved. 0 dock attach (da) ? r/w / ro: 0 = software writes a 0 to this bit to initiate the undocking sequence on the az_dock_en# and az_dock_rst# signals. when the undocking sequence is complete, hardware will set the dock mated (gsts.dm) status bit to 0. 1 = software writes a 1 to this bit to initiate the docking sequence on the az_dock_en# and az_dock_rst# signal s. when the docking sequence is complete, hardware will set the dock mated (gsts.dm) status bit to 1. note: software must check the state of the do ck mated (gsts.dm) bit prior to writing to the dock attach bit. software shall only change the da bit from 0 to 1 when dm=0. likewise, software shall only chan ge the da bit from 1 to 0 when dm=1. if these rules are not follow ed, the results are undefined. note: this bit is read only when the dcksts.ds bit = 0. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 716 intel ? ich7 family datasheet 19.1.22 dcksts?docking status register (intel ? high definition audio co ntroller?d27:f0) (mobile only) address offset: 4dh attribute: r/wo, ro default value: 80h size: 8 bits 19.1.23 pid?pci power management capability id register (intel ? high definition audio controller?d27:f0) address offset: 50h?51h attribute: ro default value: 6001h size: 16 bits 19.1.24 pc?power management capabilities register (intel ? high definition audio controller?d27:f0) address offset: 52h?53h attribute: ro default value: c842h size: 16 bits bit description 7 bios is required to clear this bit. 6:1 reserved. 0) reserved. bit description 15:8 next capability (next) ? ro. hardwired to 60h . points to the next capability structure (msi) 7:0 cap id (cap) ? ro. hardwired to 01h. indi cates that this pointer is a pci power management capability. bit description 15:11 pme support ? ro. hardwired to 11001b. indicates pme# can be generated from d3 and d0 states. 10 d2 support ? ro. hardwired to 0. indi cates that d2 state is not supported. 9 d1 support ?ro. hardwired to 0. indi cates that d1 state is not supported. 8:6 aux current ? ro. hardwired to 001b. repo rts 55 ma maximum suspend well current required when in the d3 cold state. 5 device specific initialization (dsi) ? ro. ha rdwired to 0. indicates that no device specific initialization is required. 4 reserved 3 pme clock (pmec) ? ro. does not apply. hardwired to 0. 2:0 version ? ro. hardwired to 010b. indicates support for version 1.1 of the pci power management specification. free datasheet http://www..net/
intel ? ich7 family datasheet 717 intel? high definition audio controller registers (d27:f0) 19.1.25 pcs?power management co ntrol and status register (intel ? high definition audio controller?d27:f0) address offset: 54h?57h attribute: ro, r/w, r/wc default value: 00000000h size: 32 bits bit description 31:24 data ? ro. does not apply. hardwired to 0. 23 bus power/clock control enable ? ro . does not apply. hardwired to 0. 22 b2/b3 support ? ro. does not apply. hardwired to 0. 21:16 reserved. 15 pme status (pmes) ? r/wc. 0 = software clears the bit by writing a 1 to it. 1 = this bit is set when the intel ? high definition audio controller would normally assert the pme# signal independent of the state of the pme_en bit (bit 8 in this register) this bit is in the resume well and only clea red on a power-on rese t. software must not make assumptions about the reset state of this bit and must se t it appropriately. 14:9 reserved 8 pme enable (pmee) ? r/w. 0 = disable 1 = when set and if corresponding pmes also set, the intel high definition audio controller sets the ac97_sts bit in the gpe0_sts register (pmbase +28h). the ac97_sts bit is shared by ac ?97 and inte l high definition audio functions since they are mutually exclusive. this bit is in the resume well and only clea red on a power-on rese t. software must not make assumptions about the reset state of this bit and must se t it appropriately. 7:2 reserved 1:0 power state (ps) ? r/w. this field is used both to determine the current power state of the intel high definition audio co ntroller and to set a new power state. 00 = d0 state 11 = d3 hot state others = reserved notes: 1. if software attempts to write a value of 01b or 10b in to this field, the write operation must complete normally; howeve r, the data is discarded and no state change occurs. 2. when in the d3 hot states, the intel high defi nition audio controller?s configuration space is available, bu t the i/o and memory space are not. additionally, interrupts are blocked. 3. when software changes this value from d3 hot state to the d0 st ate, an internal warm (soft) reset is generated, and so ftware must re-initialize the function. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 718 intel ? ich7 family datasheet 19.1.26 mid?msi capability id register (intel ? high definition audio controller?d27:f0) address offset: 60h?61h attribute: ro default value: 7005h size: 16 bits 19.1.27 mmc?msi messag e control register (intel ? high definition audio controller?d27:f0) address offset: 62h?63h attribute: ro, r/w default value: 0080h size: 16 bits 19.1.28 mmla?msi message lower address register (intel ? high definition audio controller?d27:f0) address offset: 64h?67h attribute: ro, r/w default value: 00000000h size: 32 bits 19.1.29 mmua?msi message upper address register (intel ? high definition audio controller?d27:f0) address offset: 68h?6bh attribute: r/w default value: 00000000h size: 32 bits bit description 15:8 next capability (next) ? ro. hardwired to 70h. points to the pci express* capability structure. 7:0 cap id (cap) ? ro. hardwired to 05h. indi cates that this pointer is a msi capability bit description 15:8 reserved 7 64b address capability (64add) ? ro. hardwire d to 1 indicating the ability to generate a 64-bit message address 6:4 multiple message enable (mme) ? ro. normally this is a r/w register. however, since only 1 message is supported, these bits are hardwired to 000 = 1 message. 3:1 multiple message capable (mmc) ? ro. ha rdwired to 0 indicating request for 1 message. 0 msi enable (me) ? r/w. 0 = an msi may not be generated 1 = an msi will be generated instead of an intx signal. bit description 31:2 message lower address (mla) ? r/w. lower address used for msi message. 1:0 reserved. bit description 31:0 message upper address (mua) ? r/w. upper 32-bits of address used for msi message. free datasheet http://www..net/
intel ? ich7 family datasheet 719 intel? high definition audio controller registers (d27:f0) 19.1.30 mmd?msi message data register (intel ? high definition audio controller?d27:f0) address offset: 6ch?6dh attribute: r/w default value: 0000h size: 16 bits 19.1.31 pxid?pci express* capability id register (intel ? high definition audio controller?d27:f0) (desktop and mobile only) address offset: 70h-71h attribute: ro default value: 0010h size: 16 bits 19.1.32 pxc?pci express* capabili ties register (desktop and mobile only) (intel ? high definition audio controller?d27:f0) address offset: 72h?73h attribute: ro default value: 0091h size: 16 bits bit description 15:0 message data (md) ? r/w. data used for msi message. bit description 15:8 next capability (next) ? ro. ha rdwired to 0. indicates that this is the last capability structure in the list. 7:0 cap id (cap) ? ro. hardwired to 10h. indica tes that this pointer is a pci express* capability structure bit description 15:14 reserved 13:9 interrupt message number (imn) ? ro. hardwired to 0. 8 slot implemented (si) ? ro. hardwired to 0. 7:4 device/port type (dpt) ? ro. hardwired to 1001b. indicates that this is a root complex integrated endpoint device. 3:0 capability version (cv) ? ro. hardwired to 0001b. indicates version #1 pci express capability free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 720 intel ? ich7 family datasheet 19.1.33 devcap?device ca pabilities register (intel ? high definition audio controller?d27:f0) address offset: 74h?77h attribute: r/wo, ro default value: 00000000h size: 32 bits bit description 31:28 reserved 27:26 captured slot power limit sc ale (spls) ? ro. hardwired to 0. 25:18 captured slot power limit value (splv) ? ro. hardwired to 0. 17:15 reserved 14 power indicator present ? ro. hardwired to 0. 13 attention indicator present ? ro. hardwired to 0. 12 attention button present ? ro. hardwired to 0. 11:9 endpoint l1 acceptable latency ? r/wo. 8:6 endpoint l0s accept able latency ? r/wo. 5 extended tag field support ? ro. hardwire d to 0. indicates 5-bit tag field support 4:3 phantom functions supported ? ro. hardwired to 0. indicates that phantom functions are not supported 2:0 max payload size supported ? ro. hardwire d to 0. indicates 1 28-b maximum payload size capability free datasheet http://www..net/
intel ? ich7 family datasheet 721 intel? high definition audio controller registers (d27:f0) 19.1.34 devc?device control register (intel ? high definition audio controller?d27:f0) address offset: 78h?79h attribute: r/w, ro default value: 0800h size: 16 bits 19.1.35 devs?device status register (intel ? high definition audio controller?d27:f0) address offset: 7ah?7bh attribute: ro default value: 0010h size: 16 bits bit description 15 reserved 14:12 max read request size ? ro. hardwired to 0 enabling 128b maximum read request size. 11 no snoop enable (nsnpen) ? r/w. 0 = the intel ? high definition audio controller will not set the no snoop bit. in this case, isochronous transfers will not use vc1 (vci) even if it is enabled since vc1 is not snooped. isochronous transfers will use vc0. 1 = the intel high definition audio controller is permitted to set th e no snoop bit in the requester attributes of a bus master transa ction. in this case, vc0 or vc1 may be used for isochronous transfers. note: this bit is not reset on d3 hot to d0 transition; however, it is reset by pltrst#. 10 auxiliary power enable ? ro. hardwired to 0, indicating that intel high definition audio device does not draw aux power 9 phantom function enable ? ro. hardwi red to 0 disabling phantom functions. 8 extended tag field enable ? ro. ha rdwired to 0 enabling 5-bit tag. 7:5 max payload size ? ro. hardwired to 0 indicating 128b. 4 enable relaxed ordering ? ro. hardwi red to 0 disabling relaxed ordering. 3 unsupported request reporting enable ? ro. not implemente d. hardwired to 0. 2 fatal error reporting enable ? ro . not implemented. hardwired to 0. 1 non-fatal error reporting enable ? ro. not implemented. hardwired to 0. 0 correctable error reporting enable ? ro. not implemented. hardwired to 0. bit description 15:6 reserved 5 transactions pending ? ro. 0 = indicates that completions for all no n-posted requests ha ve been received. 1 = indicates that intel ? high definition audio contro ller has issued non-posted requests that have not been completed. 4 aux power detected ? ro. hardwired to 1 indi cating the device is connected to resume power. 3 unsupported request detected ? ro . not implemented. hardwired to 0. 2 fatal error detected ? ro. no t implemented. hardwired to 0. 1 non-fatal error detected ? ro. not implemented. hardwired to 0. 0 correctable error detected ? ro. not implemented. hardwired to 0. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 722 intel ? ich7 family datasheet 19.1.36 vccap?virtual channel enhanced capability header (intel ? high definition audio controller?d27:f0) (desktop and mobile only) address offset: 100h?103h attribute: ro default value: 13010002h size: 32 bits 19.1.37 pvccap1?port vc capability register 1 (intel ? high definition audio controller?d27:f0) (desktop and mobile only) address offset: 104h?107h attribute: ro default value: 00000001h size: 32 bits 19.1.38 pvccap2 ? port vc capability register 2 (intel ? high definition audio controller?d27:f0) address offset: 108h?10bh attribute: ro default value: 00000000h size: 32 bits bit description 31:20 next capability offset ? ro. hardwired to 1 30h. points to the next capability header that is the root complex link decl aration enhanced capability header. 19:16 capability version ? ro. hardwired to 1h. 15:0 pci express* extended capability ? ro. hardwired to 0002h. bit description 31:12 reserved. 11:10 port arbitration table entry size ? ro. hard wired to 0 since this is an endpoint device. 9:8 reference clock ? ro. hardwired to 0 since this is an endpoint device. 7 reserved. 6:4 low priority extended vc count ? ro. hardwired to 0. indicates that only vc0 belongs to the low priority vc group. 3 reserved. 2:0 extended vc count ? ro. hardwired to 001b. indicates that 1 extended vc (in addition to vc0) is supported by the intel ? high definition audio controller. bit description 31:24 vc arbitration table offset ? ro. hardwired to 0 indicating that a vc arbitration table is not present. 23:8 reserved. 7:0 vc arbitration capability ? ro. hardwired to 0. these bits are not applicable since the intel ? high definition audio controller report s a 0 in the low priority extended vc count bits in the pvccap1 register. free datasheet http://www..net/
intel ? ich7 family datasheet 723 intel? high definition audio controller registers (d27:f0) 19.1.39 pvcctl ? port vc control register (intel ? high definition audio controller?d27:f0) address offset: 10ch?10dh attribute: ro default value: 0000h size: 16 bits 19.1.40 pvcsts?port vc status register (intel ? high definition audio controller?d27:f0) address offset: 10eh-10fh attribute: ro default value: 0000h size: 16 bits 19.1.41 vc0cap?vc0 resour ce capability register (intel ? high definition audio controller?d27:f0) address offset: 110h?113h attribute: ro default value: 00000000h size: 32 bits bit description 15:4 reserved. 3:1 vc arbitration select ? ro. hardwired to 0. normally these bits are r/w. however, these bits are not applicable since the intel ? high definition audio controller reports a 0 in the low priority extended vc co unt bits in the pvccap1 register. 0 load vc arbitration table ? ro. hardwired to 0 since an arbitration table is not present. bit description 15:1 reserved. 0 vc arbitration table status ? ro. hardwire d to 0 since an arbitration table is not present. bit description 31:24 port arbitration table offset ? ro. hardwire d to 0 since this field is not valid for endpoint devices. 23 reserved. 22:16 maximum time slots ? ro. hardwired to 0 si nce this field is not valid for endpoint devices. 15 reject snoop transactions ? ro. hardwired to 0 since this field is not valid for endpoint devices. 14 advanced packet switching ? ro. hardwired to 0 since this field is not valid for endpoint devices. 13:8 reserved. 7:0 port arbitration capability ? ro. hardwired to 0 since this field is not valid for endpoint devices. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 724 intel ? ich7 family datasheet 19.1.42 vc0ctl?vc0 resource control register (intel ? high definition audio controller?d27:f0) address offset: 114h?117h attribute: r/w, ro default value: 800000ffh size: 32 bits 19.1.43 vc0sts?vc0 resource status register (intel ? high definition audio controller?d27:f0) address offset: 11ah?11bh attribute: ro default value: 0000h size: 16 bits bit description 31 vc0 enable ? ro. hardwired to 1 for vc0. 30:27 reserved. 26:24 vc0 id ? ro. hardwired to 0 since th e first vc is always assigned as vc0. 23:20 reserved. 19:17 port arbitration select ? ro. hardwired to 0 since this field is not valid for endpoint devices. 16 load port arbitration table ? ro. hardwired to 0 since this field is not valid for endpoint devices. 15:8 reserved. 7:0 tc/vc0 map ? r/w, ro. bit 0 is hardwired to 1 si nce tc0 is always mapped vc0. bits [7:1] are implemented as r/w bits. bit description 15:2 reserved. 1 vc0 negotiation pending ? ro. hardwired to 0 since this bit does not apply to the integrated intel ? high definition audio device. 0 port arbitration table status ? ro. hardwire d to 0 since this field is not valid for endpoint devices. free datasheet http://www..net/
intel ? ich7 family datasheet 725 intel? high definition audio controller registers (d27:f0) 19.1.44 vcicap?vci resour ce capability register (intel ? high definition audio controller?d27:f0) address offset: 11ch?11fh attribute: ro default value: 00000000h size: 32 bits 19.1.45 vcictl?vci reso urce control register (intel ? high definition audio controller?d27:f0) address offset: 120h?123h attribute: r/w, ro default value: 00000000h size: 32 bits bit description 31:24 port arbitration table offset ? ro. hardwire d to 0 since this field is not valid for endpoint devices. 23 reserved. 22:16 maximum time slots ? ro. hardwired to 0 si nce this field is not valid for endpoint devices. 15 reject snoop transactions ? ro. hardwired to 0 since this field is not valid for endpoint devices. 14 advanced packet switching ? ro. hardwired to 0 since this field is not valid for endpoint devices. 13:8 reserved 7:0 port arbitration capability ? ro. hardwired to 0 since this field is not valid for endpoint devices. bit description 31 vci enable ? r/w. 0 = vci is disabled 1 = vci is enabled note: this bit is not reset on d3 hot to d0 transition; however, it is reset by pltrst#. 30:27 reserved. 26:24 vci id ? r/w. this field assigns a vc id to th e vci resource. this field is not used by the intel ? ich7 hardware, but it is r/w to avoid confusing software. 23:20 reserved. 19:17 port arbitration select ? ro. hardwired to 0 since this field is not valid for endpoint devices. 16 load port arbitration table ? ro. hardwired to 0 since this field is not valid for endpoint devices. 15:8 reserved. 7:0 tc/vci map ? r/w, ro. this field indicates the tcs that are mapped to the vci resource. bit 0 is hardwired to 0 indicating th at it cannot be mapped to vci. bits [7:1] are implemented as r/w bits. th is field is not used by the ich7 hardware, but it is r/w to avoid confusing software. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 726 intel ? ich7 family datasheet 19.1.46 vcists?vci resource status register (intel ? high definition audio controller?d27:f0) address offset: 126h?127h attribute: ro default value: 0000h size: 16 bits 19.1.47 rccap?root complex link declaration enhanced capability header register (intel ? high definition audio controller?d27:f0) (desktop and mobile only) address offset: 130h?133h attribute: ro default value: 00010005h size: 32 bits 19.1.48 esd?element self description register (intel ? high definition audio controller?d27:f0) address offset: 134h?137h attribute: ro default value: 0f000100h size: 32 bits bit description 15:2 reserved. 1 vci negotiation pending ? ro. does not apply. hardwired to 0. 0 port arbitration table status ? ro. hardwire d to 0 since this field is not valid for endpoint devices. bit description 31:20 next capability offset ? ro. hardwired to 0 indicating this is the last capability. 19:16 capability version ? ro. hardwired to 1h. 15:0 pci express* extended capability id ? ro. hardwired to 0005h. bit description 31:24 port number ? ro. hardwired to 0fh indicating that the intel ? high definition audio controller is assigned as port #15d. 23:16 component id ? ro. this field returns the value of the esd.cid field of the chip configuration section. esd.cid is programmed by bios. 15:8 number of link entries ? ro. the intel hi gh definition audio only connects to one device, the intel ? ich7 egress port. therefore this field reports a value of 1h. 7:4 reserved. 3:0 element type (eltyp) ? ro. the intel high defi nition audio controller is an integrated root complex device. therefore, the field reports a value of 0h. free datasheet http://www..net/
intel ? ich7 family datasheet 727 intel? high definition audio controller registers (d27:f0) 19.1.49 l1desc?link 1 description register (intel ? high definition audio controller?d27:f0) address offset: 140h?143h attribute: ro default value: 00000001h size: 32 bits 19.1.50 l1addl?link 1 lo wer address register (intel ? high definition au dio controller?d27:f0) address offset: 148h?14bh attribute: ro default value: see register description size: 32 bits 19.1.51 l1addu?link 1 upper address register (intel ? high definition au dio controller?d27:f0) address offset: 14ch?14fh attribute: ro default value: 00000000h size: 32 bits bit description 31:24 target port number ? ro. the intel high definition audio cont roller targets the intel ? ich7?s port #0. 23:16 target component id ? ro. this field returns the value of the esd.cid field of the chip configuration section. esd.cid is programmed by bios. 15:2 reserved. 1 link type ? ro. hardwired to 0 indicating type 0. 0 link valid ? ro. hardwired to 1. bit description 31:14 link 1 lower address ? ro. hardwired to matc h the rcba register value in the pci-lpc bridge (d31:f0:f0h). 13:0 reserved. bit description 31:0 link 1 upper address ? ro. hardwired to 00000000h. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 728 intel ? ich7 family datasheet 19.2 intel ? high definition audio memory-mapped configuration registers (intel ? high definition audio? d27:f0) the base memory location for these memory mapped configuration registers is specified in the hdbar register (d27:f0 :offset 10h and d27:f0:offset 14h). the individual registers are then accessible at hdbar + offset as indicated in the following table. these memory mapped registers must be acce ssed in byte, word, or dword quantities. table 19-2. intel ? high definition audio pc i register address map (intel ? high definition audio d27:f0) (sheet 1 of 4) hdbar + offset mnemonic register name default access 00h?01h gcap global capabilities 4401h ro 02h vmin minor version 00h ro 03h vmaj major version 01h ro 04h?05h outpay output payload capability 003ch ro 06h?07h inpay input payload capability 001dh ro 08h?0bh gctl global control 00000000h r/w 0ch?0dh wakeen wake enable 0000h r/w 0eh?0fh statests state change status 0000h r/wc 10h?11h gsts global status 0000h r/wc 12h?13h ? reserved 0000h ro 14h?17h ecap extended capabiliti es (mobile/ultra mobile only) 00000001h ro 1 8h?19h outstrmpay output stream payload capability 0030h ro 1ah?1bh instrmpay input stream payload capability 0018h ro 1ch?1fh ? reserved 00000000h ro 20h?23h intctl interrupt control 00000000h r/w 24h?27h intsts interrupt status 00000000h ro 30h?33h walclk wall clock counter 00000000h ro 34h?37h ssync stream synchronization 00000000h r/w 40h?43h corblbase corb lower base address 00000000h r/w, ro 44h?47h corbubase corb upper base address 00000000h r/w 48h?49h corbwp corb write pointer 0000h r/w 4ah?4bh corbrp corb read pointer 0000h r/w 4ch corbctl corb control 00h r/w 4dh corbst corb status 00h r/wc 4eh corbsize corb size 42h ro 50h?53h rirblbase rirb lower base address 00000000h r/w, ro 54h?57h rirbubase rirb upper base address 00000000h r/w free datasheet http://www..net/
intel ? ich7 family datasheet 729 intel? high definition audio controller registers (d27:f0) 58h?59h rirbwp rirb write pointer 0000h r/w, ro 5ah?5bh rintcnt response interrupt count 0000h r/w 5ch rirbctl rirb control 00h r/w 5dh rirbsts rirb status 00h r/wc 5eh rirbsize rirb size 42h ro 60h?63h ic immediate command 00000000h r/w 64h?67h ir immediate response 00000000h ro 68h?69h irs immediate command status 0000h r/w, r/ wc 70h?73h dplbase dma position lower base address 00000000h r/w, ro 74h?77h dpubase dma position upper base address 00000000h r/w 80?82h isd0ctl input stream desc riptor 0 (isd0) control 040000h r/w, ro 83h isd0sts isd0 status 00h r/wc, ro 84h?87h isd0lpib isd0 link position in buffer 00000000h ro 88h?8bh isd0cbl isd0 cyclic buffer length 00000000h r/w 8ch?8dh isd0lvi isd0 last valid index 0000h r/w 8eh?8f isd0fifow isd0 fifo watermark 0004h r/w 90h?91h isd0fifos isd0 fifo size 0077h ro 92h?93h isd0fmt isd0 format 0000h r/w 98h?9bh isd0bdpl isd0 buffer descriptor list pointer- lower base address 00000000h r/w, ro 9ch?9fh isd0bdpu isd0 buffer description list pointer- upper base address 00000000h r/w a0h?a2h isd1ctl input stream desc riptor 1(isd01) control 040000h r/w, ro a3h isd1sts isd1 status 00h r/wc, ro a4h?a7h isd1lpib isd1 link position in buffer 00000000h ro a8h?abh isd1cbl isd1 cyclic buffer length 00000000h r/w ach?adh isd1lvi isd1 last valid index 0000h r/w aeh?afh isd1fifow isd1 fifo watermark 0004h r/w b0h?b1h isd1fifos isd1 fifo size 0077h ro b2?b3h isd1fmt isd1 format 0000h r/w b8?bbh isd1bdpl isd1 buffer descriptor list pointer- lower base address 00000000h r/w, ro bch?bfh isd1bdpu isd1 buffer description list pointer- upper base address 00000000h r/w c0h?c2h isd2ctl input stream desc riptor 2 (isd2) control 040000h r/w, ro table 19-2. intel ? high definition audio pc i register address map (intel ? high definition audio d27:f0) (sheet 2 of 4) hdbar + offset mnemonic register name default access free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 730 intel ? ich7 family datasheet c3h isd2sts isd2 status 00h r/wc, ro ch4?c7h isd2lpib isd2 link position in buffer 00000000h ro c8h?cbh isd2cbl isd2 cyclic buffer length 00000000h r/w cch?cdh isd2lvi isd2 last valid index 0000h r/w ceh?cfh isd1fifow isd1 fifo watermark 0004h r/w d0h?d1h isd2fifos isd2 fifo size 0077h ro d2h?d3h isd2fmt isd2 format 0000h r/w d8h?dbh isd2bdpl isd2 buffer descriptor list pointer- lower base address 00000000h r/w, ro dch?dfh isd2bdpu isd2 buffer descripti on list pointer- upper base address 00000000h r/w e0h?e2h isd3ctl input stream descriptor 3 (isd3) control 040000h r/w, ro e3h isd3sts isd3 status 00h r/wc, ro e4h?e7h isd3lpib isd3 link position in buffer 00000000h ro e8h?ebh isd3cbl isd3 cyclic buffer length 00000000h r/w ech?edh isd3lvi isd3 last valid index 0000h r/w eeh?efh isd3fifow isd3 fifo watermark 0004h r/w f0h?f1h isd3fifos isd3 fifo size 0077h ro f2h?f3h isd3fmt isd3 format 0000h r/w f8h?fbh isd3bdpl isd3 buffer descriptor list pointer- lower base address 00000000h r/w, ro fch?ffh isd3bdpu isd3 buffer descripti on list pointer- upper base address 00000000h r/w 100h?102h osd0ctl output stream descriptor 0 (osd0) control 040000h r/w, ro 103h osd0sts osd0 status 00h r/wc, ro 104h?107h osd0lpib osd0 link position in buffer 00000000h ro 108h?10bh osd0cbl osd0 cyclic buffer length 00000000h r/w 10ch?10dh osd0lvi osd0 last valid index 0000h r/w 10eh?10fh osd0fifow osd0 fifo watermark 0004h r/w 110h?111h osd0fifos osd0 fifo size 00bfh r/w 112?113h osd0fmt osd0 format 0000h r/w 118h?11bh osd0bdpl osd0 buffer descript or list pointer- lower base address 00000000h r/w, ro 11ch?11fh osd0bdpu osd0 buffer descript ion list pointer- upper base address 00000000h r/w 120h?122h osd1ctl output stream descriptor 1 (osd1) control 040000h r/w, ro table 19-2. intel ? high definition audio pc i register address map (intel ? high definition audio d27:f0) (sheet 3 of 4) hdbar + offset mnemonic register name default access free datasheet http://www..net/
intel ? ich7 family datasheet 731 intel? high definition audio controller registers (d27:f0) 123h osd1sts osd1 status 00h r/wc, ro 124h?127h osd1lpib osd1 link position in buffer 00000000h ro 128h?12bh osd1cbl osd1 cyclic buffer length 00000000h r/w 12ch?12dh osd1lvi osd1 last valid index 0000h r/w 12eh?12fh osd1fifow osd1 fifo watermark 0004h r/w 130h?131h osd1fifos osd1 fifo size 00bfh r/w 132h?133h osd1fmt osd1 format 0000h r/w 138h?13bh osd1bdpl osd1 buffer descrip tor list pointer- lower base address 00000000h r/w, ro 13ch?13fh osd1bdpu osd1 buffer descripti on list pointer- upper base address 00000000h r/w 140h?142h osd2ctl output stream descriptor 2 (osd2) control 040000h r/w, ro 143h osd2sts osd2 status 00h r/wc, ro 144h?147h osd2lpib osd2 link position in buffer 00000000h ro 148h?14bh osd2cbl osd2 cyclic buffer length 00000000h r/w 14ch?14dh osd2lvi osd2 last valid index 0000h r/w 14eh?14fh osd2fifow osd2 fifo watermark 0004h r/w 150h?151h osd2fifos osd2 fifo size 00bfh r/w 152h?153h osd2fmt osd2 format 0000h r/w 158h?15bh osd2bdpl osd2 buffer descrip tor list pointer- lower base address 00000000h r/w, ro 15ch?15fh osd2bdpu osd2 buffer descripti on list pointer- upper base address 00000000h r/w 160h?162h osd3ctl output stream descriptor 3 (osd3) control 040000h r/w, ro 163h osd3sts osd3 status 00h r/wc, ro 164h?167h osd3lpib osd3 link position in buffer 00000000h ro 168h?16bh osd3cbl osd3 cyclic buffer length 00000000h r/w 16ch?16dh osd3lvi osd3 last valid index 0000h r/w 16eh?16fh osd3fifow osd3 fifo watermark 0004h r/w 170h?171h osd3fifos osd3 fifo size 00bfh r/w 172h?173h osd3fmt osd3 format 0000h r/w 178h?17bh osd3bdpl osd3 buffer descrip tor list pointer- lower base address 00000000h r/w, ro 17ch?17fh osd3bdpu osd3 buffer descripti on list pointer- upper base address 00000000h r/w table 19-2. intel ? high definition audio pc i register address map (intel ? high definition audio d27:f0) (sheet 4 of 4) hdbar + offset mnemonic register name default access free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 732 intel ? ich7 family datasheet 19.2.1 gcap?global capabilities register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 00h attribute: ro default value: 4401h size: 16 bits 19.2.2 vmin?minor ve rsion register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 02h attribute: ro default value: 00h size: 8 bits 19.2.3 vmaj?major version register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 03h attribute: ro default value: 01h size: 8 bits bit description 15:12 number of output stream supported ? ro. hardwired to 0100b indicating that the intel ? ich7 intel ? high definition audio contro ller supports 4 output streams. 11:8 number of input stream supported ? ro. hardwired to 0100b indicating that the ich7 intel high definition audio cont roller supports 4 input streams. 7:3 number of bidirectional stream supported ? ro. hardwired to 0 indicating that the ich7 intel high definition audio cont roller supports 0 bidirectional stream. 2 reserved. 1 number of serial data out signals ? ro. hardwired to 0 indicating that the ich7 intel high definition audio controller su pports 1 serial data output signal. 0 64-bit address supported ? ro. hardwired to 1b indicating that the ich7 intel high definition audio controller supports 64-bit addressing for bdl addresses, data buffer addressees, and comma nd buffer addresses. bit description 7:0 minor version ? ro. hardwired to 0 indicating that the intel ? ich7 supports minor revision number 00h of the intel ? high definition audio specification. bit description 7:0 major version ? ro. hardwired to 01h indicating that the intel ? ich7 supports major revision number 1 of the intel ? high definition audio specification. free datasheet http://www..net/
intel ? ich7 family datasheet 733 intel? high definition audio controller registers (d27:f0) 19.2.4 outpay?output payloa d capability register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 04h attribute: ro default value: 003ch size: 16 bits 19.2.5 inpay?input payloa d capability register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 06h attribute: ro default value: 001dh size: 16 bits bit description 15:7 reserved. 6:0 output payload capability ? ro. hardwired to 3ch indicating 60 word payload. this field indicates the total output payload available on the link. this does not include bandwidth used for command and control. this measurement is in 16-bit word quantities per 48 mhz frame. the default link clock of 24.000 mhz (the data is double pumped) provides 1000 bits per frame, or 62. 5 words in total. 40 bits are used for command and control, leaving 60 words available for data payload. 00h = 0 word 01h = 1 word payload. ..... ffh = 256 word payload. bit description 15:7 reserved. 6:0 input payload capability ? ro. hardwired to 1dh indicating 29 word payload. this field indicates the total output payload available on the link. this does not include bandwidth used for response. this measurement is in 16-b it word quantities per 48 mhz frame. the default link clock of 24.000 mhz provides 500 bits per frame, or 31.25 words in total. 36 bits are used for resp onse, leaving 29 words available for data payload. 00h = 0 word 01h = 1 word payload. ..... ffh = 256 word payload. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 734 intel ? ich7 family datasheet 19.2.6 gctl?global control register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 08h attribute: r/w default value: 00000000h size: 32 bits bit description 31:9 reserved. 8 accept unsolicited response enable ? r/w. 0 = unsolicited responses from the codecs are not accepted. 1 = unsolicited response from the codecs are accepted by the controller and placed into the response input ring buffer. 7:2 reserved. 1 flush control ? r/w. 0 = flush not in progress. 1 = writing a 1 to this bit initiates a flush. when the flush comple tion is received by the controller, hardware sets the flush status bit and clears this flush control bit. before a flush cycle is initiated, the dma position buffer must be programmed with a valid memory address by software , but the dma position buffer bit 0 needs not be set to enable the position reporting mechanism. also, all streams must be stopped (the associated run bit must be 0). when the flush is initiated, the controller wi ll flush the pipelines to memory to ensure that the hardware is ready to transition to a d3 state. setting this bit is not a critical step in the power state transition if the content of the fifios is not critical. 0 controller reset # ? r/w. 0 = writing a 0 to this bit causes the intel high definition audio co ntroller to be reset. all state machines, fifos, and non-resume well memory mapped configuration registers (not pci configuration registers) in the controller will be reset. the intel high definition audio link reset# signal will be asserted, and all other link signals will be driven to their default values. after the hardware has completed sequencing into the reset state, it will repo rt a 0 in this bit. software must read a 0 from this bit to verify the controller is in reset. 1 = writing a 1 to this bit causes the controller to exit its reset state and deassert the intel high definition audio link reset# signal. software is responsible for setting/ clearing this bit such that the minimum intel high definition audio link reset# signal assertion pulse width specification is met. when the controller hardware is ready to begin operation, it will report a 1 in this bit. software must read a 1 from this bit before accessing any controller re gisters. this bit defaults to a 0 after hardware reset, therefore, software ne eds to write a 1 to this bit to begin operation. notes: 1. the corb/rirb run bits and all stream ru n bits must be verified cleared to 0 before writing a 0 to this bit in order to assure a clean re-start. 2. when setting or clearing this bit, so ftware must ensure that minimum link timing requirements (minimum rese t# assertion time, etc.) are met. 3. when this bit is 0 indicating that the co ntroller is in reset, writes to all intel high definition audio memo ry mapped registers are igno red as if the device is not present. the only exception is this register itself. the global control register is write-able as a dword, word, or byte even when crst# (this bit) is 0 if the byte enable for the byte containing the crst# bit (byte enable 0) is active. if byte enable 0 is not active, wr ites to the global control register will be ignored when crst# is 0. when crst# is 0, reads to intel high definition free datasheet http://www..net/
intel ? ich7 family datasheet 735 intel? high definition audio controller registers (d27:f0) 19.2.7 wakeen?wake enable register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 0ch attribute: r/w default value: 0000h size: 16 bits 19.2.8 statests?state change status register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 0eh attribute: r/wc default value: 0000h size: 16 bits bit description 15:3 reserved. 2:0 sdin wake enable flags ? r/w. these bits control which sdi signal(s) may generate a wake event. a 1b in the bit mask indicates that the associated sdin signal is enabled to generate a wake. bit 0 is used for sdi0 bit 1 is used for sdi1 bit 2 is used for sdi2 note: these bits are in the resume well an d only cleared on a power on reset. software must not make as sumptions about the reset state of these bits and must set them appropriately. bit description 15:3 reserved. 2:0 sdin state change status flags ? r/wc. flag bits that in dicate which sdi signal(s) received a state change event. the bits are cleared by writing 1?s to them. bit 0 = sdi0 bit 1 = sdi1 bit 2 = sdi2 note: these bits are in the resume well an d only cleared on a power on reset. software must not make as sumptions about the reset state of these bits and must set them appropriately. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 736 intel ? ich7 family datasheet 19.2.9 gsts?global status register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 10h attribute: r/wc default value: 0000h size: 16 bits bit description 15:4 reserved. 3 (desktop /ultra mobile only) reserved 3 (mobile only) dock mated interrupt status (dmis) ? rw/c. 0 = software clears this bit by writing a 1 to it. 1 = dock mating or unmating process has completed. for the do cking process, it indicates that dock is electrically conn ected and that softwa re may detect and enumerate the docked codecs. for the undocking process, it indicates that the dock is electrically isolated and that software may report to the user that physical undocking may commence. this bit gets set to a 1 by hardware when the dm bit transitions from 0-to-1 (docking) or from 1-to-0 (undocking). note that this bit is set regardless of the st ate of the dmie bit. 2 (desktop /ultra mobile only) reserved 2 (mobile only) dock mated (dm) ? ro. this bit effectively comm unicates to software that an intel ? hd audio docked codec is physic ally and electrically attached. 0 = controller hardware sets this bit to 0 after the undocking sequence triggered by writing a 0 to the dock attach (gctl.da) bit is completed (dock_en# deasserted). this bit indicates to soft ware that the docked codec(s) may be physically undocked. 1 = controller hardware sets this bit to 1 after the docking se quence triggered by writing a 1 to the dock attach (gctl.da) bit is completed (az_dock_rst# deassertion). this bit indi cates to software that th e docked codec(s) may be discovered via the statests register and then enumerated. 1 flush status ? r/wc. 0 = flush not completed 1 = this bit is set to 1 by hardware to indicate that the flush cycle initiated when the flush control bit (hdbar + 08h, bit 1) was set has completed. note: software must write a 1 to clear this bi t before the next time the flush control bit is set to clear the bit. 0 reserved. free datasheet http://www..net/
intel ? ich7 family datasheet 737 intel? high definition audio controller registers (d27:f0) 19.2.10 ecap?extende d capabilities (intel ? high definition audio controller?d27:f0) memory address:hdbar + 14h attribute: r/wo default value: 00000001h size: 32 bits 19.2.11 outstrmpay?output st ream payload capability (intel ? high definition audio controller?d27:f0) memory address:hdbar + 18h attribute: ro default value: 0030h size: 16 bits bit description 31:1 reserved 0 (mobile only) docking supported (ds) ? r/wo. a 1 indicates that intel ? ich7 supports intel ? hd audio docking. the gctl.da bit is only writable when this ds bit is 1. intel hd audio driver software should only branch to its do cking routine when this ds bit is 1. bios may clear this bit to 0 to prohibit the inte l hd audio driver software from attempting to run the docking routines. note: this bit is reset to its default value on ly on a pltrst#, but not on a crst# or d3hot-to-d0 transition. bit description 15:14 output fifo padding type (opadtype) ? ro. this field indicates how the controller pads the samples in the controller 's buffer (fifo). controllers may not pad at all or may pad to byte or memory container sizes. 0h = controller pads all samples to bytes 1h = reserved 2h = controller pads to memory container size 3h = controller does not pa d and uses samples directly 13:0 output stream payload ca pability (outstrmpay) ? ro. this field indicates maximum number of words per frame for any single output stream . this measurement is in 16 bit word quantities per 48 khz frame. the maximum supported is 48 words (96b); therefore, a value of 30h is reported in this register. the value does not specify the number of words actually transmitted in the frame, but is the size of the data in the controller buffer (fifo) after the samples are padded as specified by opadtype. thus, to compute the supported streams, each sa mple is padded according to opadtype and then multiplied by the number of channels and samples per frame. if this computed value is larger than outstrmpay, then that stream is not supported. the value specified is not affected by striping. software must ensure that a format that would ca use more words per frame than indicated is not programmed into the output stream descriptor register. the value may be larger than the outpay register value in some cases. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 738 intel ? ich7 family datasheet 19.2.12 instrmpay?input st ream payload capability (intel ? high definition audio controller?d27:f0) memory address:hdbar + 1ah attribute: ro default value: 0018h size: 16 bits bit description 15:14 input fifo padding type (ipadtype) ? ro. this field indicates how the controller pads the samples in the controller's buffer (f ifo). controllers may not pad at all or may pad to byte or memory container sizes. 0h = controller pads all samples to bytes 1h = reserved 2h = controller pads to memory container size 3h = controller does not pa d and uses sa mples directly 13:0 input stream payload capability (instrmpay) ? ro. this field indicates the maximum number of words per frame for any si ngle input stream. this measurement is in 16-bit word quantities per 48-khz frame. the maximum supported is 24 words (48b); therefore, a value of 18h is reported in this register. the value does not specify the number of words actually transmitted in the frame, but is the size of the data as it will be plac ed into the controller's buffer (fifo). thus, samples will be padded according to ipadty pe before being stored into controller buffer. to compute the suppo rted streams, each sample is padded according to ipadtype and then multiplied by the number of channels and samples per frame. if this computed value is larger than instrmpay, then that stream is not supported. as the inbound stream tag is not stored with the sa mples it is not included in the word count. the value may be larger than inpay register value in some cases, although values less than inpay may also be invalid due to overhe ad. software must ensure that a format that would cause more words per frame th an indicated is not programmed into the input stream descriptor register. free datasheet http://www..net/
intel ? ich7 family datasheet 739 intel? high definition audio controller registers (d27:f0) 19.2.13 intctl?interrupt control register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 20h attribute: r/w default value: 00000000h size: 32 bits bit description 31 global interrupt enable (gie) ? r/w. global bit to en able device interrupt generation. 0 = disable. 1 = enable. the intel ? high definition audio function is enabled to generate an interrupt. this control is in addition to an y bits in the bus spec ific address space, such as the interrupt enable bi t in the pci configuration space. note: this bit is not affected by the d3 hot to d0 transition. 30 controller interrupt enable (cie) ? r/w. enables the general interrupt for controller functions. 0 = disable. 1 = enable. the controller generates an in terrupt when the corresponding status bit gets set due to a response interrupt, a response buffer overrun, and state change events. note: this bit is not affected by the d3 hot to d0 transition. 29:8 reserved 7:0 stream interrupt enable (sie) ? r/w. 0 = disable. 1 = enable. when set to 1, th e individual streams are enable d to generate an interrupt when the corresponding status bits get set. a stream interrupt will be caused as a resu lt of a buffer with ioc = 1in the bdl entry being completed, or as a result of a fifo error (underrun or ove rrun) occurring. control over the generation of each of these source s is in the associated stream descriptor. the streams are numbered and the sie bits as signed sequentially, based on their order in the register set. bit 0 = input stream 1 bit 1 = input stream 2 bit 2 = input stream 3 bit 3 = input stream 4 bit 4 = output stream 1 bit 5 = output stream 2 bit 6 = output stream 3 bit 7 = output stream 4 free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 740 intel ? ich7 family datasheet 19.2.14 intsts?interrupt status register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 24h attribute: ro default value: 00000000h size: 32 bits bit description 31 global interrupt status (gis) ? ro. this bit is an or of all the interrupt status bits in this register. note: this bit is not affected by the d3 hot to d0 transition. 30 controller interrupt status (cis) ? ro. status of genera l controller interrupt. 0 = an interrupt condition did not occur as described below. 1 = an interrupt condition occurred due to a response interrupt, a response buffer overrun interrupt, or a sdin state ch ange event. the exact cause can be determined by interrogating other registers. this bit is an or of all of the stated interrupt status bits for this register. notes: 1. this bit is set regardless of the state of the corresponding interrupt enable bit, but a hardware interrupt will not be ge nerated unless the corresponding enable bit is set. 2. this bit is not affected by the d3 hot to d0 transition. 29:8 reserved 7:0 stream interrup t status (sis) ? ro. 0 = an interrupt condition did not occur on the corre sponding stream. 1 = an interrupt condition occurred on the corresp onding stream. this bit is an or of all of the stream?s inte rrupt status bits. note: these bits are set regardless of the stat e of the corresponding interrupt enable bits. the streams are numbered and the sie bits a ssigned sequentially, based on their order in the register set. bit 0 = input stream 1 bit 1 = input stream 2 bit 2 = input stream 3 bit 3 = input stream 4 bit 4 = output stream 1 bit 5 = output stream 2 bit 6 = output stream 3 bit 7 = output stream 4 free datasheet http://www..net/
intel ? ich7 family datasheet 741 intel? high definition audio controller registers (d27:f0) 19.2.15 walclk?wall cloc k counter register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 30h attribute: ro default value: 00000000h size: 32 bits 19.2.16 ssync?stream synchronization register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 34h attribute: r/w default value: 00000000h size: 32 bits bit description 31:0 wall clock counter ? ro. this 32-bit counter field is incremented on each link bclk period and rolls over from ffff ffffh to 0000 0000h. this counter will roll over to 0 with a period of approximately 179 seconds. this counter is enabled while the bclk bit is set to 1. software uses this counter to synchronize between multiple controllers. will be reset on controller reset. bit description 31:8 reserved 7:0 stream synchronization (ssync) ? r/w. 0 = data is not blocked from being sent on or received from the link 1 = the set bits block data from being sent on or receiv ed from the link. each bit controls the associated stream descriptor (i.e., bit 0 corresponds to the first stream descriptor, etc.) to synchronously start a set of dma engines, these bits are first set to 1. the run bits for the associated stream descriptors are then set to 1 to start the dma engines. when all streams are ready (fifordy =1), the associated ssync bits can all be set to 0 at the same time, and transmission or receptio n of bits to or from the link will begin together at the start of the next full link frame. to synchronously stop the streams, first these bits are set, and then the individual run bits in the stream descripto r are cleared by software. if synchronization is not desired, these bits ma y be left as 0, and th e stream will simply begin running normally when the stream?s run bit is set. the streams are numbered and the sie bits as signed sequentially, based on their order in the register set. bit 0 = input stream 1 bit 1 = input stream 2 bit 2 = input stream 3 bit 3 = input stream 4 bit 4 = output stream 1 bit 5 = output stream 2 bit 6 = output stream 3 bit 7 = output stream 4 free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 742 intel ? ich7 family datasheet 19.2.17 corblbase?corb lowe r base address register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 40h attribute: r/w, ro default value: 00000000h size: 32 bits 19.2.18 corbubase?corb uppe r base address register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 44h attribute: r/w default value: 00000000h size: 32 bits 19.2.19 corbwp?corb write pointer register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 48h attribute: r/w default value: 0000h size: 16 bits bit description 31:7 corb lower base address ? r/w. this field is the lower address of the command output ring buffer, allowing the corb ba se address to be assigned on any 128-b boundary. this register field must not be written when the dma engine is running or the dma transfer may be corrupted. 6:0 corb lower base unimplemented bits ? ro. hardwired to 0. this requires the corb to be allocated with 128b granularity to allow for cache line fetch optimizations. bit description 31:0 corb upper base address ? r/w. this field is the uppe r 32 bits of the address of the command output ring buffer. this register field must not be written when the dma engine is running or the dm a transfer may be corrupted. bit description 15:8 reserved. 7:0 corb write pointer ? r/w. software writes the last valid corb entry offset into this field in dword granularity. the dma engine fetches commands from the corb until the read pointer matches the write pointer. supports 256 corb entries (256x4b = 1kb). this register field may be writte n when the dma engine is running. free datasheet http://www..net/
intel ? ich7 family datasheet 743 intel? high definition audio controller registers (d27:f0) 19.2.20 corbrp?corb read pointer register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 4ah attribute: r/w default value: 0000h size: 16 bits 19.2.21 corbctl?corb control register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 4ch attribute: r/w default value: 00h size: 8 bits bit description 15 corb read pointer reset ? r/w. software writes a 1 to this bit to reset the corb read pointer to 0 and clear any residual pr efetched commands in the corb hardware buffer within the intel ? high definition audio controller . the hardware will physically update this bit to 1 when th e corb pointer reset is comple te. software must read a 1 to verify that the reset comp leted correctly. softwa re must clear this bit back to 0 and read back the 0 to verify that the clea r completed correctly. the corb dma engine must be stopped prior to resetting the re ad pointer or else dma transfer may be corrupted. 14:8 reserved. 7:0 corb read pointer (corbrp) ? ro. software reads this field to determine how many commands it can write to the corb without over-running. the value read indicates the corb read pointer offset in dword granularit y. the offset entry read from this field has been successfully fetched by the dma contro ller and may be over-w ritten by software. supports 256 corb entries (256 x 4b=1kb). this field may be read while the dma engine is running. bit description 7:2 reserved. 1 enable corb dma engine ? r/w. after software writes a 0 to this bit, the hardware may not stop immediately. the hardware will physically update the bit to 0 when the dma engine is truly stopped. software must read a 0 from th is bit to verify that the dma engine is truly stopped. 0 = dma stop 1 = dma run 0 corb memory error interrupt enable ? r/w. 0 = disable. 1 = enable. the controller will generate an interrupt if the cmei status bit (hdbar + 4dh: bit 0) is set. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 744 intel ? ich7 family datasheet 19.2.22 corbst?corb status register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 4dh attribute: r/wc default value: 00h size: 8 bits 19.2.23 corbsize?cor b size register intel ? high definition audio controller?d27:f0) memory address:hdbar + 4eh attribute: ro default value: 42h size: 8 bits 19.2.24 rirblbase?rirb lower base address register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 50h attribute: r/w, ro default value: 00000000h size: 32 bits bit description 7:1 reserved. 0 corb memory error indication (cmei) ? r/wc. 0 = error not detected. 1 = the controller has detected an error in the path way between the controller and memory. this may be an ecc bit error or any other type of de tectable data error which renders the command data fetched invalid. note: software can clear this bit by writing a 1 to it. however, this type of error leaves the audio subsystem in an un-viable stat e and typically requires a controller reset by writing a 0 to the controller reset # bit (hdbar + 08h: bit 0). bit description 7:4 corb size capability ? ro. hardwired to 0100b indicating that the ich7 only supports a corb size of 256 corb entries (1024b). 3:2 reserved. 1:0 corb size ? ro. hardwired to 10b which sets the corb size to 256 entries (1024b). bit description 31:7 rirb lower base address ? r/w. this field is the lo wer address of the response input ring buffer, allowing the rirb base address to be assigned on any 128-b boundary. this register field must not be written when the dma engine is running or the dma transfer may be corrupted. 6:0 rirb lower base unimplemented bits ? ro. ha rdwired to 0. this required the rirb to be allocated with 128-b granularity to allow for cache line fetch optimizations. free datasheet http://www..net/
intel ? ich7 family datasheet 745 intel? high definition audio controller registers (d27:f0) 19.2.25 rirbubase?rirb upper base address register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 54h attribute: r/w default value: 00000000h size: 32 bits 19.2.26 rirbwp?rirb writ e pointer register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 58h attribute: r/w, ro default value: 0000h size: 16 bits bit description 31:0 rirb upper base address ? r/w. this field is the upper 32 bits of the address of the response input ring buffer. this register field must not be written when the dma engine is running or the dm a transfer may be corrupted. bit description 15 rirb write pointer reset ? r/w. software writes a 1 to this bit to reset the rirb write pointer to 0. the rirb dma engine mu st be stopped prior to resetting the write pointer or else dma transfer may be corrupted. this bit is always read as 0. 14:8 reserved. 7:0 rirb write pointer (rirbwp) ? ro. this field is the indicates the last valid rirb entry written by the dma controller. software reads this field to determine how many responses it can read from the rirb. the va lue read indicates the rirb write pointer offset in 2 dword rirb entry units (since ea ch rirb entry is 2 dwords long). supports up to 256 rirb entries (256 x 8 b = 2 kb). this register field may be written when the dma engine is running. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 746 intel ? ich7 family datasheet 19.2.27 rintcnt?response in terrupt count register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 5ah attribute: r/w default value: 0000h size: 16 bits 19.2.28 rirbctl?rirb control register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 5ch attribute: r/w default value: 00h size: 8 bits bit description 15:8 reserved. 7:0 n response interrupt count ? r/w. 0000 0001b = 1 response sent to rirb ........... 1111 1111b = 255 responses sent to rirb 0000 0000b = 256 responses sent to rirb the dma engine should be stopped when changi ng this field or else an interrupt may be lost. note that each response occupies 2 dwords in the rirb. this is compared to the total number of resp onses that have been returned, as opposed to the number of frames in which there were responses. if more than one codec responds in one frame, th en the count is increased by the number of responses received in the frame. bit description 7:3 reserved. 2 response overrun interrupt control ? r/w. 0 = hardware will not generated an interrupt as described below. 1 = the hardware will generate an interru pt when the response overrun interrupt status bit (hdbar + 5dh: bit 2) is set. 1 enable rirb dma engine ? r/w. after software writes a 0 to this bit, the hardware may not stop immediately. the hardware will physically update the bit to 0 when the dma engine is truly stopped. software must read a 0 from this bit to verify that the dma engine is truly stopped. 0 = dma stop 1 = dma run 0 response interrupt control ? r/w. 0 = disable interrupt 1 = generate an interrupt after n number of responses are sent to the rirb buffer or when an empty response slot is encountered on all sdi[x] inputs (whichever occurs first). the n counter is rese t when the interrupt is generated. free datasheet http://www..net/
intel ? ich7 family datasheet 747 intel? high definition audio controller registers (d27:f0) 19.2.29 rirbsts?rirb status register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 5dh attribute: r/wc default value: 00h size: 8 bits 19.2.30 rirbsize?rir b size register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 5eh attribute: ro default value: 42h size: 8 bits 19.2.31 ic?immediate command register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 60h attribute: r/w default value: 00000000h size: 32 bits bit description 7:3 reserved. 2 response overrun interrupt status ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = software sets this bit to 1 when the rirb dma engine is not able to write the incoming responses to memory before a dditional incoming responses overrun the internal fifo. when the ove rrun occurs, the hardware will drop the responses that overrun the buffer. an interrupt may be generated if the response overrun interrupt control bit is set. note that this status bit is set even if an interrupt is not enabled for this event. 1 reserved. 0 response interrupt ? r/wc. 0 = software clears this bit by writing a 1 to it. 1 = hardware sets this bit to 1 when an in terrupt has been gene rated after n number of responses are sent to the rirb buffe r or when an empty response slot is encountered on all sdi[x] inputs (whichever occurs first). note th at this status bit is set even if an interrupt is not enabled for this event. bit description 7:4 rirb size capability ? ro. hardwired to 0100 b indicating that th e ich7 only supports a rirb size of 256 rirb entries (2048b) 3:2 reserved. 1:0 rirb size ? ro. hardwired to 10b which sets the corb size to 256 entries (2048b) bit description 31:0 immediate command write ? r/w . the command to be sent to the codec via the immediate command mechanism is written to this register. the command stored in this register is sent out ov er the link during the next availa ble frame after a 1 is written to the icb bit (hdbar + 68h: bit 0) free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 748 intel ? ich7 family datasheet 19.2.32 ir?immediate response register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 64h attribute: ro default value: 00000000h size: 32 bits 19.2.33 irs?immediate comm and status register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 68h attribute: r/w, r/wc default value: 0000h size: 16 bits bit description 31:0 immediate response read (irr) ? ro. this register contains th e response received from a codec resulting from a command se nt via the immediate command mechanism. if multiple codecs responded in the same time, there is no assurance as to which response will be latched. therefore, broa dcast-type commands must not be issued via the immediate command mechanism. bit description 15:2 reserved. 1 immediate result valid (irv) ? r/wc. 0 = software must clear this bit by writing a 1 to it before issuing a new command so that the software may determine when a new response has arrived. 1 = set to 1 by hardware when a new response is latched into the immediate response register (hdbar + 64). this is a status flag indicating that software may read the response from the immedi ate response register. 0 immediate command busy (icb) ? r/w. when this bit is read as 0, it indicates that a new command may be issued using the immediate command mechanism. when this bit transitions from 0-to-1 (via software writing a 1), the controller issues the command currently stored in the imme diate command register to th e codec over the link. when the corresponding response is latched in to the immediate response register, the controller hardware sets the irv flag and clears the icb bit back to 0. note: an immediate command must not be issued while the corb/rirb mechanism is operating, otherwise the responses conflict. this must be enforced by software. free datasheet http://www..net/
intel ? ich7 family datasheet 749 intel? high definition audio controller registers (d27:f0) 19.2.34 dplbase?dma position lo wer base address register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 70h attribute: r/w, ro default value: 00000000h size: 32 bits 19.2.35 dpubase?dma position up per base address register (intel ? high definition audio controller?d27:f0) memory address:hdbar + 74h attribute: r/w default value: 00000000h size: 32 bits bit description 31:7 dma position lower base address ? r/w. lower 32 bits of the dma position buffer base address. this register field must not be written when any dma engine is running or the dma transfer may be corrupted. this same address is used by the flush control and must be programmed with a valid value before the flush control bit (hdbar+08h:bit 1) is set. 6:1 dma position lower base unim plemented bits ? ro. hardwired to 0 to force the 128- byte buffer alignment for cach e line write optimizations. 0 dma position buffer enable ? r/w. 0 = disable. 1 = enable. the controller will write the dma positions of each of the dma engines to the buffer in the main memory periodically (typically on ce per frame). software can use this value to dtermine what data in memory is valid data. bit description 31:0 dma position upper base address ? r/w. upper 32 bits of the dma position buffer base address. this register field must not be written when any dma engine is running or the dma transfer may be corrupted. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 750 intel ? ich7 family datasheet 19.2.36 sdctl?stream descri ptor control register (intel ? high definition audio controller?d27:f0) memory address:input stream[0]: hdbar + 80h attribute: r/w, ro input stream[1]: hdbar + a0h input stream[2]: hdbar + c0h input stream[3]: hdbar + e0h output stream[0]: hdbar + 100h output stream[1]: hdbar + 120h output stream[2]: hdbar + 140h output stream[3]: hdbar + 160h default value: 040000h size: 24 bits bit description 23:20 stream number ? r/w. this value reflects the tag associated with the data being transferred on the link. when data controlled by this descriptor is sent out over the link, it will have its stream number encoded on the sync signal. when an input stream is dete cted on any of the sdi signals that match this value, the data samples are loaded into fifo associated with this descriptor. note that while a single sdi input may contain data from more than one stream number, two different sdi inputs may not be configured with the same stream number. 0000 = reserved 0001 = stream 1 ........ 1110 = stream 14 1111 = stream 15 19 bidirectional direction contro l ? ro. this bit is only meaningful for bidirectional streams; therefore, this bit is hardwired to 0. 18 (desktop and mobile only) traffic priority ? ro. hardwired to 1 indicati ng that all streams wi ll use vc1 if it is enabled through the pci express* registers. 18 (ultra mobile only) reserved 17:16 stripe control ? ro. this bit is only mean ingful for input stream s; therefore, this bit is hardwired to 0. 15:5 reserved 4 descriptor error interrupt enable ? r/w. 0 = disable 1 = an interrupt is generated when th e descriptor error status bit is set. 3 fifo error interrupt enable ? r/w. 0 = disable. 1 = enable. this bit controls whether the occurrence of a fifo error (overrun for input or underrun for output) will cause an interrupt or not. if this bit is not set, bit 3 in the status register will be set, but the interrupt will not occur. either way, the samp les will be dropped. free datasheet http://www..net/
intel ? ich7 family datasheet 751 intel? high definition audio controller registers (d27:f0) 2 interrupt on completion enable ? r/w. 0 = disable. 1 = enable. this bit controls whether or not an interrupt occu rs when a buffer completes with the ioc bit set in its descriptor. if this bit is not set, bit 2 in the status register will be set, but the interrupt will not occur. 1 stream run (run) ? r/w. 0 = disable. the dma engine associated with this input stream will be disabled. the hardware will report a 0 in this bit when the dma engine is actually stopped. software mu st read a 0 from this bit before modifying related control registers or restarting the dma engine. 1 = enable. the dma engine associated with this input stream will be enabled to transfer data from the fifo to the main memory. the ssync bit must also be cleared in order for the dma engine to run. for output st reams, the cadence generator is reset whenever the run bit is set. 0 stream reset (srst) ? r/w. 0 = writing a 0 causes the corresponding st ream to exit reset. when the stream hardware is ready to begin operation, it will report a 0 in this bit. software must read a 0 from this bit before ac cessing any of the stream registers. 1 = writing a 1 causes the correspondin g stream to be re set. the stream descriptor registers (except the srst bit itself) and fifo?s for the corresponding stream are reset. afte r the stream hardware has completed sequencing into the reset state, it will report a 1 in this bit. software must read a 1 from this bit to verify that the stream is in reset. the run bit must be cleared before srst is asserted. bit description free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 752 intel ? ich7 family datasheet 19.2.37 sdsts?stream descri ptor status register (intel ? high definition audio controller?d27:f0) memory address:input stream[0 ]: hdbar + 83h attribute: r/wc, ro input stream[1]: hdbar + a3h input stream[2]: hdbar + c3h input stream[3]: hdbar + e3h output stream[0]: hdbar + 103h output stream[1]: hdbar + 123h output stream[2]: hdbar + 143h output stream[3]: hdbar + 163h default value: 00h size: 8 bits bit description 7:6 reserved. 5 fifo ready (fifordy) ? ro. for output streams, th e controller hardware will set th is bit to 1 while the output dma fifo contains enough data to maintain the st ream on the link. this bit defaults to 0 on reset because the fifo is cleared on a reset. for input streams, the co ntroller hardware will set this bit to 1 when a valid descriptor is loaded and the engine is ready for the run bit to be set. 4 descriptor error ? r/wc. 0 = no error detected. 1 = a serious error occurred duri ng the fetch of a descriptor. this could be a result of a master abort, a parity or ecc error on the bus, or any other error which renders the current buffer descriptor or buffer descri ptor list useless. this error is treated as a fatal stream error, as the stream cann ot continue running. the run bit will be cleared and the stream will stop. note: software may attempt to restart the stre am engine after addressing the cause of the error and writing a 1 to this bit to clear it. 3 fifo error ? r/wc. the bit is cleare d by writing a 1 to it. 0 = no error detected. 1 = fifo error occurred. this bit is set even if an interrupt is not enabled. for an input stream, this indicates a fifo overrun occurring while the run bit is set. when this happens, the fifo pointers do no t increment and the incoming data is not written into the fifo, thereby being lost. for an output stream, this indicates a fifo underrun when there are still buffers to send. the hardware should not transmit anythi ng on the link for the associated stream if there is not valid data to send. 2 buffer completion interrupt status ? r/wc. 0 = last sample of a buffer has not been processed as described below. 1 = set to 1 by the hardware after the last sample of a buffer has been processed, and if the interrupt on completion bit is set in the command byte of the buffer descriptor. it remains active until soft ware clears it by writing a 1 to it. 1:0 reserved. free datasheet http://www..net/
intel ? ich7 family datasheet 753 intel? high definition audio controller registers (d27:f0) 19.2.38 sdlpib?stream descriptor link position in buffer register (intel ? high definition audio controller?d27:f0) memory address:input stream[0]: hdbar + 84h attribute:ro input stream[1]: hdbar + a4h input stream[2]: hdbar + c4h input stream[3]: hdbar + e4h output stream[0]: hdbar + 104h output stream[1]: hdbar + 124h output stream[2]: hdbar + 144h output stream[3]: hdbar + 164h default value: 00000000h size: 32 bits 19.2.39 sdcbl?stream de scriptor cyclic buffer length register (intel ? high definition audio controller?d27:f0) memory address:input stream[0]: hdbar + 88h attribute: r/w input stream[1]: hdbar + a8h input stream[2]: hdbar + c8h input stream[3]: hdbar + e8h output stream[0]: hdbar + 108h output stream[1]: hdbar + 128h output stream[2]: hdbar + 148h output stream[3]: hdbar + 168h default value: 00000000h size: 32 bits bit description 31:0 link position in buffer ? ro. indicates the number of bytes that have been received off the link. this register will co unt from 0 to the value in the cyclic buffer length register and then wrap to 0. bit description 31:0 cyclic buffer length ? r/w. indicates the number of bytes in the complete cyclic buffer. this register represen ts an integer number of samp les. link position in buffer will be reset when it reaches this value. software may only write to this register after global reset, controller reset, or stream reset has occurred. this value should be only modified when the run bit is 0. once the run bit has been set to enable the engine, software must not write to this register until after the next reset is asserted , or transfer may be corrupted. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 754 intel ? ich7 family datasheet 19.2.40 sdlvi?stream descriptor last valid index register (intel ? high definition audio controller?d27:f0) memory address:input stream [0]: hdbar + 8ch attribute: r/w input stream[1]: hdbar + ach input stream[2]: hdbar + cch input stream[3]: hdbar + ech output stream[0]: hdbar + 10ch output stream[1]: hdbar + 12ch output stream[2]: hdbar + 14ch output stream[3]: hdbar + 16ch default value: 0000h size: 16 bits 19.2.41 sdfifow?stream descript or fifo watermark register (intel ? high definition audio controller?d27:f0) memory address:input stream [0]: hdbar + 8eh attribute: r/w input stream[1]: hdbar + aeh input stream[2]: hdbar + ceh input stream[3]: hdbar + eeh output stream[0]: hdbar + 10eh output stream[1]: hdbar + 12eh output stream[2]: hdbar + 14eh output stream[3]: hdbar + 16eh default value: 0004h size: 16 bits bit description 15:8 reserved. 7:0 last valid index ? r/w. the value written to this re gister indicates the index for the last valid buffer descript or in bdl. after the controller has processed this descriptor, it will wrap back to the first descriptor in the list and continue processing. this field must be at least 1 (i.e., there must be at least 2 valid entries in the buffer descriptor list before dm a operations can begin). this value should only be mo dified when the run bit is 0. bit description 15:3 reserved. 2:0 fifo watermark (fifow) ? r/w. this field indicates the minimum number of bytes accumulated/free in the fifo be fore the controller will star t a fetch/eviction of data. 010 = 8b 011 = 16b 100 = 32b (default) others = unsupported notes: 1. when the bit field is programmed to an unsupported size, the hardware sets itself to the default value. 2. software must read the bit field to test if the value is supported after setting the bit field. free datasheet http://www..net/
intel ? ich7 family datasheet 755 intel? high definition audio controller registers (d27:f0) 19.2.42 sdfifos?stream descri ptor fifo size register (intel ? high definition audio controller?d27:f0) memory address:input stream[0]: hdbar + 90h attribute: input: ro input stream[1]: hdbar + b0h output: r/w input stream[2]: hdbar + d0h input stream[3]: hdbar + f0h output stream[0]: hdbar + 110h output stream[1]: hdbar + 130h output stream[2]: hdbar + 150h output stream[3]: hdbar + 170h default value: input stream: 0077h size: 16 bits output stream: 00bfh bit description 15:8 reserved. 7:0 fifo size ? ro (input stream), r/w (output stream). this field indicates the maximum number of bytes that co uld be fetched by the contro ller at one time. this is the maximum number of bytes that may have been dma?d into memory but not yet transmitted on the link, and is also the maximum possible value that the picb count will increase by at one time. the value in this field is diffe rent for input and output stream s. it is also dependent on the bits per samples setting for the corresponding stream. following are the values read/written from/to this register for in put and output streams, and for non-padded and padded bit formats: output stream r/w value : notes: 1. all other values not listed are not supported. 2. when the output stream is programmed to an unsupported size, the hardware sets itself to the default value (bfh). 3. software must read the bit field to test if the value is supported after setting the bit field. input stream ro value : note: the default value is different for input and output streams, and reflects the default state of the bits fi elds (in stream descriptor format registers) for the corresponding stream. value output streams 0fh = 16b 8, 16, 20, 24, or 32 bit output streams 1fh = 32b 8, 16, 20, 24, or 32 bit output streams 3fh = 64b 8, 16, 20, 24, or 32 bit output streams 7fh = 128b 8, 16, 20, 24, or 32 bit output streams bfh = 192b 8, 16, or 32 bit output streams ffh = 256b 20, 24 bit output streams value input streams 77h = 120b 8, 16, 32 bit input streams 9fh = 160b 20, 24 bit input streams free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 756 intel ? ich7 family datasheet 19.2.43 sdfmt?stream descri ptor format register (intel ? high definition audio controller?d27:f0) memory address:input stream[0]: hdbar + 92h attribute: r/w input stream[1]: hdbar + b2h input stream[2]: hdbar + d2h input stream[3]: hdbar + f2h output stream[0]: hdbar + 112h output stream[1]: hdbar + 132h output stream[2]: hdbar + 152h output stream[3]: hdbar + 172h default value: 0000h size: 16 bits bit description 15 reserved. 14 sample base rate ? r/w 0 = 48 khz 1 = 44.1 khz 13:11 sample base rate multiple ? r/w 000 = 48 khz, 44.1 khz or less 001 = x2 (96 khz, 88.2 khz, 32 khz) 010 = x3 (144 khz) 011 = x4 (192 khz, 176.4 khz) others = reserved. 10:8 sample base rate divisor ? r/w. 000 = divide by 1(48 khz, 44.1 khz) 001 = divide by 2 (24 khz, 22.05 khz) 010 = divide by 3 (16 khz, 32 khz) 011 = divide by 4 (11.025 khz) 100 = divide by 5 (9.6 khz) 101 = divide by 6 (8 khz) 110 = divide by 7 111 = divide by 8 (6 khz) 7 reserved. 6:4 bits per sample (bits) ? r/w. 000 = 8 bits. the data will be packed in memory in 8-bit co ntainers on 16-bit boundaries 001 = 16 bits. the data will be packed in memory in 16-bit qu antities on 16-bit boundaries 010 = 20 bits. the data will be packed in memory in 32-bit qu antities on 32-bit boundaries 011 = 24 bits. the data will be packed in memory in 32-bit qu antities on 32-bit boundaries 100 = 32 bits. the data will be packed in memory in 32-bit qu antities on 32-bit boundaries others = reserved. 3:0 number of channels (chan) ? r/w. indicates number of channels in each frame of the stream. 0000 =1 0001 =2 ........ 1111 =16 free datasheet http://www..net/
intel ? ich7 family datasheet 757 intel? high definition audio controller registers (d27:f0) 19.2.44 sdbdpl?stream descriptor b uffer descriptor list pointer lower base address register (intel ? high definition audio controller?d27:f0) memory address:input stream[0]: hdbar + 98h attribute: r/w,ro input stream[1]: hdbar + b8h input stream[2]: hdbar + d8h input stream[3]: hdbar + f8h output stream[0]: hdbar + 118h output stream[1]: hdbar + 138h output stream[2]: hdbar + 158h output stream[3]: hdbar + 178h default value: 00000000h size: 32 bits 19.2.45 sdbdpu?stream descriptor b uffer descriptor list pointer upper base address register (intel ? high definition audio controller?d27:f0) memory address:input stream[0]: hdbar + 9ch attribute: r/w input stream[1]: hdbar + bch input stream[2]: hdbar + dch input stream[3]: hdbar + fch output stream[0]: hdbar + 11ch output stream[1]: hdbar + 13ch output stream[2]: hdbar + 15ch output stream[3]: hdbar + 17ch default value: 00000000h size: 32 bits bit description 31:7 buffer descriptor list po inter lower ba se address ? r/w. this field is the lower address of the buffer descriptor list. this va lue should only be modified when the run bit is 0, or dma transfer may be corrupted. 6:0 hardwired to 0 forcing al ignment on 128-b boundaries. bit description 31:0 buffer descriptor list po inter upper base address ? r/w. this field is the upper 32-bit address of the buffer de scriptor list. this value shou ld only be modified when the run bit is 0, or dma transfer may be corrupted. free datasheet http://www..net/
intel? high definition audi o controller registers (d27:f0) 758 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 759 high precision event timer registers 20 high precision event timer registers the timer registers are memory-mapped in a non-indexed scheme. this allows the processor to directly access each register without having to use an index register. the timer register space is 1024 bytes. the registers are generally aligned on 64-bit boundaries to simplify implementation with ia64 processors. there are four possible memory address ranges beginning at 1) fed0_0000h, 2) fed0_1000h, 3) fed0_2000h., 4) fed0_4000h. the choice of address range will be selected by configuration bits in the high precision timer configuration register (chipset configuration registers:offset 3404h). behavioral rules: 1. software must not attempt to read or write across register boundaries. for example, a 32-bit access should be to offs et x0h, x4h, x8h, or xch. 32-bit accesses should not be to 01h, 02h, 03h, 05h, 06h, 07h, 09h, 0ah, 0bh, 0dh, 0eh, or 0fh. any accesses to these offsets will result in an unexpected behavior, and may result in a master abort. however, these accesses should not result in system hangs. 64- bit accesses can only be to x0h and must not cross 64-bit boundaries. 2. software should not write to read-only registers. 3. software should not expect any partic ular or consistent value when reading reserved registers or bits. 20.1 memory mapped registers table 20-1. memory-mapped registers (sheet 1 of 2) offset mnemonic register default type 000?007h gcap_id general capabilities and identification 0429b17f8 086a201h ro 008?00fh ? reserved ? ? 010?017h gen_conf general configuration 0000h r/w 018?01fh ? reserved ? ? 020?027h gintr_sta general interrupt status 00000000 00000000h r/wc, r/ w 028?0efh ? reserved ? ? 0f0?0f7h main_cnt main counter value n/a r/w 0f8?0ffh ? reserved ? ? 100?107h tim0_conf timer 0 configuration and capabilities n/a r/w, ro 108?10fh tim0_comp timer 0 comparator value n/a r/w 110?11fh ? reserved ? ? 120?127h tim1_conf timer 1 configuration and capabilities n/a r/w, ro 128?12fh tim1_comp timer 1 comparator value n/a r/w 130?13fh ? reserved ? ? free datasheet http://www..net/
high precision event timer registers 760 intel ? ich7 family datasheet notes: 1. reads to reserved registers or bits will return a value of 0. 2. software must not at tempt locks to the memory-mapped i/o ranges for high precision event timers. if attempted, the lock is not honored, wh ich means potential deadlock conditions may occur. 20.1.1 gcap_id?general capabilities and identification register address offset: 00h attribute: ro default value: 0429b17f8086a201h size: 64 bits 140?147h tim2_conf timer 2 configuration and capabilities n/a r/w, ro 148?14fh tim2_comp timer 2 comparator value n/a r/w 150?15fh ? reserved ? ? 160?3ffh ? reserved ? ? table 20-1. memory-mapped registers (she et 2 of 2) offset mnemonic register default type bit description 63:32 main counter tick period (counter_clk_p er_cap) ? ro. this field indicates the period at which the counter increments in femptoseconds (10^-15 seconds). this will return 0429b17fh when read. this indicates a period of 69841279h fs (69.841279 ns). 31:16 vendor id capability (vendor_id_cap) ? ro . this is a 16-bit value assigned to intel. 15 legacy replacement rout capable (leg_r t_cap) ? ro. hardwired to 1. legacy replacement interrupt rout option is supported. 14 reserved. this bit returns 0 when read. 13 counter size capability (count_size_cap) ? ro. hardwired to 1. counter is 64-bit wide. 12:8 number of timer capability (num_tim_cap) ? ro. this field indicates the number of timers in this block. 02h = three timers. 7:0 revision identification (rev_id) ? ro. this indicates which revision of the function is implemented. default value will be 01h. free datasheet http://www..net/
intel ? ich7 family datasheet 761 high precision event timer registers 20.1.2 gen_conf?general configuration register address offset: 010h attribute: r/w default value: 00000000 00000000h size: 64 bits 20.1.3 gintr_sta?general in terrupt status register address offset: 020h attribute: r/w, r/wc default value: 00000000 00000000h size: 64 bits . bit description 63:2 reserved. these bits return 0 when read. 1 legacy replacement rout (leg_rt_cnf) ? r/w. if the enable_cnf bit and the leg_rt_cnf bit are both set, then the interrupts will be routed as follows: ? timer 0 is routed to irq0 in 8259 or irq2 in the i/o apic ? timer 1 is routed to irq8 in 8259 or irq8 in the i/o apic ? timer 2-n is routed as per the routing in the timer n config registers. ? if the legacy replacement rout bit is set, the in dividual routing bits for timers 0 and 1 (apic) will have no impact. ? if the legacy replacement rout bit is not set, th e individual routing bits for each of the timers are used. ? this bit will default to 0. bios can set it to 1 to enable the legacy replacement routing, or 0 to disable the legacy replacement routing. 0 overall enable (enable_cnf) ? r/w. this bit must be set to enable any of the timers to generate interrupts. 0 = disable. the main counter will halt (will not increment) and no interrupts will be caused by any of these timers. for level- triggered interrupts, if an interrupt is pending when the enable_cnf bit is ch anged from 1-to-0, th e interrupt status indications (in the various txx_int_sts bits ) will not be cleare d. software must write to the txx_int_sts bits to clear the interrupts. 1 = enable. note: this bit will default to 0. bios can set it to 1 or 0. bit description 63:3 reserved. these bits wi ll return 0 when read. 2 timer 2 interrupt act ive (t02_int_sts) ? r/w. same functionality as timer 0. 1 timer 1 interrupt act ive (t01_int_sts) ? r/w. same functionality as timer 0. 0 timer 0 interrupt act ive (t00_int_sts) ? r/wc. the functionality of this bit depends on whether the edge or level-triggered mode is used for this timer. (default = 0) if set to level-triggered mode: this bit will be set by hardware if the corre sponding timer interrupt is active. once the bit is set, it can be cleared by software writ ing a 1 to the same bit position. writes of 0 to this bit will have no effect. if set to edge-triggered mode: this bit should be ignored by software. software should always write 0 to this bit. note: defaults to 0. in edge tri ggered mode, this bit will al ways read as 0 and writes will have no effect. free datasheet http://www..net/
high precision event timer registers 762 intel ? ich7 family datasheet 20.1.4 main_cnt?main counter value register address offset: 0f0h attribute: r/w default value: n/a size: 64 bits . 20.1.5 timn_conf?timer n configuration and capabilities register address offset: timer 0: 100?107h, attribute: ro, r/w timer 1: 120?127h, timer 2: 140?147h default value: n/a size: 64 bits note: the letter n can be 0, 1, or 2, referring to timer 0, 1 or 2. bit description 63:0 counter value (counter_val[63:0]) ? r/w. reads return the current value of the counter. writes load the new value to the counter. notes: 1. writes to this register should only be done while the counter is halted. 2. reads to this register return th e current value of the main counter. 3. 32-bit counters will always return 0 for the upper 32-bits of this register. 4. if 32-bit software attempts to read a 64-bit counter, it should first halt the counter. since this delays the interrupts for all of the timers , this should be done only if the consequences are un derstood. it is strongly recommended that 32-bit software only oper ate the timer in 32-bit mode. 5. reads to this register are monotonic. no two consecutive reads return the same value. the second of two reads always returns a larger value (unless the timer has rolled over to 0). bit description 63:56 reserved. these bits will return 0 when read. 55:52, 43 timer interrupt rout capabi lity (timern_int_rout_cap) ? ro. timer 0, 1: bits 52, 53, 54, and 55 in this field (corresponding to irq 20, 21, 22, and 23) have a value of 1. wr ites will have no effect. timer 2: bits 43, 52, 53, 54, and 55 in this field (corresponding to irq 11, 20, 21, 22, and 23) have a value of 1. writes will have no effect. note: if irq 11 is used for hpet #2, software should ensure irq 11 is not shared with any other devices to ensure the proper operation of hpet #2. 51:44, 42:14 reserved . these bits return 0 when read. free datasheet http://www..net/
intel ? ich7 family datasheet 763 high precision event timer registers 13:9 interrupt rout (timern_int_rout_cnf) ? r/w. this 5-bit fiel d indicates the routing for the interrupt to th e i/o (x) apic. software writes to this field to select which interrupt in the i/o (x) will be used fo r this timer?s interrupt. if the value is not supported by this particular timer, then the value read back will not match what is written. the software must only write valid values. notes: 1. if the legacy replacement rout bit is set, then timers 0 and 1 will have a different routing, and th is bit field has no effe ct for those two timers. 2. timer 0,1: software is responsible to ma ke sure it programs a valid value (20, 21, 22, or 23) for this field. the ich7 logic does not check the validity of the value written. 3. timer 2: software is responsible to ma ke sure it programs a valid value (11, 20, 21, 22, or 23) for this field. the ic h7 logic does not check the validity of the value written. 8 timer n 32-bit mode (timern_32mode_cnf) ? r/w or ro. software can set this bit to force a 64-bit timer to behave as a 32-bit timer. this is typically needed if software is not willing to halt the main coun ter to read or write a particular timer, and the software is not capable of atomic 64-bit operations to the timer. this bit is only relevant if the timer is operating in 64-b it mode in which case that timer can be forced to 32-bit mode by setting this bit. when timer 0 is swit ched to 32-bit mode, the upper 32-bits are loaded with 0?s which will remain when th e timer is switched back to 64-bit mode. if the timer is not in 64-bit mode, then this bit will always be read as 0 and writes will have no effect. timer 0: bit is read/write (default to 0). 0 = 64 bit; 1= 32 bit timers 1, 2: hardwired to 0. writes have no effect since these timers are 32-bit only. 7 reserved. this bit returns 0 when read. 6 timer n value set (timern_val_set_cnf) ? r/w. software uses this bit only for timer 0 if it has been set to periodic mo de. by writing this bit to a 1, the software is then allowed to directly set the timer?s accumulator. software does not have to write this bit back to 1 (it automatically clears). software should not write a 1 to this bit position if the timer is set to non-periodic mode. note: this bit will return 0 when read. writes will only have an effect for timer 0 if it is set to periodic mode. writes will have no effect for timers 1 and 2. 5 timer n size (timern_size_cap) ? ro. this read only field indicates the size of the timer. timer 0: value is 1 (64-bits). timers 1, 2: value is 0 (32-bits). 4 periodic interrupt capable (timern_per_in t_cap) ? ro. if this bit is 1, the hardware supports a periodic mo de for this timer?s interrupt. timer 0: hardwired to 1 (suppo rts the periodic interrupt). timers 1, 2: hardwired to 0 (doe s not support periodic interrupt). 3 timer n type (timern_type_cnf) ? r/w or ro. timer 0: bit is read/write. 0 = disable timer to genera te periodic interrupt; 1 = enable timer to generate a periodic interrupt. timers 1, 2: hardwired to 0. writes have no effect. bit description free datasheet http://www..net/
high precision event timer registers 764 intel ? ich7 family datasheet note: reads or writes to unimplemented timers should not be attempted. read from any unimplemented registers will re turn an undetermined value. 20.1.6 timn_comp?timer n co mparator value register address offset: timer 0: 108h?10fh, timer 1: 128h?12fh, timer 2: 148h?14fh attribute: r/w default value: n/a size: 64 bit 2 timer n interrupt enable (timern_int_enb_cnf) ? r/w. this bit must be set to enable timer n to cause an interrupt when it times out. 0 = enable. 1 = disable (default). the timer can still co unt and generate appr opriate status bits, but will not cause an interrupt. 1 timer interrupt type (timern_int_type_cnf) ? r/w. 0 = the timer interrupt is edge triggered. this means that an edge-type interrupt is generated. if another in terrupt occurs, an other edge will be generated. 1 = the timer interrupt is leve l triggered. this means that a level-triggered interrupt is generated. the interrupt will be held active until it is cleared by writing to the bit in the general interrupt status register . if another interrup t occurs before the interrupt is cleared, the in terrupt will remain active. 0 reserved . these bits will return 0 when read. bit description bit description 63:0 timer compare value ? r/w. reads to this register return the current value of the comparator timers 0, 1, or 2 are config ured to non-periodic mode: writes to this register load the value against which the main counter should be compared for this timer. ? when the main counter equals the value last written to this regi ster, the corresponding interrupt can be generated (if so enabled). ? the value in this register does not change based on the interrupt being generated. timer 0 is configured to periodic mode: ? when the main counter equals the value last written to this regi ster, the corresponding interrupt can be generated (if so enabled). ? after the main counter equals the value in this register, the value in this register is increased by the value last written to the register. for example, if the value written to the register is 00000123h, then 1. an interrupt will be generated when the main counter reaches 00000123h. 2. the value in this register will then be adjusted by the hardware to 00000246h. 3. another interrupt will be generated when the main counter reaches 00000246h 4. the value in this register will then be adjusted by the hardware to 00000369h ? as each periodic interrupt occurs, the value in this register will increment. when the incremented value is greater than the maximum value possible for this register (ffffffffh for a 32-bit timer or ffffffffffffffffh for a 64-bit timer), the value will wrap around through 0. for example, if the current value in a 32-bit timer is ffff0000h and the last value written to this register is 20000, then after the next interrupt the value will change to 00010000h default value for each timer is all 1s for th e bits that are implemented. for example, a 32-bit timer has a default value of 00000000ffffffffh. a 64-bit timer has a default value of ffffffffffffffffh. free datasheet http://www..net/
intel ? ich7 family datasheet 765 serial peripheral interface (s pi) (desktop and mobile only) 21 serial peripheral interface (spi) (desktop and mobile only) the serial peripheral interface resides in me mory mapped space. this function contains registers that allow for the setup and programming of devices that reside on the spi interface. note: all registers in this function (including me mory-mapped registers) must be addressable in byte, word, and dword quantities. the software must always make register accesses on natural boundaries (i.e., dword accesses must be on dword boundaries; word accesses on word boundaries, etc.) in ad dition, the memory-mapped register space must not be accessed with the lock semantic exclusive-access mechanism. if software attempts exclusive-access mechanisms to the spi memory-mapped space, the results are undefined. 21.1 serial peripheral interface memory mapped configuration registers the spi host interface registers are memo ry-mapped in the rcrb chipset register space with a base address (spibar) of 302 0h and are located within the range of 3020h to 308fh. the individual registers are then accessible at spibar + offset as indicated in the following table. these memory mapped registers must be accessed in byte, word, or dword quantities. table 21-1. serial peripheral inte rface (spi) register address map (spi memory mapped configuratio n registers) (sheet 1 of 2) spibar + offset mnemonic register name default access 00h?01h spis spi status see register description ro, r/wc, r/wlo 02h?03h spic spi control 0001h r/w 04h?07h spia spi address 00000000h r/w 08h?0fh spid0 spi data 0 see register description r/w 10h?17h spid1 spi data 1 00000000 00000000h r/w 18h?1fh spid2 spi data 2 00000000 00000000h r/w 20h?27h spid3 spi data 3 00000000 00000000h r/w 28h?2fh spid4 spi data 4 00000000 00000000h r/w 30h?37h spid5 spi data 5 00000000 00000000h r/w 38h?3fh spid6 spi data 6 00000000 00000000h r/w 40h?47h spid7 spi data 7 00000000 00000000h r/w free datasheet http://www..net/
serial peripheral interface (spi) (desktop and mobile only) 766 intel ? ich7 family datasheet 50h?53h bbar bios base address configuration 00000000h r/w 54h?55h preop prefix opcode configuration 0004h r/w 56h?57h optype opcode type configuration 0000h r/w 58h?5fh opmenu opcode menu configuration 00000000 00000005h r/w 60h?63h pbr0 protected bios range 0 00000000h r/w 64h?67h pbr1 protected bios range 1 00000000h r/w 68h?6bh pbr2 protected bios range 2 00000000h r/w 6ch?6fh ? reserved ? ? table 21-1. serial peripheral inte rface (spi) register address map (spi memory mapped configuration register s) (sheet 2 of 2) spibar + offset mnemonic register name default access free datasheet http://www..net/
intel ? ich7 family datasheet 767 serial peripheral interface (s pi) (desktop and mobile only) 21.1.1 spis?spi status register (spi memory mapped configuration registers) memory address:spibar + 00h attribute: ro, r/wc, r/wlo default value: see bit description size: 16 bits bit description 15 spi configuration lock-down ? r/wlo. 0 = no lock-down (default) 1 = spi static configuration information in offsets 50h through 6fh can not be overwritten. once set to 1, this bit ca n only be cleared by a hardware reset. 14:4 reserved 3 blocked access status ? r/wc. 0 = not blocked (default) 1 = hardware sets this bit to 1 when an access is blocked fr om running on the spi interface due to one of the protection poli cies or when any of the programmed cycle registers is written while a pr ogrammed access is already in progress. this bit is set for both programmed accesses and dire ct memory reads th at get blocked. note: this bit remains asserted until cleared by software writing a 1 or hardware reset. 2 cycle done status ? r/wc. 0 = not done (default) 1 = the intel ? ich7 sets this bit to 1 when the spi cycle completes (i.e., scip bit is 0) after software sets the scgo bit. note: this bit remains asserted until cleared by software writing a 1 or hardware reset. note: software must make sure this bit is cleared prior to enabling the spi smi# assertion for a new programmed access. note: this bit gets set after the status regist er polling sequence completes after reset deasserts. it is cleared befo re and during that sequence. 1 spi access grant ? ro. this bit is used by the softwa re to know when the other spi master will not be initiating any long transactions on the spi bus. 0 = default 1 = it is set by hardware in response to so ftware setting the spi access request bit and completing the future pending handshake with the lan component. note: this bit is cleared in response to soft ware clearing the sp i access request bit. 0 spi cycle in progress (scip) ? ro. 0 = cycle not in progress (default) 1 = hardware sets this bit when software sets the spi cycle go bit in the command register. this bit remains set until the cycle completes on the spi interface. hardware automatically sets and clears this bit so th at software can determine when read data is valid and/or when it is safe to begin programming the next command. this bit reports 1b during the status register polling sequen ce after reset deasserts; it is cleared when that sequence completes. note: software must only program the ne xt command when this bit is 0. free datasheet http://www..net/
serial peripheral interface (spi) (desktop and mobile only) 768 intel ? ich7 family datasheet 21.1.2 spic?spi control register (spi memory mapped co nfiguration registers) memory address:spibar + 02h attribute: r/w default value: 4005h size: 16 bits bit description 15 spi smi# enable ? r/w. 0 = disable. 1 = enable. the spi asserts an smi# reques t when the cycle done status bit is 1. 14 data cycle? r/w. 0 = no data is delivered for this cycle, and the dbc and data fields themselves are don't cares. 1 = there is data that corresp onds to this transaction. 13:8 data byte count (dbc) ? r/w. this field specifies the number of bytes to shift in or out during the data portion of the spi cycl e. the valid settings (in decimal) are any value from 0 to 63. the number of bytes tran sferred is the value of this field plus 1. for example, when this field is 000000b, then there is 1 byte to transfer and that 111111b means there are 64 bytes to transfer. 7 reserved 6:4 cycle opcode pointer ? r/w. this field selects one of the programmed opcodes in the opcode menu to be used as the spi co mmand/opcode. in the case of an atomic cycle sequence, th is determines the second command. 3 sequence prefix opcode pointer ? r/w. this field selects one of the two programmed prefix opcodes for use when pe rforming an atomic cycle sequence. by making this programmable, the intel ? ich7 supports flash device s that have different opcodes for enabling writes to the data space vs. status register 0 = a value of 0 points to the opcode in the least significant byte of the prefix opcodes register. 2 atomic cycle sequence (acs) ? r/w. 0 = no atomic cycle sequence. 1 = when set to 1 along with the scgo assertion, the ich7 will execute a sequence of commands on the spi interface without allowing the lan component to arbitrate and interleave cycles. 1 spi cycle go (scgo) ? r/w. this bit always returns 0 on reads. 0 = spi cycle not started. 1 = a write to this register with a 1 in this bit starts the spi cycl e defined by the other bits of this register. the ?spi cycle in progress? (scip) bit gets set by this action. note: writes to this bit while the cycle in progress bit is set are ignored. note: other bits in this register can be pr ogrammed for the same transaction when writing this bit to 1. 0 spi access request ? r/w. this bit is used by software to request that the other spi master stop initiating long transactions on the spi bus. 0 = no request. 1 = request that the other spi master stop initiating long transactions on the spi bus. note: this bit defaults to a 1 and must be cleared by bi os after completing the accesses for the boot process. free datasheet http://www..net/
intel ? ich7 family datasheet 769 serial peripheral interface (s pi) (desktop and mobile only) 21.1.3 spia?spi address register (spi memory mapped configuration registers) memory address:spibar + 04h attribute: r/w default value: 00000000h size: 32 bits 21.1.4 spid[n] ?spi data n register (spi memory mapped configuration registers) memory address:spi data [0]: spibar + 08hattribute: r/w spi data [1]: spibar + 10h spi data [2]: spibar + 18h spi data [3]: spibar + 20h spi data [4]: spibar + 28h spi data [5]: spibar + 30h spi data [6]: spibar + 38h spi data [7]: spibar + 40h default value: see notes 1 and 2 below size: 64 bits notes: 1. for spi data [7:1] registers only: default value is 0000000000000000h. 2. for spi data 0 register default value only: th is register is initialized to 0 by the reset assertion. however, the least significant byte of this register is loaded with the first status register read of the atomic cycle sequence that the hardware automatically runs out of reset. therefore, bit 0 of this register can be read later to dete rmine if the platform encountered the boundary case in which the spi flash was busy with an internal instruction when the platform reset deasserted. bit description 31:24 reserved 23:0 spi cycle address (sca) ? r/w. this field is shifte d out as the spi address (msb first). bits 23:0 correspon d to address bits 23:0. bit description 63:0 spi cycle data [n] (scd[n]) ? r/w. this field is shifted out as the spi data on the master-out slave-in data pin during the da ta portion of the spi cycle. the scd[n] register does not be gin shifting until spid[n-1] has completely shifted in/out. this register also shifts in the data from th e master-in slave-out pin into this register during the data portion of the spi cycle. note: the data is always shifted starting with the least significant byte, msb to lsb, followed by the next least significant byte, msb to lsb, etc. specifically, the shift order on spi in terms of bits within this register is: 7-6-5-4-3-2-1-0-15-14-13- ?8-23-22-?16-31?24-39..32?etc. bit 56 is the last bit shifted out/in. there are no alignment assumptions; byte 0 always represents the value specified by the cycle address. note: the data in this register may be mo dified by the hardware during any programmed spi transaction. direct memo ry reads do not modify the contents of this register. free datasheet http://www..net/
serial peripheral interface (spi) (desktop and mobile only) 770 intel ? ich7 family datasheet 21.1.5 bbar?bios base address register (spi memory mapped co nfiguration registers) memory address:spibar + 50h attribute: r/w default value: 00000000h size: 32 bits note: this register is not writable when the spi configuration lock-down bit (spibar + 00h:15) is set. 21.1.6 preop?prefix opcode configuration register (spi memory mapped co nfiguration registers) memory address:spibar + 54h attribute: r/w default value: 0004h size: 16 bits note: this register is not writable when the spi configuration lock-down bit (spibar + 00h:15) is set. bit description 31:24 reserved. 23:8 bottom of system flash ? r/w. this field determines the bottom of the system bios. the intel ? ich7 will not run programmed commands nor memory reads whose address field is less than this value. this field corresponds to bits 23:8 of the 3-byte address; bits 7:0 are assumed to be 00h for this vector wh en comparing to a potential spi address. note: software must always program 1s into th e upper, don?t care, bits of this field based on the flash size. hardware does no t know the size of the flash array and relies upon the correct programming by software. the default value of 0000h results in all cycles allowed. note: in the event that this value is prog rammed below some of the bios memory segments, described abov e, this protection policy takes precedence. 7:0 reserved bit description 15:8 prefix opcode 1 ? r/w. software programs an spi opcode into this field that is permitted to run as the first comma nd in an atomic cycle sequence. 7:0 prefix opcode 0 ? r/w. software programs an spi opcode into this field that is permitted to run as the first comma nd in an atomic cycle sequence. free datasheet http://www..net/
intel ? ich7 family datasheet 771 serial peripheral interface (s pi) (desktop and mobile only) 21.1.7 optype?opcode type configuration register (spi memory mapped configuration registers) memory address:spibar + 56h attribute: r/w default value: 0000h size: 16 bits entries in this register correspond to the entries in the opcode menu configuration register. note: the definition below only provides write protection for opcodes that have addresses associated with them. therefore, any erase or write opcodes that do not use an address should be avoided (for example, ?chip erase? and ?auto-address increment byte program?) note: this register is not writable when the spi configuration lock-down bit (spibar + 00h:15) is set. bit description 15:14 opcode type 7 ? r/w. see the desc ription for bits 1:0 13:12 opcode type 6 ? r/w. see the desc ription for bits 1:0 11:10 opcode type 5 ? r/w. see the desc ription for bits 1:0 9:8 opcode type 4 ? r/w. see the desc ription for bits 1:0 7:6 opcode type 3 ? r/w. see the desc ription for bits 1:0 5:4 opcode type 2 ? r/w. see the desc ription for bits 1:0 3:2 opcode type 1 ? r/w. see the desc ription for bits 1:0 1:0 opcode type 0 ? r/w. this field specifies information about the corresponding opcode 0. this information allows the hardwa re to, 1) know whether to use the address field and, 2) provide bios an d shared flash protection capa bilities. the encoding of the two bits is: 00 = no address associated with this opcode; read cycle type 01 = no address associated with this opcode; write cycle type 10 = address required; read cycle type 11 = address required; write cycle type free datasheet http://www..net/
serial peripheral interface (spi) (desktop and mobile only) 772 intel ? ich7 family datasheet 21.1.8 opmenu?opcode menu configuration register (spi memory mapped co nfiguration registers) memory address:spibar + 58h attribute: r/w default value: 0000000000000005h size: 64 bits eight entries are available in this register to give bios a sufficient set of commands for communicating with the flash device, while also restricting what malicious software can do. this keeps the hardware flexible enough to operate with a wide variety of spi devices. note: it is recommended that bios avoid progra mming write enable op codes in this menu. malicious software could then perform writes and erases to the spi flash without using the atomic cycle mechanism. this could cause functional failures in a shared flash environment. write enable opcodes should on ly be programmed in the prefix opcodes. note: this register is not writable when the spi configuration lock-down bit (spibar + 00h:15) is set. 21.1.9 pbr[n]?protected bios range [n] (spi memory mapped co nfiguration registers) memory address:pbr[0]: spibar + 60h attribute: r/w pbr[1]: spibar + 64h pbr[2]: spibar + 68h default value: 00000000h size: 32 bits note: this register is not writable when the spi configuration lock-down bit (spibar + 00h:15) is set. bit description 63:56 allowable opcode 7 ? r/w. see the description for bits 7:0 55:48 allowable opcode 6 ? r/w. see the description for bits 7:0 47:40 allowable opcode 5 ? r/w. see the description for bits 7:0 39:32 allowable opcode 4 ? r/w. see the description for bits 7:0 31:24 allowable opcode 3 ? r/w. see the description for bits 7:0 23:16 allowable opcode 2 ? r/w. see the description for bits 7:0 15:8 allowable opcode 1 ? r/w. see the description for bits 7:0 7:0 allowable opcode 0 ? r/w. software programs an sp i opcode into this field for use when initiating spi commands through the control register. bit description 31 write protection enable ? r/w. 0 = disable. the base and li mit fields are ignored when this bit is cleared. 1 = enable. the base and limit fiel ds in this register are valid. 30:24 reserved 23:12 protected range limit ? r/w. this field corresponds to spi address bits 23:12 and specifies the upper limit of the protected range. note: any address greater than the value programmed in this field is unaffected by this protected range. 11:0 protected range base ? r/w. this field corresponds to spi address bits 23:12 and specifies the lower base of the protected range. note: address bits 11:0 are assumed to be 000h for the base comparison. any address less than the value programmed in this field is un affected by this protected range. free datasheet http://www..net/
intel ? ich7 family datasheet 773 ballout definition 22 ballout definition this chapter contains the intel ? ich7 family ballout information. 22.1 desktop, mobile, and digital home component ballout figure 22-1 and figure 22-2 are the ballout map of the ich7 desktop, mobile, and digital home components. these components are in a 652 bga package. table 22-1 is a bga ball list, sorted alphabetically by signal name. note: 1. ? ? throughout this section, the symbol ??? indicates a signal that is reserved on the 82801GB ich7 base component but is used by other ich7 desktop/mobile/ digital home family components. this pertains to the signals for pci express ports 5 and 6; these signals are not on the ich7 base and are reserved (marked as ?reserved??). 2. ?? ? throughout this section, the symbol ???? indicates a digital home only signal. these signals are on ly on the 82801gdh ich7dh. 3. * ? throughout this section, the symbol ?*? indicates a mobile only signal. these signals are only on the 82801GBm ich7-m and 82801ghm ich7-m dh. 4. ** ? throughout this section, the symbol ?**? indicates a desktop only signal (82801GB ich7, 82801gr ich7r, and 82801gdh ich7dh). 5. nc = no connect free datasheet http://www..net/
ballout definition 774 intel ? ich7 family datasheet figure 22-1. desktop and mobile co mponent ballout (topview?left side) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 a vcc1_5_a oc6# / gpio30 pirqa# vss vcc3_3 ad27 irdy# ad26 pciclk ad20 ad19 devsel# req4# / gpio22 gnt4# / gpio48 b vss clk48 oc7# / gpio31 pirqb# pirqd# ad29 vcc3_3 vss ad25 serr# vss ad12 vcc3_3 vss c vccusbpll vss oc5# / gpio29 oc1# pirqc# vss ad28 gpio1 / req5# perr# vcc3_3 ad17 c/be1# ad13 ad9 d usbrbias usbrbias# oc0# oc3# oc2# ad31 req0# gpio17 / gnt5# ad24 vss ad18 c/be2# vss ad11 e vss vss vccsus3_3 vss oc4# ad30 gnt0# vss ad23 par plock# ad16 req3# ad10 f usbp0n usbp0p vss vss vss v5ref_sus gpio3 / pirqf# gpio4 / pirqg# vcc3_3 ad22 ad21 vss gnt3# trdy# g vss vss usbp1p usbp1n vss vss gpio5 / pirqh# gpio2 / pirqe# vss v5ref vcc3_3 vcc3_3 ad15 vss h usbp2n usbp2p vss vss vss vcc1_5_a vcc1_5_a j vss vss usbp3p usbp3n vss vcc1_5_a vcc1_5_a k usbp4n usbp4p vccsus3_3 vccsus3_3 vccsus3_3 vccsus3_3 vccsus1_05 l vccsus3_3 vccsus3_3 vccsus3_3 usbp5n usbp5p vccsus3_3 vccsus3_3 vcc1_05 vcc1_05 vss vcc1_05 m usbp6n usbp6p vss vss vss vccsus3_3 vccsus3_3 vcc1_05 vss vss vss n vss vss usbp7p usbp7n vss vss vccsus3_3 vss vss vss vss p spi_arb spi_miso vss vss spi_mosi spi_cs# vccsus3_3 vcc1_05 vss vss vss r vss spi_clk gpio24 gpio14 acz_rst# acz_sync vccsus3_3 / vccsushda* vss vss vss vss t acz_sdin2 acz_sdin0 acz_sdin1 acz_sdout lan_rxd2 vss vcc1_5_a vcc1_05 vss vss vss u acz_bit_clk gpio34 / az_dock_ rst#* lan_ rstsync vss lan_rxd0 vcc3_3 / vcchda* lan_txd0 vcc1_05 vss vss vss v vccsus3_3 / vcclan3_3* vss lan_clk lan_rxd1 vccsus3_3 / vcclan3_3* lan_txd1 lan_txd2 vcc1_05 vcc1_05 vss vcc1_05 w ee_cs vccsus3_3 / vcclan3_3* ee_din intvrmen vccrtc vss vccsus3_3 / vcclan3_3* y ee_shclk ee_dout vss rsmrst# intruder# lad3 vccsus1_05 / vcclan1_05* aa vss vccsus1_05 / vcclan1_05* rtcrst# pwrok ldrq1# / gpio23 lad0 vcc3_3 ab rtcx1 rtcx2 lframe# vss lad1 vss vcc1_5_a vcc1_5_a vcc1_5_a vcc1_5_a vss vcc3_3 dd10 vss ac clk14 vss ldrq0# lad2 vss vcc1_5_a vcc1_5_a vcc1_5_a vss vcc1_5_a vss dd7 dd5 dd11 ad vss vccsatapll vss vss sata1rxp / reserved* vcc1_5_a vss vss sata3rxn / reserved* vcc1_5_a vss dd6 vcc3_3 dd4 ae sata_clkp vss sata0rxp vss sata1rxn / reserved* vcc1_5_a sata2rxp vss sata3rxp / reserved* vcc1_5_a vss dd8 vss dd1 af sata_clkn vss sata0rxn vss vcc1_5_a vcc1_5_a sata2rxn vss vcc1_5_a vcc1_5_a vss dd9 dd3 dd12 ag vss sata0txn vss sata1txn / reserved* vcc1_5_a sata2txn vss sata3txn / reserved* vcc1_5_a satarbiasp vss vcc3_3 dd2 vss ah vss sata0txp vss sata1txp / reserved* vcc1_5_a sata2txp vss sata3txp / reserved* vcc1_5_a satarbiasn vcc3_3 vss dd13 dd14 1 2 3 4 5 6 7 8 9 10 11 12 13 14 free datasheet http://www..net/
intel ? ich7 family datasheet 775 ballout definition figure 22-2. desktop and mobile comp onent ballout (topview?right side) 15 16 17 18 19 20 21 22 23 24 25 26 27 28 ad8 ad2 ad7 ad5 spkr gpio10 el_rsvd?? / gpio26 sys_rst# vss vccsus3_3 smlink1 linkalert# sus_stat# ri# a c/be0# vcc3_3 vss pcirst# pme# vss el_state0?? / gpio27 smbdata smbalert# / gpio11 slp_s3# smlink0 vss vcc3_3 vss b c/be3# req1# req2# ad1 lan_rst# susclk tp0 / batlow#* smbclk pwrbtn# vccsus3_3 dmi_zcomp pltrst# vss vccsus1_05 c vcc3_3 gnt1# gnt2# vss vccsus3_3 gpio25 vss vccsus3_3 slp_s4# vss dmi_ircomp vcc1_5_b vcc1_5_b vcc1_5_b d vss ad4 ad6 ad0 gpio13 gpio9 gpio8 gpio15 el_state1?? / gpio28 vcc1_5_b vcc1_5_b vcc1_5_b petp1 petn1 e stop# frame# vcc1_5_a ad3 gpio12 wake# tp3 slp_s5# vcc1_5_b vcc1_5_b perp1 pern1 vss vss f ad14 vcc3_3 vcc1_5_a vss vccsus3_3 vccsus1_05 vss vcc1_5_b vcc1_5_b vss vss vss petp2 petn2 g vcc1_5_b vcc1_5_b vss perp2 pern2 vss vss h vcc1_5_b vcc1_5_b vss vss vss petp3 petn3 j vcc1_5_b vcc1_5_b vss perp3 pern3 vss vss k vss vcc1_05 vcc1_05 vcc1_05 vcc1_5_b vcc1_5_b vss vss vss petp4 petn4 l vss vss vss vcc1_05 vcc1_5_b vcc1_5_b vss perp4 pern4 vss vss m vss vss vss vss vcc1_5_b vcc1_5_b vss vss vss petp5 / reserved? petn5 / reserved? n vss vss vss vcc1_05 vcc1_5_b vcc1_5_b vss perp5 / reserved? pern5 / reserved? vss vss p vss vss vss vss vcc1_5_b vcc1_5_b vcc1_5_b vcc1_5_b vcc1_5_b petp6 / reserved? petn6 / reserved? r vss vss vss vcc1_05 vcc1_5_b vcc1_5_b perp6 / reserved? pern6 / reserved? vcc1_5_b vcc1_5_b vcc1_5_b t vss vss vss vcc1_05 vcc1_5_b vcc1_5_b vss vss vss dmi0txp dmi0txn u vss vcc1_05 vcc1_05 vcc1_05 vcc1_5_b vcc1_5_b vss dmi0rxp dmi0rxn vss vss v vcc1_5_b vcc1_5_b vss vss vss dmi1txp dmi1txn w vcc1_5_b vcc1_5_b vss dmi1rxp dmi1rxn vss vss y vcc1_5_b vcc1_5_b vss vss vss dmi2txp dmi2txn aa dd0 vss vcc1_5_a gpio0 / bm_busy#* vss vcc3_3 vss vcc1_5_b vcc1_5_b vss dmi2rxp dmi2rxn vss vss ab dd15 vcc3_3 vcc1_5_a gpio7 gpio33 / az_dock_en#* gpio18 / stp_pci#* gpio6 gpio16 / dprslpvr* vcc1_5_b vcc1_5_b vcc1_5_b vcc1_5_b dmi3txp dmi3txn ac vss dcs3# v5ref vcc3_3 vss gpio38 gpio35 / sataclkreq# vrmpwrgd vss dmi3rxp dmi3rxn vcc1_5_b vcc1_5_b vcc1_5_b ad ddreq dcs1# da1 vss gpio37 / sata3gp** gpio39 vss a20gate v_cpu_io vss vss v_cpu_io dmi_clkp dmi_clkn ae dior# ddack# da2 sataled# gpio21 / sata0gp thrm# gpio20 / stpcpu# init# smi# tp1 / dprstp#* intr thermtrip# vss vss af vcc3_3 iordy vss gpio32 / clkrun#* vcc3_3 vss init3_3v# ignne# rcin# gpio49/ cpupwrgd vss ferr# cpuslp#**/ nc* vccdmipll ag diow# ideirq da0 gpio19 / sata1gp** gpio36 / sata2gp mch_sync# serirq stpclk# vss nmi tp2 / dpslp#* v_cpu_io vss a20m# ah 15 16 17 18 19 20 21 22 23 24 25 26 27 28 free datasheet http://www..net/
776 intel ? ich7 family datasheet ballout definition table 22-1. desktop and mobile component ballout by signal name signal name ball # a20gate ae22 a20m# ah28 acz_bit_clk u1 acz_rst# r5 acz_sdin0 t2 acz_sdin1 t3 acz_sdin2 t1 acz_sdout t4 acz_sync r6 ad0 e18 ad1 c18 ad2 a16 ad3 f18 ad4 e16 ad5 a18 ad6 e17 ad7 a17 ad8 a15 ad9 c14 ad10 e14 ad11 d14 ad12 b12 ad13 c13 ad14 g15 ad15 g13 ad16 e12 ad17 c11 ad18 d11 ad19 a11 ad20 a10 ad21 f11 ad22 f10 ad23 e9 ad24 d9 ad25 b9 ad26 a8 ad27 a6 ad28 c7 ad29 b6 ad30 e6 ad31 d6 c/be0# b15 c/be1# c12 c/be2# d12 c/be3# c15 clk14 ac1 clk48 b2 cpuslp#** / nc* ag27 da0 ah17 da1 ae17 da2 af17 dcs1# ae16 dcs3# ad16 dd0 ab15 dd1 ae14 dd10 ab13 dd11 ac14 dd12 af14 dd13 ah13 dd14 ah14 dd15 ac15 dd2 ag13 dd3 af13 dd4 ad14 dd5 ac13 dd6 ad12 dd7 ac12 dd8 ae12 dd9 af12 ddack# af16 ddreq ae15 devsel# a12 dior# af15 diow# ah15 dmi_clkn ae28 dmi_clkp ae27 table 22-1. desktop and mobile component ballout by signal name signal name ball # dmi_ircomp d25 dmi_zcomp c25 dmi0rxn v26 dmi0rxp v25 dmi0txn u28 dmi0txp u27 dmi1rxn y26 dmi1rxp y25 dmi1txn w28 dmi1txp w27 dmi2rxn ab26 dmi2rxp ab25 dmi2txn aa28 dmi2txp aa27 dmi3rxn ad25 dmi3rxp ad24 dmi3txn ac28 dmi3txp ac27 ee_cs w1 ee_din w3 ee_dout y2 ee_shclk y1 el_rsvd?? / gpio26 a21 el_state0?? / gpio27 b21 el_state1?? / gpio28 e23 ferr# ag26 frame# f16 gnt0# e7 gnt1# d16 gnt2# d17 gnt3# f13 gnt4# / gpio48 a14 gpio0 / bm_busy#* ab18 gpio1 / req5# c8 gpio10 a20 gpio12 f19 table 22-1. desktop and mobile component ballout by signal name signal name ball # free datasheet http://www..net/
intel ? ich7 family datasheet 777 ballout definition gpio13 e19 gpio14 r4 gpio15 e22 gpio16 / dprslpvr* ac22 gpio17 / gnt5# d8 gpio18 / stp_pci#* ac20 gpio19 / sata1gp** ah18 gpio2/ pirqe# g8 gpio20 / stpcpu# af21 gpio21 / sata0gp af19 gpio24 r3 gpio25 d20 gpio3 / pirqf# f7 gpio32 / clkrun#* ag18 gpio33 / az_dock_en#* ac19 gpio34 / az_dock_rst#* u2 gpio35 / sataclkreq# ad21 gpio36 / sata2gp ah19 gpio37 / sata3gp** ae19 gpio38 ad20 gpio39 ae20 gpio4 / pirqg# f8 gpio49 / cpupwrgd ag24 gpio5 / pirqh# g7 gpio6 ac21 gpio7 ac18 gpio8 e21 gpio9 e20 ideirq ah16 ignne# ag22 init# af22 init3_3v# ag21 table 22-1. desktop and mobile component ballout by signal name signal name ball # intr af25 intruder# y5 intvrmen w4 iordy ag16 irdy# a7 lad0 aa6 lad1 ab5 lad2 ac4 lad3 y6 lan_clk v3 lan_rst# c19 lan_rstsync u3 lan_rxd0 u5 lan_rxd1 v4 lan_rxd2 t5 lan_txd0 u7 lan_txd1 v6 lan_txd2 v7 ldrq0# ac3 ldrq1# / gpio23 aa5 lframe# ab3 linkalert# a26 mch_sync# ah20 nmi ah24 oc0# d3 oc1# c4 oc2# d5 oc3# d4 oc4# e5 oc5# / gpio29 c3 oc6# / gpio30 a2 oc7# / gpio31 b3 par e10 pciclk a9 pcirst# b18 pern1 f26 pern2 h26 pern3 k26 table 22-1. desktop and mobile component ballout by signal name signal name ball # pern4 m26 pern5 / reserved? p26 pern6 / reserved? t25 perp1 f25 perp2 h25 perp3 k25 perp4 m25 perp5 / reserved? p25 perp6 / reserved? t24 perr# c9 petn1 e28 petn2 g28 petn3 j28 petn4 l28 petn5 / reserved? n28 petn6 / reserved? r28 petp1 e27 petp2 g27 petp3 j27 petp4 l27 petp5 / reserved? n27 petp6 / reserved? r27 pirqa# a3 pirqb# b4 pirqc# c5 pirqd# b5 plock# e11 pltrst# c26 pme# b19 pwrbtn# c23 pwrok aa4 rcin# ag23 req0# d7 table 22-1. desktop and mobile component ballout by signal name signal name ball # free datasheet http://www..net/
778 intel ? ich7 family datasheet ballout definition req1# c16 req2# c17 req3# e13 req4# / gpio22 a13 ri# a28 rsmrst# y4 rtcrst# aa3 rtcx1 ab1 rtcx2 ab2 sata_clkn af1 sata_clkp ae1 sata0rxn af3 sata0rxp ae3 sata0txn ag2 sata0txp ah2 sata1rxn / reserved* ae5 sata1rxp / reserved* ad5 sata1txn / reserved* ag4 sata1txp / reserved* ah4 sata2rxn af7 sata2rxp ae7 sata2txn ag6 sata2txp ah6 sata3rx n / reserved* ad9 sata3rxp / reserved* ae9 sata3txn / reserved* ag8 sata3txp / reserved* ah8 sataled# af18 satarbias# ah10 satarbias ag10 serirq ah21 serr# b10 slp_s3# b24 table 22-1. desktop and mobile component ballout by signal name signal name ball # slp_s4# d23 slp_s5# f22 smbalert# / gpio11 b23 smbclk c22 smbdata b22 smi# af23 smlink0 b25 smlink1 a25 spi_arb p1 spi_clk r2 spi_cs# p6 spi_miso p2 spi_mosi p5 spkr a19 stop# f15 stpclk# ah22 sus_stat# a27 susclk c20 sys_rst# a22 thermtrip# af26 thrm# af20 tp0 / batlow#* c21 tp1 / dprstp#* af24 tp2 / dpslp#* ah25 tp3 f21 trdy# f14 usbp0n f1 usbp0p f2 usbp1n g4 usbp1p g3 usbp2n h1 usbp2p h2 usbp3n j4 usbp3p j3 usbp4n k1 usbp4p k2 usbp5n l4 usbp5p l5 table 22-1. desktop and mobile component ballout by signal name signal name ball # usbp6n m1 usbp6p m2 usbp7n n4 usbp7p n3 usbrbias d1 usbrbias# d2 v_cpu_io ae23 v_cpu_io ae26 v_cpu_io ah26 v5ref g10 v5ref ad17 v5ref_sus f6 vcc1_05 l11 vcc1_05 l12 vcc1_05 l14 vcc1_05 l16 vcc1_05 l17 vcc1_05 l18 vcc1_05 m11 vcc1_05 m18 vcc1_05 p11 vcc1_05 p18 vcc1_05 t11 vcc1_05 t18 vcc1_05 u11 vcc1_05 u18 vcc1_05 v11 vcc1_05 v12 vcc1_05 v14 vcc1_05 v16 vcc1_05 v17 vcc1_05 v18 vcc1_5_a a1 vcc1_5_a f17 vcc1_5_a g17 vcc1_5_a h6 vcc1_5_a h7 vcc1_5_a j6 table 22-1. desktop and mobile component ballout by signal name signal name ball # free datasheet http://www..net/
intel ? ich7 family datasheet 779 ballout definition vcc1_5_a j7 vcc1_5_a t7 vcc1_5_a ab7 vcc1_5_a ab8 vcc1_5_a ab9 vcc1_5_a ab10 vcc1_5_a ab17 vcc1_5_a ac6 vcc1_5_a ac7 vcc1_5_a ac8 vcc1_5_a ac10 vcc1_5_a ac17 vcc1_5_a ad6 vcc1_5_a ad10 vcc1_5_a ae6 vcc1_5_a ae10 vcc1_5_a af5 vcc1_5_a af6 vcc1_5_a af9 vcc1_5_a af10 vcc1_5_a ag5 vcc1_5_a ag9 vcc1_5_a ah5 vcc1_5_a ah9 vcc1_5_b d26 vcc1_5_b d27 vcc1_5_b d28 vcc1_5_b e24 vcc1_5_b e25 vcc1_5_b e26 vcc1_5_b f23 vcc1_5_b f24 vcc1_5_b g22 vcc1_5_b g23 vcc1_5_b h22 vcc1_5_b h23 vcc1_5_b j22 vcc1_5_b j23 table 22-1. desktop and mobile component ballout by signal name signal name ball # vcc1_5_b k22 vcc1_5_b k23 vcc1_5_b l22 vcc1_5_b l23 vcc1_5_b m22 vcc1_5_b m23 vcc1_5_b n22 vcc1_5_b n23 vcc1_5_b p22 vcc1_5_b p23 vcc1_5_b r22 vcc1_5_b r23 vcc1_5_b r24 vcc1_5_b r25 vcc1_5_b r26 vcc1_5_b t22 vcc1_5_b t23 vcc1_5_b t26 vcc1_5_b t27 vcc1_5_b t28 vcc1_5_b u22 vcc1_5_b u23 vcc1_5_b v22 vcc1_5_b v23 vcc1_5_b w22 vcc1_5_b w23 vcc1_5_b y22 vcc1_5_b y23 vcc1_5_b aa22 vcc1_5_b aa23 vcc1_5_b ab22 vcc1_5_b ab23 vcc1_5_b ac23 vcc1_5_b ac24 vcc1_5_b ac25 vcc1_5_b ac26 vcc1_5_b ad26 vcc1_5_b ad27 table 22-1. desktop and mobile component ballout by signal name signal name ball # vcc1_5_b ad28 vcc3_3 a5 vcc3_3 b7 vcc3_3 b13 vcc3_3 b16 vcc3_3 b27 vcc3_3 c10 vcc3_3 d15 vcc3_3 f9 vcc3_3 g11 vcc3_3 g12 vcc3_3 g16 vcc3_3 aa7 vcc3_3 ab12 vcc3_3 ab20 vcc3_3 ac16 vcc3_3 ad13 vcc3_3 ad18 vcc3_3 ag12 vcc3_3 ag15 vcc3_3 ag19 vcc3_3 ah11 vcc3_3 / vcchda* u6 vccdmipll ag28 vccrtc w5 vccsatapll ad2 vccsus1_05 c28 vccsus1_05 g20 vccsus1_05 k7 vccsus1_05 / vcclan1_05* y7 vccsus1_05 / vcclan1_05* aa2 vccsus3_3 a24 vccsus3_3 c24 vccsus3_3 d19 vccsus3_3 d22 vccsus3_3 e3 vccsus3_3 g19 table 22-1. desktop and mobile component ballout by signal name signal name ball # free datasheet http://www..net/
780 intel ? ich7 family datasheet ballout definition vccsus3_3 k3 vccsus3_3 k4 vccsus3_3 k5 vccsus3_3 k6 vccsus3_3 l1 vccsus3_3 l2 vccsus3_3 l3 vccsus3_3 l6 vccsus3_3 l7 vccsus3_3 m6 vccsus3_3 m7 vccsus3_3 n7 vccsus3_3 p7 vccsus3_3 / vcclan3_3* v1 vccsus3_3 / vcclan3_3* v5 vccsus3_3 / vcclan3_3* w2 vccsus3_3 / vcclan3_3* w7 vccsus3_3 / vccsushda* r7 vccusbpll c1 vrmpwrgd ad22 vss a4 vss a23 vss b1 vss b8 vss b11 vss b14 vss b17 vss b20 vss b26 vss b28 vss c2 vss c6 vss c27 vss d10 vss d13 table 22-1. desktop and mobile component ballout by signal name signal name ball # vss d18 vss d21 vss d24 vss e1 vss e2 vss e4 vss e8 vss e15 vss f3 vss f4 vss f5 vss f12 vss f27 vss f28 vss g1 vss g2 vss g5 vss g6 vss g9 vss g14 vss g18 vss g21 vss g24 vss g25 vss g26 vss h3 vss h4 vss h5 vss h24 vss h27 vss h28 vss j1 vss j2 vss j5 vss j24 vss j25 vss j26 vss k24 table 22-1. desktop and mobile component ballout by signal name signal name ball # vss k27 vss k28 vss l13 vss l15 vss l24 vss l25 vss l26 vss m3 vss m4 vss m5 vss m12 vss m13 vss m14 vss m15 vss m16 vss m17 vss m24 vss m27 vss m28 vss n1 vss n2 vss n5 vss n6 vss n11 vss n12 vss n13 vss n14 vss n15 vss n16 vss n17 vss n18 vss n24 vss n25 vss n26 vss p3 vss p4 vss p12 vss p13 table 22-1. desktop and mobile component ballout by signal name signal name ball # free datasheet http://www..net/
intel ? ich7 family datasheet 781 ballout definition vss p14 vss p15 vss p16 vss p17 vss p24 vss p27 vss p28 vss r1 vss r11 vss r12 vss r13 vss r14 vss r15 vss r16 vss r17 vss r18 vss t6 vss t12 vss t13 vss t14 vss t15 vss t16 vss t17 vss u4 vss u12 vss u13 vss u14 vss u15 vss u16 vss u17 vss u24 vss u25 vss u26 vss v2 vss v13 vss v15 vss v24 vss v27 table 22-1. desktop and mobile component ballout by signal name signal name ball # vss v28 vss w6 vss w24 vss w25 vss w26 vss y3 vss y24 vss y27 vss y28 vss aa1 vss aa24 vss aa25 vss aa26 vss ab4 vss ab6 vss ab11 vss ab14 vss ab16 vss ab19 vss ab21 vss ab24 vss ab27 vss ab28 vss ac2 vss ac5 vss ac9 vss ac11 vss ad1 vss ad3 vss ad4 vss ad7 vss ad8 vss ad11 vss ad15 vss ad19 vss ad23 vss ae2 vss ae4 table 22-1. desktop and mobile component ballout by signal name signal name ball # vss ae8 vss ae11 vss ae13 vss ae18 vss ae21 vss ae24 vss ae25 vss af2 vss af4 vss af8 vss af11 vss af27 vss af28 vss ag1 vss ag3 vss ag7 vss ag11 vss ag14 vss ag17 vss ag20 vss ag25 vss ah1 vss ah3 vss ah7 vss ah12 vss ah23 vss ah27 wake# f20 table 22-1. desktop and mobile component ballout by signal name signal name ball # free datasheet http://www..net/
ballout definition 782 intel ? ich7 family datasheet 22.2 ultra mobile component ballout figure 22-3 and figure 22-4 show the ich7-u ballout from the top of the package view. table 22-2 lists the ballout arranged by signal name. figure 22-3. intel ? ich7-u ballout (top view, left side) 1 2 3 4 5 6 7 8 9 10 11 a vss vcc3_3 gnt5#/ gpio17 ad22 par ad15 req5#/ gpio1 plock# trdy# serr# ad20 a b pirqg#/ gpio4 ad23 ad29 vss rsvd vss vcc3_3 vss perr# ad18 vss b c pirqf#/ gpio3 rsvd rsvd ad31 ad30 rsvd ad24 irdy# v5ref1 vss vcc3_3 c d oc3# vss vccsus1_05 oc0# oc7#/ gpio31 pirqe#/ gpio2 ad21 ad28 ad25 vcc3_3 ad16 d e vss vccsus3_3 clk48 vss vccausbpll vss pirqh#/ gpio5 vss gnt3# ad26 pciclk e f usbp0p usbp0n usbrbias# usbrbias oc5#/ gpio29 oc6#/ gpio30 oc1# rsvd ad27 ad17 vss f g vss usbp2p usbp2n vss v5ref_sus oc4# oc2# g h usbp4p usbp4n vss usbp1p usbp1n vss vcc1_5a vcc1_5a vss vcc1_05 h j vss usbp5p usbp5n vss usbp3n usbp3p vcc1_5a vcc1_5a vss vcc1_05 j k usbp6p usbp6n vss usbp7p usbp7n vss vcc1_5a vss vss vss k l rsvd rsvd rsvd rsvd rsvd vccsus3_3 vss vss vss vss l m rsvd acz_rst# gpio14 vccsushda acz_sdin0 rsvd vccsus3_3 vss vss vss m n rsvd acz_sdin1 vss vcchda vss vcc1_5a vccsus3_3 vccsus3_3 vss vss n p rsvd acz_sync rsvd acz_bit_clk acz_sdout vcc3_3 vccsus3_3 vccsus3_3 vss vcc1_05 p r rsvd rsvd rsvd nc vcc3_3 vss vccsus3_3 vccsus3_3 vss vcc1_05 r t rsvd rsvd rsvd vss rsvd vccrtc rsvd t u rsvd rsvd rsvd intruder# rtcx1 rtcx2 rtest# vss rsvd rsvd vss u v pwrok rsmrst# lad0 rsvd rsvd rsvd rsvd rsvd dd5 vss vcc3_3 v w clk14 vss lad2 rsvd rsvd rsvd rsvd vss dd2 dd1 dd15 w y lframe# lad1 rsvd rsvd rsvd rsvd dd10 dd7 vcc3_3 dd12 diow# y aa lad3 rsvd rsvd rsvd dd6 vss dd9 dd13 vss ddreq ideirq aa ab vss rsvd rsvd rsvd dd8 dd3 dd14 dd4 dd11 dior# dd0 ab 1 2 3 4 5 6 7 8 9 10 11 free datasheet http://www..net/
intel ? ich7 family datasheet 783 ballout definition figure 22-4. intel ? ich7-u ballout (top view, right side) 12 13 14 15 16 17 18 19 20 21 22 a ad14 vss req4#/ gpio22 gnt4#/ gpio48 c/be#_0 rsvd vcc3_3 ad1 ad0 spkr vss a b ad12 ad11 frame# vss ad6 pme# vss rsvd gpio12 vss gpio10 b c c/be#_2 ad13 stop# c/be#_3 ad5 rsvd gpio9 rsvd vss susclk rsvd c d ad19 vss devsel# vcc3_3 vss ad2 batlow# pwrbtn# rsvd sys_rst# gpio13 d e c/be#_1 ad10 ad8 ad7 ad4 rsvd rsvd vss smbclk wake# vss e f req#_3 ad9 vss ad3 lan_rst# smbdata gpio8 gpio15 smbalert#/ gpio11 slp_s3# slp_s4# f g pcirst# rsvd rsvd slp_s5# vccsus1_05 vss sus_stat# g h vss vcc1_5a vcc1_5a vccsus3_3 rsvd vss rsvd vss vcc3_3 vss h j vss vss vss vss pltrst# vss rsvd rsvd vss vss j k vss vss vcc1_05 vcc1_05 vss vss vss vss rsvd rsvd k l vss vss vss vcc1_05 vcc1_5b vcc1_5b dmi_zcomp dmi_ircomp vss vss l m vss vss vcc1_05 vcc1_05 vcc1_5b vss vss vss dmi0txp dmi0txn m n vss vss vss vcc1_05 vcc1_5b vss dmi0rxp dmi0rxn vss vss n p vss vcc1_05 vss vcc1_05 vcc1_5b vss vss vss dmi1txp dmi1txn p r vcc1_05 vcc1_05 vcc1_05 vcc1_05 vcc1_5b vcc1_5b dmi1rxp dmi1rxn vss vss r t vss vss vss vss vss dmi_clkp dmi_clkn t u vcc1_5a vcc1_5a vss vcc3_3 rsvd rsvd vccdmipll vss stpclk# vss vss u v vss vcc3_3 vss da0 bmbusy#/ gpio0 mch_sync# vss v_cpu_io thermtrip# ferr# intr v w iordy ddack# dcs3# rsvd serirq vss v_cpu_io a20m# dprstp# dpslp# ignne# w y v5ref2 da2 clkrun# rsvd rcin# vcc3_3 vss cpuslp# smi# cpupwrgd/ gpio49 init# y aa vss vcc3_3 vss thrm# vss a20gate vss v_cpu_io nmi vss v_cpu_io aa ab dcs1# da1 gpio7 rsvd rsvd stppci#/ gpio18 rsvd gpio6 stpcpu#/ gpio20 dprslpvr/ gpio16 vrmpwrgd ab 12 13 14 15 16 17 18 19 20 21 22 free datasheet http://www..net/
784 intel ? ich7 family datasheet ballout definition table 22-2. intel ? ich7-u ballout by signal name signal name ball # a20gate aa17 a20m# w19 acz_bit_clk p4 acz_rst# m2 acz_sdin0 m5 acz_sdin1 n2 acz_sdout p5 acz_sync p2 ad0 a20 ad1 a19 ad2 d17 ad3 f15 ad4 e16 ad5 c16 ad6 b16 ad7 e15 ad8 e14 ad9 f13 ad10 e13 ad11 b13 ad12 b12 ad13 c13 ad14 a12 ad15 a6 ad16 d11 ad17 f10 ad18 b10 ad19 d12 ad20 a11 ad21 d7 ad22 a4 ad23 b2 ad24 c7 ad25 d9 ad26 e10 ad27 f9 ad28 d8 ad29 b3 ad30 c5 ad31 c4 batlow# d18 bmbusy#/ gpio0 v16 c/be#_0 a16 c/be#_1 e12 c/be#_2 c12 c/be#_3 c15 clk14 w1 clk48 e3 clkrun# y14 cpupwrgd/ gpio49 y21 cpuslp# y19 da0 v15 da1 ab13 da2 y13 dcs1# ab12 dcs3# w14 dd0 ab11 dd1 w10 dd2 w9 dd3 ab6 dd4 ab8 dd5 v9 dd6 aa5 dd7 y8 dd8 ab5 dd9 aa7 dd10 y7 dd11 ab9 dd12 y10 dd13 aa8 dd14 ab7 table 22-2. intel ? ich7-u ballout by signal name signal name ball # dd15 w11 ddack# w13 ddreq aa10 devsel# d14 dior# ab10 diow# y11 dmi_clkn t22 dmi_clkp t21 dmi_ircomp l20 dmi_zcomp l19 dmi0rxn n20 dmi0rxp n19 dmi0txn m22 dmi0txp m21 dmi1rxn r20 dmi1rxp r19 dmi1txn p22 dmi1txp p21 dprslpvr/ gpio16 ab21 dprstp# w20 dpslp# w21 ferr# v21 frame# b14 gnt3# e9 gnt4#/ gpio48 a15 gnt5#/ gpio17 a3 gpio6 ab19 gpio7 ab14 gpio8 f18 gpio9 c18 gpio10 b22 gpio12 b20 gpio13 d22 gpio14 m3 gpio15 f19 ideirq aa11 table 22-2. intel ? ich7-u ballout by signal name signal name ball # free datasheet http://www..net/
intel ? ich7 family datasheet 785 ballout definition ignne# w22 init# y22 intr v22 intruder# u4 iordy w12 irdy# c8 lad0 v3 lad1 y2 lad2 w3 lad3 aa1 lan_rst# f16 lframe# y1 mch_sync# v17 nc r4 nmi aa20 oc0# d4 oc1# f7 oc2# g7 oc3# d1 oc4# g6 oc5#/ gpio29 f5 oc6#/ gpio30 f6 oc7#/ gpio31 d5 par a5 pciclk e11 pcirst# g16 perr# b9 pirqe#/ gpio2 d6 pirqf#/ gpio3 c1 pirqg#/ gpio4 b1 pirqh#/ gpio5 e7 plock# a8 pltrst# j17 pme# b17 pwrbtn# d19 pwrok v1 table 22-2. intel ? ich7-u ballout by signal name signal name ball # rcin# y16 req#_3 f12 req4#/ gpio22 a14 req5#/ gpio1 a7 rsmrst# v2 rsvd a17 rsvd aa2 rsvd aa3 rsvd aa4 rsvd ab15 rsvd ab16 rsvd ab18 rsvd ab2 rsvd ab3 rsvd ab4 rsvd b19 rsvd b5 rsvd c17 rsvd c19 rsvd c2 rsvd c22 rsvd c3 rsvd c6 rsvd d20 rsvd e17 rsvd e18 rsvd f8 rsvd g17 rsvd g18 rsvd h17 rsvd h19 rsvd j19 rsvd j20 rsvd k21 rsvd k22 rsvd l1 table 22-2. intel ? ich7-u ballout by signal name signal name ball # rsvd l2 rsvd l3 rsvd l4 rsvd l5 rsvd m1 rsvd m6 rsvd n1 rsvd p1 rsvd p3 rsvd r1 rsvd r2 rsvd r3 rsvd t1 rsvd t2 rsvd t3 rsvd t5 rsvd t7 rsvd u1 rsvd u10 rsvd u16 rsvd u17 rsvd u2 rsvd u3 rsvd u9 rsvd v4 rsvd v5 rsvd v6 rsvd v7 rsvd v8 rsvd w15 rsvd w4 rsvd w5 rsvd w6 rsvd w7 rsvd y15 rsvd y3 table 22-2. intel ? ich7-u ballout by signal name signal name ball # free datasheet http://www..net/
786 intel ? ich7 family datasheet ballout definition rsvd y4 rsvd y5 rsvd y6 rtcx1 u5 rtcx2 u6 rtest# u7 serirq w16 serr# a10 slp_s3# f21 slp_s4# f22 slp_s5# g19 smbalert#/ gpio11 f20 smbclk e20 smbdata f17 smi# y20 spkr a21 stop# c14 stpclk# u20 stpcpu#/ gpio20 ab20 stppci#/ gpio18 ab17 sus_stat# g22 susclk c21 sys_rst# d21 thermtrip# v20 thrm# aa15 trdy# a9 usbp0n f2 usbp0p f1 usbp1n h5 usbp1p h4 usbp2n g3 usbp2p g2 usbp3n j5 usbp3p j6 table 22-2. intel ? ich7-u ballout by signal name signal name ball # usbp4n h2 usbp4p h1 usbp5n j3 usbp5p j2 usbp6n k2 usbp6p k1 usbp7n k5 usbp7p k4 usbrbias f4 usbrbias# f3 v_cpu_io aa19 v_cpu_io aa22 v_cpu_io v19 v_cpu_io w18 v5ref_sus g5 v5ref1 c9 v5ref2 y12 vcc1_05 h11 vcc1_05 j11 vcc1_05 k14 vcc1_05 k15 vcc1_05 l15 vcc1_05 m14 vcc1_05 m15 vcc1_05 n15 vcc1_05 p11 vcc1_05 p13 vcc1_05 p15 vcc1_05 r11 vcc1_05 r12 vcc1_05 r13 vcc1_05 r14 vcc1_05 r15 vcc1_5a h13 vcc1_5a h14 vcc1_5a h8 table 22-2. intel ? ich7-u ballout by signal name signal name ball # vcc1_5a h9 vcc1_5a j8 vcc1_5a j9 vcc1_5a k8 vcc1_5a n6 vcc1_5a u12 vcc1_5a u13 vcc1_5b l17 vcc1_5b l18 vcc1_5b m17 vcc1_5b n17 vcc1_5b p17 vcc1_5b r17 vcc1_5b r18 vcc3_3 a18 vcc3_3 a2 vcc3_3 aa13 vcc3_3 b7 vcc3_3 c11 vcc3_3 d10 vcc3_3 d15 vcc3_3 h21 vcc3_3 p6 vcc3_3 r5 vcc3_3 u15 vcc3_3 v11 vcc3_3 v13 vcc3_3 y17 vcc3_3 y9 vccausbpll e5 vccdmipll u18 vcchda n4 vccrtc t6 vccsus1_05 d3 vccsus1_05 g20 vccsus3_3 e2 table 22-2. intel ? ich7-u ballout by signal name signal name ball # free datasheet http://www..net/
intel ? ich7 family datasheet 787 ballout definition vccsus3_3 h15 vccsus3_3 l6 vccsus3_3 m8 vccsus3_3 n8 vccsus3_3 n9 vccsus3_3 p8 vccsus3_3 p9 vccsus3_3 r8 vccsus3_3 r9 vccsushda m4 vrmpwrgd ab22 vss a1 vss a13 vss a22 vss aa12 vss aa14 vss aa16 vss aa18 vss aa21 vss aa6 vss aa9 vss ab1 vss b11 vss b15 vss b18 vss b21 vss b4 vss b6 vss b8 vss c10 vss c20 vss d13 vss d16 vss d2 vss e1 vss e19 table 22-2. intel ? ich7-u ballout by signal name signal name ball # vss e22 vss e4 vss e6 vss e8 vss f11 vss f14 vss g1 vss g21 vss g4 vss h10 vss h12 vss h18 vss h20 vss h22 vss h3 vss h6 vss j1 vss j10 vss j12 vss j13 vss j14 vss j15 vss j18 vss j21 vss j22 vss j4 vss k10 vss k11 vss k12 vss k13 vss k17 vss k18 vss k19 vss k20 vss k3 vss k6 table 22-2. intel ? ich7-u ballout by signal name signal name ball # vss k9 vss l10 vss l11 vss l12 vss l13 vss l14 vss l21 vss l22 vss l8 vss l9 vss m10 vss m11 vss m12 vss m13 vss m18 vss m19 vss m20 vss m9 vss n10 vss n11 vss n12 vss n13 vss n14 vss n18 vss n21 vss n22 vss n3 vss n5 vss p10 vss p12 vss p14 vss p18 vss p19 vss p20 vss r10 vss r21 table 22-2. intel ? ich7-u ballout by signal name signal name ball # free datasheet http://www..net/
788 intel ? ich7 family datasheet ballout definition vss r22 vss r6 vss t16 vss t17 vss t18 vss t19 vss t20 vss t4 vss u11 vss u14 vss u19 vss u21 vss u22 vss u8 vss v10 vss v12 vss v14 vss v18 vss w17 vss w2 vss w8 vss y18 wake# e21 table 22-2. intel ? ich7-u ballout by signal name signal name ball # free datasheet http://www..net/
intel ? ich7 family datasheet 789 electrical characteristics 23 electrical characteristics this chapter contains the dc and ac charac teristics for the ich7. ac timing diagrams are included. 23.1 thermal specifications refer to the intel ? i/o controller hub (ich7) thermal design guidelines for ich7 thermal information. 23.2 absolute maximum ratings table 23-1. intel ? ich7 absolute maximum ratings parameter maximum limits voltage on any 3.3 v pin with respect to ground -0.5 to vcc3_3 + 0.5 v voltage on any 5 v tolerant pin with respect to ground (v5ref=5 v) -0.5 to v5ref + 0.5 v 1.05 v supply voltage with respect to vss -0.5 to 2.1 v 1.5 v supply voltage with respect to vss -0.5 to 2.1 v 3.3 v supply voltage with respect to vss -0.5 to 4.6 v 5.0 v supply voltage with respect to vss -0.5 to 5.5 v v_cpu_io supply voltage with respect to vss -0.5 to 2.1 v free datasheet http://www..net/
electrical characteristics 790 intel ? ich7 family datasheet 23.3 dc characteristics table 23-2. dc curr ent characteristics power plane maximum power consumption symbol s0 s3 cold s4/s5 g3 vcc1_05 0.86 a na na na vccsus1_05 see note 1 na na na vcc1_5_a 1 notes: 1. due to the integrated 1.05 v voltage regulator on the ich7, vccsus1_05 is included in the vcc1_05 rail during the s0?s1 states and in the vccsus3_3 rail during the s3?s5 states. 1.01 a na na na vcc1_5_b 1 0.77 a na na na vcc3_3 0.33 a na na na vccsus3_3 1 ,2 2. vccsus3_3 assumes that the 8 high-speed usb 2.0 devices are connected to the ich7?s root ports. 52 ma 30 ma 30 ma na vccrtc 3 3. icc (rtc) data is estimated with vccrtc at 3.0 v while the system is in a mechanical off (g3) state at room temperature. only the g3 state of this rail is shown to provide an estimate of battery life. na na na 6 ua v5ref 6 ma na na na v5ref_sus 10 ma 10 ma 10 ma na v_cpu_io 14 ma na na na vccusbpll 10 ma na na na vccdmipll 50 ma na na na vccsatapll 50 ma na na na free datasheet http://www..net/
intel ? ich7 family datasheet 791 electrical characteristics table 23-3. dc current characteri stics (mobile/ultra mobile only) power plane maximum power consumption symbol s0 s3 cold s4/s5 g3 vcc1_05 1,2 notes: 1. when the internal vccsus1_05 voltage regulator on the ich7-m /ich7-u is enabled, vccsus1_05 is included in the vcc1_05 rail duri ng the s0 state and in the vccsus3_3 rail during the s3 - s5 states. there is a neglig ible change in vcc1_05 and vccsus3_3 maximum power consumption when internal vccsus1_05 vr is disabled. 2. when the internal vccsus1_05 voltage regulator on the ich7-m /ich7-u is enabled, vcclan1_05 is included in the vcc1_05 rail du ring the s0 state and in the vcclan3_3 rail during the s3 - s5 states. there is a neglig ible change in vcc1_05 and vcclan3_3 maximum power consumption when internal vccsus1_05 vr is disabled. 0.94 a na na na vccsus1_05 3 3. integrated vccsus1_05 vr disabled. 17 ma 17 ma 17 ma na vcclan1_05 3 30 ma 3 ma 3 ma na vcc1_5_a 0.64 a na na na vcc1_5_b 0.77 a na na na vcc3_3 0.27 a na na na vcchda 4 4. vcchda and vccsushda at 3.3 v. 56 ma na na na vcchda 5 5. vcchda and vccsushda at 1.5 v. 92 ma na na na vccsus3_3 1 ,6 6. vccsus3_3 assumes that the 8 high-speed usb 2.0 devices are connected to the ich7?s root ports. 45 ma 21 ma 21 ma na vccsushda 4 10 ma 2 ma 2 ma na vccsushda 5 17 ma 2 ma 2 ma na vcclan3_3 2 40 ma 7 ma 7 ma na vccrtc 7 7. icc (rtc) data is estimated with vccrtc at 3.0 v while the system is in a mechanical off (g3) state at room temperature. only the g3 state of this rail is shown to provide an estimate of battery life. na na na 6 ua v5ref 6 ma na na na v5ref_sus 10 ma 10 ma 10 ma na v_cpu_io 14 ma na na na vccusbpll 10 ma na na na vccdmipll 50 ma na na na vccsatapll 50 ma na na na free datasheet http://www..net/
electrical characteristics 792 intel ? ich7 family datasheet table 23-4. dc characteristic input signal association (sheet 1 of 2) symbol associated signals v ih1 /v il1 (5v tolerant) pci signals: ad[31:0], c/be[3:0]#, devsel#, frame#, irdy#, par, perr#, plock#, req[3:0]#, req4 #/gpio22, req5#/gpio1, serr#, stop#, trdy# interrupt signals : pirq[d:a]#, pirq[h:e]#/gpio[5:2] v ih2 /v il2 (5v tolerant) interrupt signals: ideirq vih3/vil3 clock signals: clk14, clk48 power management signals: mch_sync#, thrm#, vrmpwrgd sata signals: desktop only: satagp[3:0]/gpio[37,36,19,21], sataclkreq#/gpio35 mobile only: satagp[2,0]/gpio[36,21], sataclkreq#/gpio35 ac ?97/intel ? high definition audio signals: mobile only: az_dock_en#/gpio33 gpio signals: desktop only: gpio[39, 38, 33, 32, 20, 18, 16, 7, 6] mobile/ultra mobile only: gpio[39:37, 19, 7, 6] strap signals: spkr, sataled# (strap purposes only) v ih4 /v il4 clock signals: pciclk lpc/firmware hub signals: lad[3:0]/fwh[3:0], ldrq0#, ldrq1#/ gpio23 power management signals: desktop only: lan_rst# mobile/ultra mobile only: bm_busy#/gpio0, clkrun#, lan_rst# pci signals: pme# interrupt signals: serirq cpu signals: a20gate, rcin# usb signals: oc[4:0]#, oc[7:5]#/gpio[31:29] gpio signals : gnt4#/gpio48, gnt5#/gpio17, gpio0 spi signals: desktop and mobile only: sp i_cs#, spi_miso, spi_arb v ih5 /v il5 smbus signals: smbclk, smbdata system management signals: smbalert#/gpio11 desktop and mobile only: smlink[1:0] v ih6 /v il6 lan signals: lan_clk, lan_rxd[2:0] eeprom signals: ee_din strap signals : ee_cs, ee_dout (strap purposes only) v ih7 /v il7 processor signals: ferr#, thrmtrip# gpio signals : gpio49/cpupwrgd v imin8 /v imax8 pci express* data rx signals: per[p,n][6:1] (desktop and mobile only) v ih9 /v il9 real time clock signals: rtcx1 v imin10 /v imax10 sata signals: desktop only: sata[3:0]rx[p,n] mobile only: sata[2,0]rx[p,n] free datasheet http://www..net/
intel ? ich7 family datasheet 793 electrical characteristics v ih11 /v il11 ac ?97/intel ? high definition audio signals: acz_sdin[2:0], mobile only: az_dock_rst#/gpio34 ac ?97 signals: acz_bit_clk strap signals: acz_sdout, acz_sync (strap purposes only) gpio signals : gpio34 (desktop only) note: see v il_hda /v ih_hda for high definition audio low voltage mode (mobile/ultra mobile only) v ih12 /v il12 / v cross(abs) clock signals: dmi_clkn, dmi_clkp, sata_clkn, sata_clkp v ih13 /v il13 power management signals: desktop only: pwrbtn#, ri#, sys_reset#, wake# mobile/ultra mobile only: batlow#, pwrbtn#, ri#, sys_reset#, wake# system management signal: linkalert# intel ? quick resume tec hnology signals: el_state[1:0]/gpio[28:27], el_rsvd/gpio26 (ich7dh only) gpio signals: gpio[28:26, 25:24, 15:12, 10:8] other signals: tp0 v ih14 /v il14 power management signals: pwrok, rsmrst#, rtcrst# system management signals: intruder# v ih15 /v il15 other signals: intvrmen (desktop and mobile only) v+/v-/v hys / v thravg /v ring (5v tolerant) ide signals: dd[15:0], ddreq, iordy, for ultra dma mode 4 and lower these si gnals follow the dc characteristics for v ih2 /v il2 v di / v cm / v se (5v tolerant) usb signals: usbp[7:0][p,n] (low-speed and full-speed) v hssq / v hsdsc / v hscm (5v tolerant) usb signals: usbp[7:0][p,n] (in high-speed mode) v ih_hda / v il_hda (mobile/ultra mobile only) intel ? high definition audio signals: acz_sdin[2:0], az_dock_rst#/gpio34 note: only applies when running in low voltage mode (1.5 v) table 23-4. dc characteri stic input signal association (sheet 2 of 2) symbol associated signals free datasheet http://www..net/
electrical characteristics 794 intel ? ich7 family datasheet table 23-5. dc input charac teristics (she et 1 of 2) symbol parameter min max unit notes v il1 input low voltage ?0.5 0.3(vcc3_3) v v ih1 input high voltage 0.5(vcc3_3) v5ref + 0.5 v v il2 input low voltage -0.5 0.8 v v ih2 input high voltage 2.0 v5ref + 0.5 v v il3 input low voltage ?0.5 0.8 v v ih3 input high voltage 2.0 vcc3_3 + 0.5 v v il4 input low voltage ?0.5 0.3(vcc3_3) v v ih4 input high voltage 0.5(vcc3_3) vcc3_3 + 0.5 v v il5 input low voltage ?0.5 0.8 v v ih5 input high voltage 2.1 vccsus3_3 + 0.5 v v il6 input low voltage -0.5 0.3(vcc3_3) v v ih6 input high voltage 0.6(vcc3_3) vcc3_3 + 0.5 v v il7 input low voltage ? 0.5 0.58(v_cpu_io) v v ih7 input high voltage 0.73(v_cpu_io) v_cpu_io + 0.5 v v imin8 minimum input voltage 175 mvdiff p-p 1 v imax8 maximum input voltage 1200 mvdiff p-p 1 v il9 input low voltage ? 0.5 0.10 v v ih9 input high voltage 0.40 1.2 v v imin10 minimum input voltage 325 mvdiff p-p 2 v imax10 maximum input voltage 600 mvdiff p-p 2 v imin10 minimum input voltage 275 mvdiff p-p 3 v imax10 maximum input voltage 750 mvdiff p-p 3 v il11 input low voltage ? 0.5 0.35(vcc3_3) v v ih11 input high voltage 0.65(vcc3_3) vcc3_3 + 0.5 v v il12 input low voltage -0.150 0.150 v v ih12 input high voltage 0.660 0.850 v v il13 input low voltage ? 0.5 0.8 v v ih13 input high voltage 2.0 vccsus3_3 + 0.5 v v il14 input low voltage ? 0.5 0.78 v v ih14 input high voltage 2.0 vccrtc + 0.5 v 4 v il15 input low voltage ? 0.5 0.65 v v ih15 input high voltage 2.0 vccrtc + 0.5 v 4 v cross(abs) absolute crossing point 0.250 0.550 v v+ low to high input threshold 1.5 2.0 v 5 free datasheet http://www..net/
intel ? ich7 family datasheet 795 electrical characteristics v ? high to low input threshold 1.0 1.5 v 5 v hys difference between input thresholds: (v+current value) ? (v ? current value) 320 mv 5 v thravg average of thresholds: ((v+current value) + (v ? current value))/2 1.3 1.7 v 5 v ring ac voltage at recipient connector ? 1 6 v 5 ,6 v di differential input sensitivity 0.2 v 7,8 v cm differential common mode range 0.8 2.5 v 8 ,9 v se single-ended receiver threshold 0.8 2.0 v 8 v hssq hs squelch detection threshold 100 150 mv 8 v hsdsc hs disconnect detection threshold 525 625 mv 8 v hscm hs data signaling common mode voltage range ? 50 500 mv 8 v hssq hs squelch detection threshold 100 150 mv 8 v hsdsc hs disconnect detection threshold 525 625 mv 8 v hscm hs data signaling common mode voltage range ? 50 500 mv 8 v il_hda (mobile/ ultra mobile only) input low voltage 0.4(vcc_hda) v v ih_hda (mobile/ ultra mobile only) input high voltage 0.6(vcc_hda) v notes: 1. pci express mvdiff p-p = |petp[x] ? petn[x]| 2. applicable only when sata port signaling rate is 1.5 gb/s: sata vdiff, tx (v imax/min10 ) is measured at the sata connector on the transmit side (gen erally, the motherboard connector), where sata mvdiff p-p = |sata[x]txp/rxp ? sata[x]txn/rxn| table 23-5. dc input charac teristics (sheet 2 of 2) symbol parameter min max unit notes free datasheet http://www..net/
electrical characteristics 796 intel ? ich7 family datasheet 3. applicable only wh en sata port signaling rate is 3 gb/s: sata vdiff, tx (v imax/min10 ) is measured at the sata connector on the transmit side (genera lly, the motherboard connector), where sata mvdiff p-p = |sata[x]txp/rxp ? sata[x]txn/rxn| 4. vccrtc is the voltage applied to the vccrtc well of the ich7. when the system is in a g3 state, th is is generally supplied by the coin cell battery, but for s5 and greater, this is generally vccsus3_3. 5. applies to ultra dma modes greater than ultra dma mode 4 6. this is an ac characteristic that repr esents transient values for these signals 7. v di = | usbpx[p] ? usbpx[n] 8. applies to high-speed usb 2.0 9. includes v di range table 23-6. dc characteristic output signal association (sheet 1 of 2) symbol associated signals v oh1 /v ol1 ide signals: da[2:0], dcs[3,1]#, ddack#, dd[15:0], dior#, diow# v oh2 /v ol2 processor signals: desktop only: a20m#, cpuslp#, ig nne#, init#, intr, nmi, smi#, stpclk#, cpupwrgd/gpio49 mobile/ultra mobile only: a20m#, dpslp#, dprstp#, ignne#, init#, intr, nmi, smi#, stpc lk#, cpupwrgd/gpio49 v oh3 /v ol3 pci signals: ad[31:0], c/be[3:0]#, devsel#, frame#, irdy#, par, perr#, plock#, serr#, stop#, trdy# ac ?97/intel ? high definition audio signals: acz_rst#, acz_sdout, acz_sync intel high definition audio signals: acz_bit_clk note: see v oh_hda /v ol_hda for high definition audio low voltage mode (mobile/ultra mobile only) v oh4 /v ol4 smbus signals: smbclk 1 , smbdata 1 system management signals: smlink[1:0] 1 gpio signals: gpio11/smbalert 1 v oh5 /v ol5 power management signals: desktop only: pltrst#, slp_s3#, slp_s4#, slp_s5#, susclk#, sus_stat mobile/ultra mobile only: dprslp vr, pltrst#, slp_s3#, slp_s4#, slp_s5#, stp_cpu#, stp_pci#, susclk#, sus_stat gpio signals: desktop only: gpio[39, 38, 33, 32, 20, 18, 16, 7, 6], gpio[37,36,19,21]/ satagp[3:0]#, mobile/ultra mobile only: gpio[39:37,19, 7, 6], gpio[36,21]/ satagp[2,0]# intel high definition audio signals: az_dock_en#/gpio33 (mobile only) other signals: spkr sata signal: sataled#, sataclkreq#/gpio35 eeprom signals: ee_cs, ee_dout, ee_shclk v oh6 /v ol6 usb signals : usbp[7:0][p,n] in low-sp eed and full-speed modes v omin7 /v omax7 pci express* data tx signals: pet[p,n][4:1] on ich7 and pet[p,n][6:1] on ich7r and ich7dh and mobile v omin8 /v omax8 sata signals: desktop only: sata[3:0]tx[p,n] mobile only: sata[2,0]tx[p,n] free datasheet http://www..net/
intel ? ich7 family datasheet 797 electrical characteristics v oh9 /v ol9 lpc/firmware hub signals: lad[3:0]/fwh[3:0], lframe#/fwh[4] pci signals: pcirst#, gnt[3:0]#, gn t4/gpio48, gnt5/gpio17 gpio signals: desktop only: gpio[34, 0], gpio23/ldrq1#, gpio22/req4#, gpio[5:2]/ pirq[h:e]#, gpio1/req5# mobile/ultra mobile only: gpio23/ldrq1#, gpio22/req4#, gpio[5:2]/ pirq[h:e]#, gpio1/req5#, gpio0/bm_busy# intel high definition audio signals: az_dock_rst#/gpio34 (mobile only) interrupt signals: serirq spi signals: desktop and mobile only: sp i_cs#, spi_mosi, spi_clk processor interface signal: init3_3v# lan signals: lan_rstsync, lan_txd[2:0] v oh10 /v ol10 gpio signals: gpio[28:26, 25:24, 15:12, 10:8], gpio[31:29]/oc[7:5]# intel quick resume technology signals: el_state[1:0]/gpio[28:27], el_rsvd/gpio26 (ich7dh only) v hsoi v hsoh v hsol v chirpj v chirpk usb signals: usbp[7:0][p:n] in high-speed mode v oh_hda /v ol_hda (mobile/ultra mobile only) intel ? high definition audio signals: acz_rst#, acz_sdout, acz_sync note: only applies when running in low voltage mode (1.5 v) notes: 1. these signals are open drain. table 23-6. dc characteri stic output signal assoc iation (sheet 2 of 2) symbol associated signals free datasheet http://www..net/
electrical characteristics 798 intel ? ich7 family datasheet table 23-7. dc output characteristics symbol parameter min max unit i ol / i oh notes v ol1 output low voltage 0.51 v 6 ma v oh1 output high voltage vcc3_3 ? 0.51 v -6 ma v ol2 output low voltage 0.255 v 3 ma 1 v oh2 output high voltage v_cpu_io ? 0.3 v -3 ma v ol3 output low voltage 0.1(vcc3_3) v 1.5 ma v oh3 output high voltage 0.9(vcc3_3) v -0.5 ma 2 v ol4 output low voltage 0.4 v 4 ma v oh4 output high voltage vccsus3_3 ? 0.5 v -2 ma 2 v ol5 output low voltage 0.4 v 6 ma v oh5 output high voltage vcc3_3 ? 0.5 v -2 ma v ol6 output low voltage 0.4 v 5 ma v oh6 output high voltage vcc3_3 ? 0.5 v -2 ma v omin7 minimum output voltage 800 mvdif fp-p 3 v omax7 maximum output voltage 1200 mvdif fp-p 3 v omin8 minimum output voltage 400 mvdif fp-p 4 v omax8 maximum output voltage 600 mvdif fp-p 4 v omin8 minimum output voltage 400 mvdif fp-p 5 v omax8 maximum output voltage 700 mvdif fp-p 5 v ol9 output low voltage 0.1(vcc3_3) v 1.5 ma v oh9 output high voltage 0.9(vcc3_3) v -0.5 ma 2 v ol10 output low voltage 0.4 v 6 ma v oh10 output high voltage vccsus3_3 ? 0.5 v -0.5 ma v hsoi hs idle level ? 10.0 10.0 mv v hsoh hs data signaling high 360 440 mv v hsol hs data signaling low ? 10.0 10.0 mv v chirpj chirp j level 700 1100 mv v chirpk chirp k level ? 900 ? 500 mv v ol_hda (mobile/ ultra mobile only) output low voltage 0.1(vcchda) v 1.5 ma v oh_hda (mobile/ ultra mobile only) output high voltage 0.9(vcc_hda) v -0.5 ma notes: 1. maximum i ol for cpupwrgd is 12 ma for short durations (<500 ms per 1.5 s) and 9 ma for long durations. 2. the serr#, pirq[h:a], gpio11, smbdata, smbclk, linkalert#, and smlink[1:0] signal has an open drai n driver and sataled# has an open collector driver, and the v oh spec does not apply. this signal must have an external pull-up resistor. 3. pci express mvdiff p-p = |petp[x] ? petn[x]| free datasheet http://www..net/
intel ? ich7 family datasheet 799 electrical characteristics 4. applicable only wh en sata port signaling rate is 1.5 gb/s: sata vdiff, tx (v omax/min8 ) is measured at the sata connector on the transmit side closest to the ich7 (generally, the motherboard connector), where sat a mv diff p-p = |sataxtxp ? sataxtxn|. 5. applicable only when sata port sign aling rate is 3 gb/s: sata vdiff, tx ( vomax/min8 ) is measured at the sata connector on the transmit side closest to the ich7 (generally, the motherboard connector), where sat a mv diff p-p = |sataxtxp ? sataxtxn|. table 23-8. other dc characteristics symbol parameter min max unit notes v5ref intel ? ich7 core well reference voltage 4.75 5.25 v 1 vcc3_3 i/o buffer voltage 3.135 3.465 v 1 vcc1_5_a, vcc1_5_b, vccusbpll, vccsatapll, vccdmipll internal logic and i/o buffer voltage 1.425 1.575 v 1 v_cpu_io processor interface 0.945 1.25 v 1 , 2 v5ref_sus suspend well reference voltage 4.75 5.25 v 1 vccsus3_3 suspend well i/o buffer voltage 3.135 3.465 v 1 vcc1_05 internal logic voltage 0.998 1.102 v 1 vccsus1_05 suspend well logic voltage 0.998 1.102 v 1 vcclan3_3 (mobile only) lan controller i/o buffer voltage 3.135 3.465 v vcclan1_05 (mobile only) lan controller logic voltage 0.998 1.102 v vccsushda (mobile /ultra mobile only) high definition audio controller low voltage mode suspend voltage 1.425 1.575 v same as vccsus3_3 if not in low voltage mode vcchda (mobile /ultra mobile only) high definition audio controller low voltage mode core voltage 1.425 1.575 v same as vcc3_3 if not in low voltage mode vccrtc battery voltage 2.0 3.6 v 1 v di differential input sensitivity 0.2 v |(usbpx+,usbpx - )| v cm differential common mode range 0.8 2.5 v includes v di v crs output signal crossover voltage 1.3 2.0 v v se single ended rcvr threshold 0.8 2.0 v i li1 ata input leakage current ? 200 200 a (0 v < v in < 5 v) i li2 pci_3v hi-z state data line leakage ? 10 10 a (0 v < v in < 3.3 v) i li3 pci_5v hi-z state data line leakage ? 70 70 a max v in = 2.7 v min v in = 0.5 v i li4 input leakage current ? clock signals ? 100 +100 a 3 free datasheet http://www..net/
electrical characteristics 800 intel ? ich7 family datasheet c in input capacitance ? all other 12 pf f c = 1 mhz c out output capacitance 12 pf f c = 1 mhz c i/o i/o capacitance 12 pf f c = 1 mhz typical value c l xtal1 6 pf c l xtal2 6 pf notes: 1. for all noise components 20 mhz, the sum of the dc voltage and the ac noise component must be within the specified dc min/max operating range on the ich7 supply voltages. 2. the tolerances shown in table 23-8 are inclusive of all noise from dc up to 20 mhz. in testing, the voltage rails should be measured with a bandwidth limited os cilloscope that has a rolloff of 3 db/decade above 20 mhz. 3. includes clk14, clk48, lan_clk, and pciclk. table 23-8. other dc characteristics symbol parameter min max unit notes free datasheet http://www..net/
intel ? ich7 family datasheet 801 electrical characteristics 23.4 ac characteristics 1 table 23-9. clock timings (sheet 1 of 2) sym parameter min max unit notes figur e pci clock (pciclk) t1 period 30 33.3 ns 23-1 t2 high time 11 ns 23-1 t3 low time 11 ns 23-1 t4 rise time 1 4 v/ns 23-1 t5 fall time 1 4 v/ns 23-1 14 mhz clock (clk14) t6 period 67 70 ns 23-1 t7 high time 20 ns 23-1 t8 low time 20 ns 23-1 t41 rising edge rate 1.0 4.0 v/ns 1 t42 falling edge rate 1.0 4.0 v/ns 1 48 mhz clock (clk48) f clk48 operating frequency 48.00 0 mhz 2 t9 frequency tolerance 100 ppm t10 high time 7 ns 23-1 t11 low time 7 ns 23-1 t12 rise time 1.2 ns 23-1 t13 fall time 1.2 ns 23-1 smbus clock (smbclk) f smb operating frequency 10 16 khz t18 high time 4.0 50 us 3 23-16 t19 low time 4.7 us 23-16 t20 rise time 1000 ns 23-16 t21 fall time 300 ns 23-16 free datasheet http://www..net/
electrical characteristics 802 intel ? ich7 family datasheet ac ?97 clock (acz_bit_clk - ac ?97 mode) (desktop and mobile only) f ac97 operating frequency 12.288 mhz t26 input jitter (refer to clock chip specification) ? 2 ns 4 t27 high time 36 45 ns 23-1 t28 low time 36 45 ns 23-1 t29 rise time 2.0 6.0 ns 5 23-1 t30 fall time 2.0 6.0 ns 5 23-1 acz_bit_clk (intel ? high definition audio mode) fhda operating frequency 24.0 mhz frequency tolerance ? 100 ppm t26a input jitter (refer to clock chip specification) ? 300 ppm t27a high time (measured at 0.75vcc) 18.75 22.91 ns 23-1 t28a low time (measured at 0.35vcc) 18.75 22.91 ns 23-1 sata clock (sata_clkp, sata_clkn) / dmi clock (dmi_clkp, dmi_clkn) (desktop and mobile only) t36 period 9.997 10.053 3 ns t37 rise time 175 700 ps t38 fall time 175 700 ps suspend clock (susclk) f suscl k operating frequency 32 khz 6 t39 high time 10 ? us 6 t39a low time 10 ? us 6 notes: 1. clk14 edge rates in a system as measured from 0.8 v to 2.0 v. 2. the clk48 expects a 40/60% duty cycle. 3. the maximum high time (t18 max) provides a simple method for devices to dete ct bus idle conditions. 4. the ich7 can tolerate a maximum of 2 ns of jitter from the input bitclk. note that clock jitter ma y impact system timing. contact your intel representative for further details and documentation. 5. bitclk rise and fall times are measured from 10%vdd and 90%vdd. 6. susclk duty cycle can range from 30% minimum to 70% maximum. table 23-9. clock timings (sheet 2 of 2) sym parameter min max unit notes figur e free datasheet http://www..net/
intel ? ich7 family datasheet 803 electrical characteristics table 23-10. pci interface timing sym parameter min max units notes figure t40 ad[31:0] valid delay 2 11 ns 1 23-2 t41 ad[31:0] setup time to pciclk rising 7 ? ns 23-3 t42 ad[31:0] hold time from pciclk rising 0 ? ns 23-3 t43 c/be[3:0]#, frame#, tr dy#, irdy#, stop#, par, perr#, plock#, devsel# valid delay from pciclk rising 2 11 ns 1 23-2 t44 c/be[3:0]#, frame#, tr dy#, irdy#, stop#, par, perr#, plock#, idsel, devsel# output enable delay from pciclk rising 2 ? ns 23-6 t45 c/be[3:0]#, frame#, tr dy#, irdy#, stop#, perr#, plock#, devsel #, gnt[a:b]# float delay from pciclk rising 2 28 ns 23-4 t46 c/be[3:0]#, frame#, tr dy#, irdy#, stop#, serr#, perr#, devsel#, setup time to pciclk rising 7 ? ns 23-3 t47 c/be[3:0]#, frame#, tr dy#, irdy#, stop#, serr#, perr#, devsel#, req[a:b]# hold time from pclkin rising 0 ? ns 23-3 t48 pcirst# low pulse width 1 ? ms 23-5 t49 gnt[5:0]# valid delay from pciclk rising note: gnt[2:0]# not on ultra mobile. 2 12 ns t50 req[5:0]# setup time to pciclk rising note: req[2:0]# not on ultra mobile. 12 ? ns notes: 1. refer to note 3 of table 4-4 in section 4.2.2.2 and note 2 of table 4-6 in section 4.2.3.2 of the pci local bus specification, revision 2.3 for measurement details. free datasheet http://www..net/
electrical characteristics 804 intel ? ich7 family datasheet table 23-11. ide pio mode timings sym parameter mode 0 (ns) mode 1 (ns) mode 2 (ns) mode 3 (ns) mode 4 (ns) figure t60 cycle time (min) 600 383 240 180 120 23-7 t61 addr setup to diow#/ dior# (min) 70 50 30 30 25 23-7 t62 dirw#/dior# (min) 165 125 100 80 70 23-7 t62i diow#/dior# recovery time (min) ? ? ? 70 25 23-7 t63 diow# data setup (min) 60 45 30 30 20 23-7 t64 diow# data hold (min) 30 20 15 10 10 23-7 t65 dior# data setup (min) 50 35 20 20 20 23-7 t66 dior# data hold (min) 5 5 5 5 5 23-7 t66z dior# data tristate (max) 30 30 30 30 30 23-7 t69 diow#/dior# to address valid hold (min) 20 15 10 10 10 23-7 t60rd read data valid to iordy active (min) 0 0 0 0 0 23-7 t60a iordy setup 35 35 35 35 35 23-7 t60b iordy pulse width (max) 1250 1250 1250 1250 1250 23-7 t60c iordy assertion to release (max) 5 5 5 5 5 23-7 table 23-12. ide multiword dma timings sym parameter mode 0 (ns) mode 1 (ns) mode 2 (ns) figure t70 cycle time (min) 480 150 120 23-8 t70d dior#/diow# (min) 215 80 70 23-8 t70e dior# data access (max) 150 60 50 23-8 t70f dior# data hold (min) 5 5 5 23-8 t70g dior#/diow# data setup (min) 100 30 20 23-8 t70h diow# data hold (min) 20 15 10 23-8 t70i ddack# to dior#/diow# setup (min) 0 0 0 23-8 t70j dior#/diow# to ddack# hold (min) 20 5 5 23-8 t70kr dior# negated pulse width (min) 50 50 25 23-8 t70kw diow# negated pulse width (min) 215 50 25 23-8 t70lr dior# to ddreq delay (max) 120 40 35 23-8 t70lw diow# to ddreq delay (max) 40 40 35 23-8 t70m dcs1#/dcs3# valid to dior#/diow# (min) 50 30 25 23-8 t70n dcs1#/dcs3# hold (min) 15 10 10 23-8 t70z ddack# to tristate (max) 20 25 25 23-8 free datasheet http://www..net/
intel ? ich7 family datasheet 805 electrical characteristics table 23-13. ultra ata timing (mode 0, mode 1, mode 2) (sheet 1 of 2) sym parameter 1 mode 0 (ns) mode 1 (ns) mode 2 (ns) measuring location figure min max min max min max t80 sustained cycle time (t2cyctyp) 240 160 120 sender connector t81 cycle time (tcyc) 112 ? 73 ? 54 ? end recipient connector 23-10 t82 two cycle time (t2cyc) 230 ? 153 ? 115 ? sender connector 23-10 t83a data setup time (tds) 15 ? 10 ? 7 ? recipient connector 23-10 t83b recipient ic data setup time (from data valid until strobe edge) (see note 2 ) (tdsic) 14. 7 ? 9.7 ? 6.8 ? intel ? ich7 ball t84a data hold time (tdh) 5 ? 5 ? 5 ? recipient connector 23-10 t84b recipient ic data hold time (from strobe edge until data may become invalid) (see note 2 ) (tdhic) 4.8 ? 4.8 ? 4.8 ? ich7 ball t85a data valid setup time (tdvs) 70 ? 48 ? 31 ? sender connector 23-10 t85b sender ic data valid setup time (from data valid until strobe edge) (see note 2 ) (tdvsic) 72. 9 ? 50. 9 ? 33. 9 ? ich7 ball t86a data valid hold time (tdvh) 6.2 ? 6.2 ? 6.2 ? sender connector 23-10 t86b sender ic data valid hold time (from strobe edge until data may become invalid) (see note 2 ) (tdvhic) 9 ? 9 ? 9 ? ich7 ball t87 limited interlock time (tli) 0 150 0 150 0 150 see note 2 23-12 t88 interlock time w/ minimum (tmli) 20 ? 20 ? 20 ? host connector 23-12 t89 envelope time (tenv) 20 70 20 70 20 70 host connector 23-9 t90 ready to pause time (trp) 160 ? 125 ? 100 ? recipient connector 23-11 t91 dmack setup/hold time (tack) 20 ? 20 ? 20 ? host connector 23-9 , 23-12 t92a crc word setup time at host (tcvs) 70 ? 48 ? 31 ? host connector free datasheet http://www..net/
electrical characteristics 806 intel ? ich7 family datasheet t92b crc word valid hold time at sender (from dmack# negation until crc may become invalid) (see note 2 ) (tcvh) 6.2 ? 6.2 ? 6.2 ? host connector t93 strobe output released-to- driving to the first transition of critical timing (tzfs) 0 ? 0 ? 0 ? device connector 23-12 t94 data output released-to- driving until the first tunisian of critical timing (tdzfs) 70 ? 48 ? 31 ? sender connector 23-9 t95 unlimited interlock time (tui) 0 ? 0 ? 0 ? host connector 23-9 t96a maximum time allowed for output drivers to release (from asserted or negated) (taz) ? 10 ? 10 ? 10 see note 2 t96b minimum time for drivers to assert or negate (from released) (tzad) 0 ? 0 ? 0 ? device connector t97 ready-to-final-strobe time (no strobe edges shall be sent this long after negation of dmardy#) (trfs) ? 75 ? 70 ? 60 sender connector 23-9 t98a maximum time before releasing iordy (tiordyz) ? 20 20 20 device connector t98b minimum time before driving iordy (see note 2 ) (tziordy) 0 ? 0 ? 0 ? device connector t99 time from strobe edge to negation of dmarq or assertion of stop (when sender terminates a burst) (tss) 50 ? 50 ? 50 ? sender connector 23-11 notes: 1. the specification symbols in parentheses correspond to the at attachment ? 6 with packet interface (ata/atapi ? 6) specification name. 2. see the at attachment ? 6 with packet interface (ata/atapi ? 6) specification for further details on measuring these ti ming parameters. table 23-13. ultra ata timing (mode 0, mode 1, mode 2) (sheet 2 of 2) sym parameter 1 mode 0 (ns) mode 1 (ns) mode 2 (ns) measuring location figure min max min max min max free datasheet http://www..net/
intel ? ich7 family datasheet 807 electrical characteristics table 23-14. ultra ata timing (mode 3, mode 4, mode 5) (sheet 1 of 2) sym parameter 1 mode 3 (ns) mode 4 (ns) mode 5 (ns) measuring location figure min max min max min max t80 sustained cycle time (t2cyctyp) 90 60 40 sender connector t81 cycle time (tcyc) 39 ? 25 ? 16. 8 ? end recipient connector 23-10 t82 two cycle time (t2cyc) 86 ? 57 ? 38 ? sender connector 23-10 t83 data setup time (tds) 7 ? 5 ? 4.0 ? recipient connector 23-10 t83b recipient ic data setup time (from data valid until strobe edge) (see note 2 ) (tdsic) 6.8 ? 4.8 ? 2.3 ? ich7 balls t84 data hold time (tdh) 5 ? 5 ? 4.6 ? recipient connector 23-10 t84b recipient ic data hold time (from strobe edge until data may become invalid) (see note 2 ) (tdhic) 4.8 ? 4.8 ? 2.8 ? ich7 balls t85 data valid setup time (tdvs) 20 ? 6.7 ? 4.8 ? sender connector 23-9 23-10 t85b sender ic data valid setup time (from data valid until strobe edge) (see note 2 ) (tdvsic) 22. 6 ? 9.5 ? 6.0 ? ich7 balls t86 data valid hold ti me (tdvh) 6.2 ? 6.2 ? 4.8 ? sender connector 23-9 23-10 t86b sender ic data valid hold time (from strobe edge until data may become invalid) (see note 2 ) (tdvhic) 9.0 ? 9.0 ? 6.0 ? ich7 balls t87 limited interlock time (tli) 0 100 0 100 0 75 see note 2 23-12 t88 interlock time w/ minimum (tmli) 20 ? 20 ? 20 ? host connector 23-12 t89 envelope time (tenv) 20 55 20 55 20 50 host connector 23-10 t90 ready to pause time (trp) 100 ? 100 ? 85 ? recipient connector 23-11 t91 dmack setup/hold time (tack) 20 ? 20 ? 20 ? host connector 23-12 t92a crc word setup time at host (tcvs) 20 ? 6.7 ? 10 ? host connector free datasheet http://www..net/
electrical characteristics 808 intel ? ich7 family datasheet t92b crc word hold time at sender crc word valid hold time at sender (from dmack# negation until crc may become invalid) (see note 2 ) (tcvh) 6.2 ? 6.2 ? 10. 0 ? host connector t93 strobe output released-to- driving to the first transition of critical timing (tzfs) 0 ? 0 ? 35 ? device connector 23-12 t94 data output released-to- driving until the first transition of critical timing (tdzfs) 20. 0 ? 6.7 ? 25 ? sender connector t95 unlimited interlock time (tui) 0 ? 0 ? 0 ? host connector t96a maximum time allowed for output drivers to release (from asserted or negated) (taz) ? 10 ? 10 ? 10 see note 2 t96b drivers to assert or negate (from released) (tzad) 0 ? 0 ? 0 ? device connector t97 ready-to-final-strobe time (no strobe edges shall be sent this long after negation of dmardy#) (trfs) ? 60 ? 60 ? 50 sender connector t98a maximum time before releasing iordy (tiordyz) ? 20 ? 20 ? 20 device connector t98b minimum time before driving iordy (see note 2 ) (tziordy) 0 ? 0 ? 0 ? device connector t99 time from strobe edge to negation of dmarq or assertion of stop (when sender terminates a burst) (tss) 50 ? 50 ? 50 ? sender connector 23-11 notes: 1. the specification symbols in parentheses correspond to the at attachment ? 6 with packet interface (ata/atapi ? 6) specification name. 2. see the at attachment ? 6 with packet interface (ata/atapi ? 6) specification for further details on measuring these ti ming parameters. table 23-14. ultra ata timing (mode 3, mode 4, mode 5) (sheet 2 of 2) sym parameter 1 mode 3 (ns) mode 4 (ns) mode 5 (ns) measuring location figure min max min max min max free datasheet http://www..net/
intel ? ich7 family datasheet 809 electrical characteristics table 23-15. universa l serial bus timing sym parameter min max units notes fig full-speed source 1 t100 usbpx+, usbpx- driver rise time 4 20 ns note 2 , c l = 50 pf 23-13 t101 usbpx+, usbpx- driver fall time 4 20 ns note 2 , c l = 50 pf 23-13 t102 source differential driver jitter to next transition for paired transitions ? 3.5 ? 4 3.5 4 ns ns 3, 4 23-14 t103 source se0 interval of eop 160 175 ns 5 23-15 t104 source jitter for differential transition to se0 transition ? 2 5 ns 6 t105 receiver data jitter tolerance to next transition for paired transitions ? 18.5 ? 9 18.5 9 ns ns 4 23-14 t106 eop width: must accept as eop 82 ? ns 5 23-15 t107 width of se0 interval during differential transition ? 14 ns low-speed source 7 t108 usbpx+, usbpx ? driver rise time 75 300 ns note 2 , 8 , c l = 50 pf c l = 350 pf 23-13 t109 usbpx+, usbpx ? driver fall time 75 300 ns note 2 , 8 , c l = 50 pf c l = 350 pf 23-13 t110 source differential driver jitter to next transition for paired transitions ? 25 ? 14 25 14 ns ns 3 , 4 23-14 t111 source se0 interval of eop 1.25 1.50 s 5 23-15 t112 source jitter for differential transition to se0 transition ? 40 100 ns 6 t113 receiver data jitter tolerance to next transition for paired transitions ? 152 ? 200 152 200 ns ns 4 23-14 t114 eop width: must accept as eop 670 ? ns 5 23-15 t115 width of se0 interval during differential transition ? 210 ns notes: 1. full-speed data rate has minimum of 11.97 mb/s and maximum of 12.03 mb/s. 2. driver output resistance under steady state driv e is specified at 28 ohms at minimum and 43 ohms at maximum. 3. timing difference between the differential data signals. 4. measured at crossover point of differential data signals. 5. measured at 50% swing point of data signals. 6. measured from last crossover point to 50% sw ing point of data line at leading edge of eop. 7. low-speed data rate has a minimum of 1.48 mb/s and a maximum of 1.52 mb/s. 8. measured from 10% to 90% of the data signal. free datasheet http://www..net/
electrical characteristics 810 intel ? ich7 family datasheet table 23-16. sata interface timi ngs (desktop and mobile only) sym parameter min max units notes figure ui gen i operating data period 666.43 670.12 ps ui-2 gen ii operating data period (3gb/s) 333.21 335.06 ps t120 rise time 0.2 0.41 ui 1 notes: 1. 20% ? 80% at transmitter t121 fall time 0.2 0.41 ui 2 2. 80% ? 20% at transmitter t122 tx differential skew ? 20 ps t123 comreset 310.4 329.6 ns 3 3. as measured from 100 mv differential cro sspoints of last and first edges of burst. t124 comwake transmit spacing 103.5 109.9 ns 3 t125 oob operating data period 646.67 686.67 ns 4 4. operating data period during out-of-band burst transmissions. table 23-17. smbus timing sym parameter min max units notes figure t130 bus tree time between stop and start condition 4.7 ? s 23-16 t131 hold time after (repeated) start condition. after this period, the first clock is generated. 4.0 ? s 23-16 t132 repeated start condition setup time 4.7 ? s 23-16 t133 stop condition setup time 4.0 ? s 23-16 t134 data hold time 0 ? ns 1 notes: 1. t134 has a minimum timing for i 2 c of 0 ns, while the minimum timing for smbus is 300 ns. 23-16 t135 data setup time 250 ? ns 23-16 t136 device time out 25 35 ms 2 2. a device will timeout when an y clock low exceeds this value. t137 cumulative clock low extend time (slave device) ? 25 ms 3 3. t137 is the cumulative time a slave device is allowed to extend the clock cycles in one message from the initial start to stop. if a slave device exceeds this time, it is expected to release both its clock and dat a lines and reset itself. 23-17 t138 cumulative clock low extend time (master device) ? 10 ms 4 4. t138 is the cumulative time a master device is allowed to extend its clock cycles within each byte of a message as defined from start-to-ack, ack-to-ack or ack-to-stop. 23-17 free datasheet http://www..net/
intel ? ich7 family datasheet 811 electrical characteristics 1 table 23-18. ac ?97 / intel ? high definition audio timing sym parameter min max units notes figures t140 acz_sdin[2:0] setup to falling edge of acz_bit_clk 10 ? ns 1 23-30 t141 acz_sdin[2:0] hold from falling edge of acz_bit_clk 10 ? ns 1 23-30 t142 acz_sync, acz_sdout valid delay from rising edge of acz_bit_clk ? 15 ns 1 23-30 t143 time duration for whic h acz_sdout is valid before acz_bit_clk edge. 7 ? ns 2 23-31 t144 time duration for whic h acz_sdout is valid after acz_bit_clk edge. 7 ? ns 2 23-31 t145 setup time for acz_sdin[2:0] at rising edge of acz_bit_clk 15 ? ns 2 23-31 t146 hold time for acz_sdin[2:0] at rising edge of acz_bit_clk 0 ? ns 2 23-31 notes: 1. audio link operating in ac ?97 mode. (desktop and mobile only) 2. audio link operatin g in intel high definition audio mode. table 23-19. lpc timing sym parameter min max units notes figures t150 lad[3:0] valid delay from pciclk rising 2 11 ns 23-2 t151 lad[3:0] output enable delay from pciclk rising 2 ? ns 23-6 t152 lad[3:0] float delay from pciclk rising ? 28 ns 23-4 t153 lad[3:0] setup time to pciclk rising 7 ? ns 23-3 t154 lad[3:0] hold time from pciclk rising 0 ? ns 23-3 t155 ldrq[1:0]# setup time to pciclk rising 12 ? ns 23-3 t156 ldrq[1:0]# hold time from pciclk rising 0 ? ns 23-3 t157 lframe# valid delay from pciclk rising 2 12 ns 23-2 table 23-20. miscellaneous timings sym parameter min max units notes figures t160 serirq setup time to pciclk rising 7 ? ns 23-3 t161 serirq hold time from pciclk rising 0 ? ns 23-3 t162 ri#, extsmi#, gpio, usb resume pulse width 2 ? rtcclk 23-5 t163 spkr valid delay from osc rising ? 200 ns 23-2 t164 serr# active to nmi active ? 200 ns t165 ignne# inactive from ferr# inactive ? 230 ns free datasheet http://www..net/
electrical characteristics 812 intel ? ich7 family datasheet table 23-21. spi timings (desktop and mobile only) sym parameter min max units notes figures t180 serial clock frequency 17.3 18.4 mhz 1 notes: 1. the typical clock frequency dr iven by the ich7 is 17.9 mhz. t182 duty cycle at the host 40 60 % 23-32 t183 tco of spi_mosi with respect to serial clock falling edge at the host -5 13 ns 23-32 t184 setup of spi_miso with respect to serial clock falling edge at the host 16 ? ns 23-32 t185 hold of spi_miso with respect to serial clock falling edge at the host 0 ? ns 23-32 t186 setup of spi_cs# asse rtion with respect to serial clock rising at the host. 30 ? ns 23-32 t187 hold of spi_cs# deassertion with respect to serial clock falling at the host. 30 ? ns 23-32 table 23-22. (power sequencing and reset signal timing s (sheet 1 of 2) sym parameter min max units notes fig t200 vccrtc active to rtcrst# inactive 18 ? ms 23-18 23-19 t201 v5ref_sus active to vccsus3_3 active 0 ? ms 1 23-18 23-19 t202 vccsus3_3 active to vccsus1_05 active ? ? ? 2 23-18 23-19 t203 vccrtc supply active to vccsus supplies active 0 ? ms 3 23-18 23-19 t204 vccsus supplies active to lan_rst# inactive, rsmrst# inactive (desktop only) 10 ? ms 23-18 23-20 t205 vccsus supplies active to rsmrst# inactive (mobile/ultra mobile only) 5 ? ms 23-19 23-21 t206 vcclan3_3 active to vcclan1_05 active (mobile only) ? ? ? 4 23-19 t207 vccsus supplies active to vcclan supplies active (mobile only) 0 ? ms 5 23-19 t208 vcclan supplies acti ve to lan_rst# inactive (mobile only) 10 ? ms 23-19 t209 v5ref active to vcc3_3 active 0 ? ms 1 23-18 23-19 t211 vcc1_5 active to v_cpu_io active ? ? ? 6 23-18 23-19 free datasheet http://www..net/
intel ? ich7 family datasheet 813 electrical characteristics t212 vcclan supplies active to vcc supplies active (mobile only) 0 ? ms 5 23-19 t213 vccsus supplies active to vcc supplies active (desktop only) 0 ? ms 3 23-18 t214 vcc supplies active to pwrok note: pwrok assertion indicates that pciclk has been stable for at least 1 ms. 99 ? ms 5 , 7 23-18 23-19 23-20 23-21 23-23 23-24 23-25 23-26 t215 v_cpu_io active to stpclk# and cpuslp# inactive (desktop only) ? 50 ns 23-20 23-23 23-24 t216 vcc active to dprslpvr inactive and stpclk#, stp_cpu#, stp_pci#, dpslp#, dprstp# inactive (mobile/ultra mobile only) ? 50 ns 23-21 23-25 23-26 t217 pwrok and vrmpwrgd active and sys_reset# inactive to sus_stat# inactive and processo r i/f signals latched to strap value 32 38 rtcclk 8, 9 23-20 23-21 23-23 23-24 23-25 23-26 t218 sus_stat# inactive to pltrst# inactive 2 3 rtcclk 9 23-20 23-21 23-23 23-24 23-25 23-26 t228 acz_rst# active low pulse width 1 ? us t229 acz_rst# inactive to acz_bit_clk startup delay 162.8 ? ns notes: 1. 5ref must be powered up before v cc3_3, or after vcc3_3 within 0.7 v. also, v5ref must power down after vcc3_3, or before vcc3_3 within 0.7 v. 2. the associated 3.3 v and 1.05 v supplies are assumed to power up or down ?together?. if the integrated vccsus1_05 voltage regulator is not used: a ) vccsus3_3 must power up before vccsus1_05 or after vccsus1_05 within 0.7 v, b ) vccsus1_05 must power down before vc csus3_3 or after vccsus3_3 within 0.7 v. 3. the vccsus supplies must not be active while the vccrtc supply is inactive. 4. (mobile only) ? a ) vcclan3_3 must power up before vcclan 1_05 or after vcclan1_05 within 0.7 v, b ) vcclan1_05 must power down before vc clan3_3 or after vcclan3_3 within 0.7v. 5. (mobile only) - vcc or vcclan supplies must not be acti ve while the vccsus supplies are inactive, and the vcc supplies must not be active while the vcclan supplies are inactive. 6. vcc1_5 must power up before v_cpu_io or after v_ cpu_io within 0.7 v, b) v_cpu_io must power down before vcc1_5 or after vcc1_5 within 0.7 v. 7. vcc supplies refer to all ?core well? supplies: vcc 3_3, vcc1_05, vcc1_5, v5re f, vccusbpll, vccdmipll, vccsatapll, v_cpu_io and vcchda (mobile only). it im plies that all ?suspend wells? and vccrtc are stable too. 8. init# value determined by value of the cpu bist enab le bit (chipset configuration register offset 3414h: bit 2). 9. these transitions are clocked off the internal rtc. 1 rtc clock is approximately from 28.992 s to 32.044 s. table 23-22. (power sequencing and reset signal timings (sheet 2 of 2) sym parameter min max units notes fig free datasheet http://www..net/
electrical characteristics 814 intel ? ich7 family datasheet table 23-23. power management timings (sheet 1 of 3) sym parameter min max units notes fig t230 vccsus active to slp_s5#, slp_s4#, slp_s3#, sus_stat#, pltrst# and pcirst#active 50 ns 23-20 23-21 t231 t232 rsmrst# inactive to susclk running, slp_s5# inactive 110 ms 1, 2 23-20 23-21 t233 slp_s5# inactive to slp_ s4# inactive see note below 3 23-20 23-21 t234 slp_s4# inactive to slp_s3# inactive 1 2 rtcclk 4 23-20 23-21 t250 processor i/f signal s latched prior to stpclk# active (mobile/ultra mobile only) 0 5 23-27 23-29 23-30 t253 dpslp#/ultra mobile active to stp_cpu# active (mobile only) 1 1 pciclk 6 23-28 23-29 t254 stp_cpu# active to pr ocessor clock stopped (mobile/ultra mobile only) 0 ? pciclk 6 , 7 23-29 23-30 t255 stp_cpu# active to dprstp#, dprslpvr active (mobile/ultra mobile only) 0 23-29 t265 break event to dprstp#, dprslpvr inactive (c4 exit) (mobile/ultra mobile only) 1.5 1.8 s 8 23-29 t266 dprslpvr, dprstp# inactive to stp_cpu# inactive and cpu vcc ramped (mobile/ultra mobile only) programable. see d31:f0:aa, bits 3:2 s 23-29 t267 break event to stp_cpu# inactive (c3 exit) (mobile/ultra mobile only) 6 note 14 pciclk 6 , 9, 10 23-28 t268 stp_cpu# inactive to processor clock running (mobile/ultra mobile only) 0 3 pciclk 6 , 7 23-29 23-30 t269 stp_cpu# inactive to dpslp# inactive (mobile/ultra mobile only) 1 1 pciclk 6 , 11 23-28 23-29 t271 s1 wake event to cpuslp# inactive (desktop only) 1 25 pciclk 6 23-22 t273 break event to stpclk# inactive (c2 exit) (mobile/ultra mobile only) 0 ns 23-27 t274 stpclk# inactive to processor i/f signals unlatched (mobile/ultra mobile only) 8 9 pciclk 5 , 6 23-27 23-29 23-30 t280 stpclk# active to dmi message 0 pciclk 12 23-22 23-23 23-24 23-25 23-26 free datasheet http://www..net/
intel ? ich7 family datasheet 815 electrical characteristics t281 dmi message to cpuslp# active (desktop only) 60 63 pciclk 6 23-22 t283 dmi message to sus_stat# active 2 rtcclk 4 23-23 23-24 23-25 23-26 t284 sus_stat# active to pltrst#, pcirst# active (desktop only) 7 17 rtcclk 4 23-23 23-24 t285 sus_stat# active to stp_pci# active (mobile/ultra mobile only) 2 10 rtcclk 4 23-25 23-26 t286 stp_pci# active to pltrst# and pcirst# active (mobile/ultra mobile only) 5 7 rtcclk 4 23-25 23-26 t287 pltrst#, pcirst# active to slp_s3# active 1 2 rtcclk 4 23-23 23-24 23-25 23-26 t288 (s3 cold configuration only) slp_s3# active to pwrok, vrmpwrgd inactive (mobile/ultra mobile only) 0 ms 13 23-25 t289 slp_s3# active to pwrok, vrmpwrgd inactive (desktop only) 0 ms 13 23-23 t290 (s3 cold configuration only) pwrok, vrmpwrgd inactive to vcc supplies inactive (mobile/ultra mobile only) 20 ns 14 , 15 23-25 t291 slp_s3# active to slp_s4# active 1 2 rtcclk 4 23-23 23-24 23-25 23-26 t292 (s3 hot configuration only) slp_s4# active to vrmpwrgd and pwrok inactive 0 ms 13 23-24 23-26 t293 (s3 hot configuration only) pwrok, vrmpwrgd inactive to vcc supplies inactive 20 ns 14 , 15 23-24 23-26 t294 pwrok, vrmpwrgd inac tive to vcc supplies inactive (desktop only) 20 ns 14 , 15 23-23 t295 slp_s4# active to slp_s5# active 1 2 rtcclk 4 , 16 23-23 23-24 23-25 23-26 t296 wake event to slp_s5# inactive 1 10 rtcclk 4 23-23 23-24 23-25 23-26 t297 slp_s5# inactive to slp_ s4# inactive see note below 3 23-23 23-24 23-25 23-26 table 23-23. power management timings (sheet 2 of 3) sym parameter min max units notes fig free datasheet http://www..net/
electrical characteristics 816 intel ? ich7 family datasheet t298 slp_s4# inactive to slp_s3# inactive 1 2 rtcclk 4 23-23 23-24 23-25 23-26 t299 s4 wake event to slp_s4# inactive (s4 wake) see note below 3 23-23 23-24 23-25 23-26 t300 s3 wake event to slp_s3# inactive (s3 wake) 0 small as possi ble rtcclk 4 23-23 23-24 23-25 23-26 t301 cpuslp# inactive to stpclk# inactive (desktop only) 8 pciclk 23-22 t302 slp_s3# inactive to ich7 check for pwrok active 4 5 msec 23-23 23-24 23-25 23-26 t303 slp_s3# active to vcc supplies inactive 5 us 15 , 17 other timings t310 thrmtrip# active to slp_s3#, slp_s4#, slp_s5# active 3 pci clk t311 rsmrst# rising edge transition from 20% to 80% 50 us t312 rsmrst# falling edge transition 18 notes: 1. if there is no rtc battery in the system, so vccrtc and the vccsus supplies come up together, the delay from rtcrst# and rsmrst# inactive to susclk toggling may be as much as 2.5 s. 2. if the afterg3_en bit (gen_pmcon_3 configuration regist er bit 1) is set to a 1, slp_s5# will not be de- asserted until a wake event is detect ed. if the afterg3_en bit is set to 0, slp_s5# will deassert within the specification listed in the table. 3. the min/max times depend on the programming of the ?slp_s4# minimum assertion width? and the ?slp_s4# assertion stretch enable bits (d31:f0:a4h bits 5:3). 4. these transitions are clocked off the internal rtc. 1 rtc clock is approximately 28.992 s to 32.044 s. 5. note that this does not apply for synchronous smis. 6. these transitions are clocked off the 33 mhz pciclk. 1 pciclk is approximately 30 ns. 7. this is a clock ge nerator specification. 8. this is non-zero to enforce the minimum assert time for dprslpvr. if the minimu m assert time for dprslpvr has been met, then this is permitted to be 0. 9. this is non-zero to enforce the mi nimum assert time for stp_cpu#. if the minimum assert time for stp_cpu# has been met, then this is permitted to be 0. 10.this value should be at most a few clocks greater than the minimum. 11.this value is programmable in multiples of 1024 pci clks. maximum is 8192 pci clks (245.6 s). 12.the ich7 stpclk# assertion will trigge r the processor to send a stop grant acknowle dge cycle. the timing for this cycle getting to the ic h7 is dependant on the processor and the memory controller. 13.the ich7 has no maximum timing requirement for this tran sition. it is up to the system designer to determine if the slp_s3#, slp_s4# and slp_s5# signals are used to control the power planes. 14.t290, t293, and t294 apply during s0 to g3 transitions only. in addition, the timing s are not applied to v5ref. v5ref timings are bonded by power sequencing. 15.a vcc supply is inactive when the voltage is below the min value specified in table 23-8 . 16.if the transition to s5 is due to power button ove rride, slp_s3#, slp_s4# and slp_s5# are asserted together similar to timing t287 (pcirst# active to slp_s3# active). 17.t303 applies during s0 to s3-s5 transitions. 18.rsmrst# falling edge must transition to 0. 8 v or less before vccsus3_3 drops to 2.1 v. table 23-23. power management timings (sheet 3 of 3) sym parameter min max units notes fig free datasheet http://www..net/
intel ? ich7 family datasheet 817 electrical characteristics 23.5 timing diagrams figure 23-1. clock timing figure 23-2. valid delay from rising clock edge figure 23-3. setup and hold times 2.0v 0.8v period high time low time fall time rise time clock 1.5v valid delay vt output clock vt input hold time setup time vt 1.5v free datasheet http://www..net/
electrical characteristics 818 intel ? ich7 family datasheet figure 23-4. float delay figure 23-5. pulse width figure 23-6. output enable delay input vt output float delay vt pulse width vt clock output output enable delay vt 1.5v free datasheet http://www..net/
intel ? ich7 family datasheet 819 electrical characteristics figure 23-7. ide pio mode figure 23-8. ide multiword dma cs0#, cs1#, da[2:0] dior#/diow# dd[15:0] writes dd[15:0] reads iordy iordy t60 t61 t62 t69 t62i t63 t64 t65 t66 t66z t60a t60b t60rd t60c t60c cs0#/ cs1# ddreq ddack# dior#/diow# dd[15:0] read dd[15:0] write t70m t70n t70 t70l t70i t70d t70k t70j t70e t70f t70z t70g t70g t70h free datasheet http://www..net/
electrical characteristics 820 intel ? ich7 family datasheet figure 23-9. ultra ata mode (d rive initiating a burst read) figure 23-10. ultra ata mode (sustained burst) dmarq (drive) t91 t89 t89 dmack# (host) stop (host) dmardy# (host) strobe (drive) dd[15:0] da[2:0], cs[1:0] t96 t98 t94 t95 t85 t86 t97 t99b strobe @ sender t81 data @ sender t86 t85 t86 t85 t81 t82 t86 strobe @ receiver data @ receiver t84 t83 t84 t83 t84 t99e t99e t99e t99d t99d t99g t99g t99g t99f t99f free datasheet http://www..net/
intel ? ich7 family datasheet 821 electrical characteristics figure 23-11. ultra ata mode (pausing a dma burst) figure 23-12. ultra ata mode (terminating a dma burst) t90 strobe data s top (host) dmardy# t99 t88 stop (host) strobe (host) dmardy# (drive) data (host) dmack# (host) t91 t87 dmarq (drive) crc t99c t87 t99a t91 t92 t93 free datasheet http://www..net/
electrical characteristics 822 intel ? ich7 family datasheet figure 23-13. usb rise and fall times figure 23-14. usb jitter figure 23-15. usb eop width differential data lines 90% 10% 10% 90% t r t f rise time fall time c l c l low-speed: 75 ns at c l = 50 pf, 300 ns at c l = 350 pf full-speed: 4 to 20 ns at c l = 50 pf high-speed: 0.8 to 1.2 ns at c l = 10 pf paired transitions consecutive transitions crossover points t period differential data lines jitter differential data lines eop width data crossover level tperiod free datasheet http://www..net/
intel ? ich7 family datasheet 823 electrical characteristics figure 23-16. smbus transaction figure 23-17. smbus timeout t130 smbclk smbdata t131 t19 t134 t20 t21 t135 t132 t18 t13 3 start stop t137 clk ack clk ack t138 t138 smbclk smbdata free datasheet http://www..net/
electrical characteristics 824 intel ? ich7 family datasheet notes: 1. other power includes vccusbpl l, vccdmipll, and vccsatapll . all of these power signals must independently meet the timings shown in the figure. there are no timing interdependencies between vcc1_05 and these other power signals. there are also no timing interdependencies for these power si gnals, including vcc1_05, to vcc3_3 and vcc1_5_a/vcc1_5_b. however, if vcc3_3 (core well buffer) is powered before vcc1_05 (core well logic), core well si gnal states are indete rminate, undefined, and may glitch prior to pwrok assertion. refer to section 3.3 and section 3.4 for a list of signals that will be determinate be fore pwrok. 2. prwok must not glitch, even if rsmrst# is low. figure 23-18. power sequencing and reset signal timing s (desktop only) vccrtc v_cpu_io vccsus3_3 rtcrst# lan_rst#, rsmrst# t200 t201 ich 7 p s d kt d v5ref_sus v5ref pwrok vcc3_3 vccsus1_05 t203 t204 t209 t211 t214 t202 t213 vcc1_5_a, vcc1_5_b vcc1_05 and other power 1 free datasheet http://www..net/
intel ? ich7 family datasheet 825 electrical characteristics notes: 1. other power includes vccusbpll, vccdmipll, and vccsat apll. all of these power signals must independently meet the timings shown in the figure. there are no timing interdependencies between vcc1_05 and these other power signals. there are also no timing interdependencies for these power si gnals, including vcc1_05, to vcc3_3 and vcc1_5_a/vcc1_5_b. however, if vcc3_3 (core well buffer) is powered before vcc1_05 (core well logic), core well signal states are indeterminate, un defined, and may glitch prior to pwrok assertion. refer to section 3.3 and section 3.4 for a list of signals that will be determinate before pwrok. figure 23-19. power sequencing and reset signal timings (mobile/ultra mobile only) vccr tc v_cpu_io vc csus3_3 rtcrst# rsmrst# t200 t201 v5ref_sus v5ref pwro k vcc3_3 vc csus1_05 t203 t202 t209 t212 t214 lan_r st# vcclan1_05 vcclan3_3 t207 t208 t205 t211 t206 vcc1_05 and other power 1 vc c1_5_a, vc c1_5_b free datasheet http://www..net/
electrical characteristics 826 intel ? ich7 family datasheet notes: 1. vcc includes vcc1_5_a, vcc1_5_b, vcc 3_3, vcc1_05, vccusb pll, vccdmipll, vccsatapll, and v5ref. figure 23-20. g3 (mechanical off) to s0 timings (desktop only) vccsus1_05 running susclk slp_s3# vcc 1 pwrok vrmpwrgd sus_stat# pltrst# processor i/f signals stpclk#, cpuslp# dmi message rsmrst# lan_rst# t204 t214 t217 t218 t230 t231 t215 (from v_cpu_io) g3 s3 s0 s0 state ich7_g3_to_s0_dt.vsd g3 s5 system state s4 slp_s4# slp_s5# t232 t233 t234 vccsus3_3 strap values normal operation t202 free datasheet http://www..net/
intel ? ich7 family datasheet 827 electrical characteristics notes: 1. vcc includes vcc1_5_a, vcc1_5_b, vcc3_3, vcc1_05, vccusbpll, vccdmipll, vccsatapll, and v5ref. figure 23-21. g3 (mechanical off) to s0 timings (mobile/ultra mobile only) slp_s3# vcc 1 , vcclan pw rok, lan_rst# sus_stat# pltrst# processor i/f signals stpclk#, stp_cpu#, stp_pci#, dpslp#, dprstp# dmi message system state running strap values normal operation t205 t217 t218 t230 t231 t216 s3 s0 s0 state g3 s5 s4 t232 t233 t234 t214 main battery removed (g3) vccsus1_05 susclk rsmrst# slp_s4# slp_s5# ich 7 g 3 t s 0 m bil d vccsus3_3 t202 vrmpwrgd t217 figure 23-22. s0 to s1 to s0 timing (desktop only) t280 t281 t271 t301 s0 s0 s1 s1 s1 s0 s0 state stpclk# dmi message cpuslp# wake event free datasheet http://www..net/
electrical characteristics 828 intel ? ich7 family datasheet notes: 1. vcc includes vcc1_5_a, vcc 1_5_b, vcc3_3, vcc1_05, vccusbpll, vccdmipll, vccsatapll, and v5ref. 2. t294 is applicable when the system transitions from s0 to g3 only. figure 23-23. s0 to s5 to s0 timings, s3 cold (desktop only) stpclk# dmi message sus_stat# pltrst# slp_s3# (s3 cold config) slp_s5# wake event pwrok vcc 1 s0 s0 s3 s3 s5 s0 t283 t284 t287 t289 t294 t214 t217 t218 t215 (from v_cpu_io) t280 ich7_s0_s5_s0_dt_s3cold.vsd slp_s4# t291 t295 t297 t298 s4 s4 s3 s3/s4/s5 s0 t296 t300 t299 vrmpwrgd free datasheet http://www..net/
intel ? ich7 family datasheet 829 electrical characteristics notes: 1. vcc includes vcc1_5_a, vcc1_5_b, vcc3_3, vcc1_05, vccusbpll, vccdmipll, vccsatapll, and v5ref. 2. t293 is applicable when the syst em transitions from s0 to g3 only. figure 23-24. s0 to s5 to s0 timings, s3 hot (desktop only) stpclk# dmi message sus_stat# pltrst# slp_s3# (s3 hot config) slp_s5# wake event pwrok vcc 1 s0 s0 s3 s3 s5 s0 t283 t284 t287 t292 t293 t214 t217 t218 t215 (from v_cpu_io) t280 ich7_s0_s5_s0_dt_s3hot .vsd slp_s4# t291 t295 t297 t298 s4 s4 s3 s3/s4/s5 s0 t296 t300 t299 t302 vrmpwrgd free datasheet http://www..net/
electrical characteristics 830 intel ? ich7 family datasheet notes: 1. t290 is applicable when the system transitions from s0 to g3 only. 2. vcc includes vcc1_5_a, vcc1_5_b, vcc 3_3, vcc1_05, vccusb pll, vccdmipll, vccsatapll, and v5ref. figure 23-25. s0 to s5 to s0 timings, s3 cold (mobile/ultra mobile only) stp_cpu#, dpslp#, dprstp# pltrst# pcirst# slp_s3# (s3 cold board config) slp_s5# wake event pwrok vcc s0 s0 s3 s3 s5 s3/s4/s5 s0 s0 t295 t288 t290 t296 t214 t217 t218 stp_pci# stpclk# dmi message dprslpvr t280 t283 t285 t287 t286 sus_stat# s4 slp_s4# t291 t297 t300 t298 t216 t299 t302 free datasheet http://www..net/
intel ? ich7 family datasheet 831 electrical characteristics notes: 1. t293 is applicable when the syst em transitions from s0 to g3 only. 2. vcc includes vcc1_5_a, vcc1_5_b, vcc3_3, vcc1_05, vccusbpll, vccdmipll, vccsatapll, and v5ref. figure 23-26. s0 to s5 to s0 timings, s3 hot (mobile/ultra mobile only) stp_cpu#, dpslp#, dprstp# pltrst# pcirst# slp_s3# (s3 hot board config) slp_s5# wake event vrmpwrgd vcc s0 s0 s3 s3 s5 s3/s4/s5 s0 s0 t295 t292 t293 t296 t217 t218 stp_pci# stpclk# dmi message dprslpvr t280 t283 t285 t287 t286 sus_stat# s4 slp_s4# t291 t297 t300 t298 t216 t299 t302 figure 23-27. c0 to c2 to c0 timings (mobile/ultra mobile only) unlatched latched unlatched cpu i/f signals stpclk# break event t250 t273 t274 free datasheet http://www..net/
electrical characteristics 832 intel ? ich7 family datasheet figure 23-28. c0 to c3 to c0 timings (mobile/ul tra mobile only) figure 23-29. c0 to c4 to c0 timings (mobile/ul tra mobile only) unlatched latched cpu i/f signals stpclk# c0_c3_timing break event bus master stp_cpu# t250 t253 t268 t269 t274 active idle dpslp# unlatched cpu clocks running running stopped t267 t254 unlatched cpu i/f signals stpclk# c0_c4_timing break event bus master stp_cpu# t250 t253 t266 t269 t274 dprstp# dpslp# active idle dprslpvr unlatched cpu clocks running running t254 t255 cpu vcc t265 stopped t268 latched free datasheet http://www..net/
intel ? ich7 family datasheet 833 electrical characteristics figure 23-30. ac ?97 data input and ou tput timings (desktop and mobile only) figure 23-31. intel ? high definition audio input and output timings v oh v ol acz_sdout acz_sdin[2:0] acz_sync acz_bit_clk v ih v il t142 t141 t140 acz_sdout acz_sdin[2:0] acz_bit_clk t143 t143 t144 t144 t145 t146 free datasheet http://www..net/
electrical characteristics 834 intel ? ich7 family datasheet figure 23-32. spi timings (desktop and mobile only) t182 t182 spi_clk spi_mosi spi_miso t184 t183 t185 spi_cs# t186 t187 free datasheet http://www..net/
intel ? ich7 family datasheet 835 package information 24 package information 24.1 desktop and mobile package information the ich7 package information is shown in figure 24-1 , figure 24-2 , and figure 24-3 . note: all dimensions, unless otherwise specified, are in millimeters figure 24-1. intel ? ich7 package (top view) top view pin #1 identifier 0.127 a // a 0.127 4 places -a- -b- 22.10 ref free datasheet http://www..net/
package information 836 intel ? ich7 family datasheet figure 24-2. intel ? ich7 package (bottom view) bottom view 2 0.50 0.70 corner pin #1 22 ag 1 2 3 ah 12 11 10 9 5 4 8 6 7 19 20 21 13 15 16 14 17 18 u t r p v ad ae af ac ab aa y w g n m l k j h f e d c b a ag 28 ah 23 24 25 26 27 p v ad ae af w y aa ab ac r t u g n h j k l m b c d f e a 22 2 1 3 10 9 11 12 5 4 8 7 6 19 21 20 13 16 15 14 17 18 28 23 24 25 26 27 1 . 0 6 6 8 1 . 0 6 6 8 1.10 ref 0.78 ref 0.78 ref figure 24-3. intel ? ich7 package (side view) side view -c- c // 0.20 0.15 3 seating plane free datasheet http://www..net/
intel ? ich7 family datasheet 837 package information 24.2 ultra mobile package information figure 24-4 is the intel ich7-u package drawing. figure 24-4. intel ic h7-u package drawing free datasheet http://www..net/
package information 838 intel ? ich7 family datasheet free datasheet http://www..net/
intel ? ich7 family datasheet 839 testability (desktop and mobile only) 25 testability (desktop and mobile only) the ich7 supports xor chain test mode. this non-functional test mode is a dedicated test mode when the chip is not operating in its normal manner. the xor chain mode is entered as indicated in figure 25-1 . figure 25-1. xor chain test mode selection, entry and testing req# settings xor chain req[4:1]# = 0000 xor 1 req[4:1]# = 0001 xor 2 req[4:1]# = 0010 xor 3 req[4:1]# = 0011 xor 4 req[4:1]# = 0100 xor 5 req[4:1]# = 0111 all-z pciclk rsmrst# / lan_rst# rtcrst# pwrok chain select (1-5) req[4:1]# acz_sdout / ee_dout xor chain test mode selection, entry and testing notes: rsmrst#, pwrok, rtcrst#, lan_rst# must be held high during test mode and output testing. pciclk & dmi_clk should be approximately 1 mhz while running/toggling tp3 / gpio25 dmi_clk 5ms 10ms run 120 ms run 2 ms dmi_clkp = ?0? dmi_clkn = ?1? toggle held low xor output enabled for chains 4 and 5, all petx[n] signals (of that chain) must be driv en during testing. free datasheet http://www..net/
testability (desktop and mobile only) 840 intel ? ich7 family datasheet xor chain testability algorithm example xor chain testing allows motherboard manufacturers to check component connectivity (e.g., opens and shorts to v cc or gnd). an example algorithm to do this is shown in table 25-1 . in this example, vector 1 applies all 0s to the chain inputs. the outputs being non- inverting will consistently produce a 1 at the xor output on a good board. one short to v cc (or open floating to v cc ) will result in a 0 at the chain output, signaling a defect. likewise, applying vector 7 (all 1s) to the ch ain inputs (given that there are an even number of input signals in the chain), will consistently produce a 1 at the xor chain output on a good board. one short to vss (or open floating to vss) will result in a 0 at the chain output, signaling a defect. it is im portant to note that the number of inputs pulled to 1 will affect the expected chain outp ut value. if the number of chain inputs pulled to 1 is even, then expect 1 at the output. if the number of chain inputs pulled to 1 is odd, expect 0 at the output. continuing with the example in table 25-1 , as the input pins are driven to 1 across the chain in sequence, the xor output will toggle between 0 and 1. any break in the toggling sequence (e.g., ?1011?) will identi fy the location of the short or open. figure 25-2. example xor chain circuitry input pin 2 vcc input pin 1 input pin 3 input pin 4 input pin 5 input pin 6 xor chain output table 25-1. xor test pattern example vector input pin 1 input pin 2 input pin 3 input pin 4 input pin 5 input pin 6 xor output 1 0 0 0 0 0 0 1 2 1 0 0 0 0 0 0 3 1 1 0 0 0 0 1 4 1 1 1 0 0 0 0 5 1 1 1 1 0 0 1 6 1 1 1 1 1 0 0 7 1 1 1 1 1 1 1 free datasheet http://www..net/
intel ? ich7 family datasheet 841 testability (desktop and mobile only) 25.1 xor chain tables table 25-2. xor chain 1 (req[4:1]# = 0000) pin name ball # notes pin name ball # notes acz_sync r6 top of xor chain ad16 e12 30 th signal in xor acz_sdout t4 gnt3# f13 acz_bit_clk u1 trdy# f14 gpio0 (desktop only) / bm_busy# (mobile only) ab18 ad18 d11 gpio16 (desktop only) / dprslpvr (mobile only) ac22 ad26 a8 ad0 e18 gpio1/req5# c8 ad3 f18 ad24 d9 ad1 c18 ad15 g13 ad5 a18 par e10 req[2]# c17 ad22 f10 gnt[2]# d17 ad28 c7 ad6 e17 gpio17/gnt5# d8 ad2 a16 pirqd# b5 req[1]# c16 gnt0# e7 gnt[1]# d16 req[0]# d7 c/be0# b15 pirqb# b4 ad4 e16 gpio4/pirqg# f8 gnt[4]#/gpio48 a14 pirqc# c5 frame# f16 pirqa# a3 ad9 c14 gpio2/pirqe# g8 stop# f15 ad30 e6 req[4]#/gpio22 a13 gpio3/pirqf# f7 ad13 c13 gpio5/pirqh# g7 ad11 d14 acz_sdin2 t1 ad10 e14 acz_sdin0 t2 c/be1# c12 acz_sdin1 t3 req3# e13 acz_rst# r5 ad20 a10 serr# b10 tp0 (desktop only) / batlow# (mobile only) c21 xor chain 1 output free datasheet http://www..net/
testability (desktop and mobile only) 842 intel ? ich7 family datasheet table 25-3. xor chain 2 (req[4:1]# = 0001) pin name ball # notes pin name ball # notes ad7 a17 top of xor chain sata0rxp ae3 27th signal in xor ad8 a15 2nd signal in xor sata0rxn af3 c/be3# c15 sata0txn ag2 devsel# a12 sata0txp ah2 ad14 g15 sata1rxp (desktop only) reserved (mobile only) ad5 ad12 b12 sata1rxn (desktop only) reserved (mobile only) ae5 ad19 a11 sata1txn (desktop only) reserved (mobile only) ag4 c/be2# d12 sata1txp (desktop only) reserved (mobile only) ah4 pciclk a9 satarbias ag10 ad17 c11 satarbias# ah10 ad25 b9 gpio7 ac18 plock# e11 gpio33/ az_dock_en# (mobile only) ac19 perr# c9 gpio32/ (desktop only) / clkrun# (mobile only) ag18 irdy# a7 gpio21/sata0gp af19 ad21 f11 mch_sync# ah20 ad27 a6 thrm# af20 ad23 e9 gpio39 ae20 ad29 b6 gpio38 ad20 ad31 d6 gpio6 ac21 gpio34/ az_dock_rst# (mobile only) u2 gpio35/ sataclkreq# ad21 lframe# ab3 pltrst# c26 lad3 y6 ri# a28 lad0 aa6 tp3 f21 lad1 ab5 pwrbtn# c23 free datasheet http://www..net/
intel ? ich7 family datasheet 843 testability (desktop and mobile only) lad2 ac4 gpio8 e21 ldrq0# ac3 tp0/batlow# c21 el_rsvd (digital home only) / gpio26 a21 gpio2/pirqe# g8 xor chain 2 output table 25-4. xor chain 3 (req[4:1]# = 0010) pin name ball # notes pin name ball # notes intvrmen w4 top of xor chain dcs3# ad16 26th signal in xor intruder# y5 2nd signal in xor da0 ah17 dd6 ad12 da2 af17 dd10 ab13 da1 ae17 dd8 ae12 gpio19/sata1gp ah18 dd7 ac12 init3_3v# ag21 dd9 af12 gpio18 (desktop only) / stp_pci# (mobile only) ac20 dd3 af13 gpio20 (desktop only) / stp_cpu# (mobile only) af21 dd2 ag13 vrmpwrgd ad22 dd5 ac13 rcin# ag23 dd13 ah13 a20gate ae22 dd14 ah14 init# af22 dd4 ad14 nmi ah24 dd11 ac14 gpio49/ cpuprwrgd ag24 dd1 ae14 tp1 (desktop only) / dprstp# (mobile only) af24 dd12 af14 tp2 (desktop only) / dpslp# (mobile only) ah25 dior# af15 intr af25 ddreq ae15 thrmtrip# af26 table 25-3. xor chain 2 (req[4:1]# = 0001) (continued) pin name ball # notes pin name ball # notes free datasheet http://www..net/
testability (desktop and mobile only) 844 intel ? ich7 family datasheet dd15 ac15 cpuslp# ag27 diow# ah15 stpclk# ah22 dd0 ab15 a20m# ah28 ideirq ah16 spkr a19 iordy ag16 oc4# e5 ddack# af16 spi_miso p2 spi_arb p1 spi_mosi p5 spi_cs# p6 spi_clk r2 dcs1# ae16 ri# a28 xor chain 3 output table 25-5. xor chain 4-1 (req[4:1]# = 0011) pin name ball # notes pin name ball # notes dmi3rxp ad24 top of xor chain smlink0 b25 23nd signal in xor dmi3rxn ad25 2nd signal in xor smlink1 a25 dmi3txp ac27 el_state1 (digital home only) / gpio28 e23 dmi3txn ac28 slp_s3# b24 dmi2rxp ab25 slp_s4# d23 dmi2rxn ab26 slp_s5# f22 dmi2txp aa27 gpio15 e22 dmi2txn aa28 smbalert#/ gpio11 b23 perp6 / reserved (intel ? ich7 base) t24 must be driven for all skus including ich7 base smbclk c22 pern6 / reserved (intel ? ich7 base) t25 must be driven for all skus including ich7 base gpio25 d20 petp6 / reserved (intel ? ich7 base) r27 must be driven for all skus including ich7 base wake# f20 table 25-4. xor chain 3 (req[4:1]# = 0010) (continued) pin name ball # notes pin name ball # notes free datasheet http://www..net/
intel ? ich7 family datasheet 845 testability (desktop and mobile only) 2 petn6 / reserved (intel ? ich7 base) r28 must be driven for all skus including ich7 base gpio9 e20 perp4 m25 smbdata b22 pern4 m26 gpio13 e19 petp4 l27 sys_rst# a22 petn4 l28 susclk c20 perp3 k25 el_state0 (digital home only) / gpio27 b21 pern3 k26 gpio12 f19 petp3 j27 gpio10 a20 petn3 j28 pme# b19 linkalert# a26 pcirst# b18 sus_stat# a27 gpio8 e21 xor chain 4-1 output table 25-6. xor chain 4-2 (req[4:1]# = 0011) pin name ball # notes pin name ball # notes oc6#/gpio30 a2 top of xor chain lan_clk v3 30th signal in xor oc7#/gpio31 b3 2nd signal in xor lan_rxd0 u5 oc2# d5 lan_txd0 u7 oc1# c4 lan_rxd1 v4 oc3# d4 ee_shclk y1 oc0# d3 ee_din w3 oc5#/gpio29 c3 lan_txd2 v7 clk48 b2 lan_txd1 v6 usbp0n f1 ee_dout y2 usbp0p f2 clk14 ac1 usbp1n g4 ldrq1#/gpio23 aa5 usbp1p g3 sata2rxp ae7 usbp2n h1 sata2rxn af7 usbp2p h2 sata2txn ag6 usbp3n j4 sata2/txp ah6 usbp3p j3 sata3rxp (desktop only) reserved (mobile only) ae9 table 25-5. xor chain 4-1 (req[4:1]# = 0011) (continued) pin name ball # notes pin name ball # notes free datasheet http://www..net/
testability (desktop and mobile only) 846 intel ? ich7 family datasheet 2 2 usbp4n k1 sata3rxn (desktop only) reserved (mobile only) ad9 usbp4p k2 sata3txn (desktop only) reserved (mobile only) ag8 usbp5n l4 sata3txp (desktop only) reserved (mobile only) ah8 usbp5p l5 sataled# af18 usbp6n m1 gpio37/sata3gp ae19 usbp6p m2 gpio36/sata2gp ah19 usbp7n n4 serirq ah21 usbp7p n3 smi# af23 gpio24 r3 ignne# ag22 gpio14 r4 ferr# ag26 lan_rstsync u3 lan_rxd2 t5 ee_cs w1 pltrst# c26 xor chain 4-2 output table 25-7. xor chain 5 (req[4:1]# = 0100) pin name ball # notes pin name ball # notes dmi1rxp y25 top of xor chain petn5 / reserved (intel ? ich7 base) n28 must be driven for all skus including ich7 base dmi1rxn y26 2nd signal in xor perp2 h25 dmi1txp w27 pern2 h26 dmi1txn w28 petp2 g27 dmi0rxp v25 petn2 g28 dmi0rxn v26 perp1 f25 dmi0txp u27 pern1 f26 dmi0txn u28 petp1 e27 table 25-6. xor chain 4-2 (req[4:1]# = 0011) (continued) pin name ball # notes pin name ball # notes free datasheet http://www..net/
intel ? ich7 family datasheet 847 testability (desktop and mobile only) perp5 / reserved (intel ? ich7 base) p25 must be driven for all skus including ich7 base petn1 e28 pern5 / reserved (intel ? ich7 base) p26 must be driven for all skus including ich7 base petp5 / reserved (intel ? ich7 base) n27 must be driven for all skus including ich7 baes gpio2/pirqe# g8 xor chain 5 output table 25-7. xor chain 5 (req[4:1]# = 0100) (continued) pin name ball # notes pin name ball # notes free datasheet http://www..net/
testability (desktop and mobile only) 848 intel ? ich7 family datasheet free datasheet http://www..net/


▲Up To Search▲   

 
Price & Availability of 82801GB

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X